OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [ld/] [testsuite/] [ld-h8300/] [relax-5.s] - Blame information for rev 156

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
; Relaxation is possible from @aa:32 to @aa:16 for following instructions
2
; ldc.w @@aa:32,ccr 
3
; stc.w ccr,@@aa:32
4
; ldc.w @aa:32,exr
5
; stc.w exr,@aa:32
6
        .h8300s
7
        .globl  _start
8
;
9
; Relaxation of aa:32
10
;
11
    _start:
12
        ldc  @s1:32,ccr
13
        ldc  @s2:32,ccr
14
        ldc  @s3:32,ccr
15
        ldc  @s4:32,ccr
16
        ldc  @s5:32,ccr
17
        ldc  @s6:32,ccr
18
        ldc  @s7:32,ccr
19
        ldc  @s8:32,ccr
20
        ldc  @s9:32,ccr
21
        ldc  @s10:32,ccr
22
 
23
        stc  ccr,@s1:32
24
        stc  ccr,@s2:32
25
        stc  ccr,@s3:32
26
        stc  ccr,@s4:32
27
        stc  ccr,@s5:32
28
        stc  ccr,@s6:32
29
        stc  ccr,@s7:32
30
        stc  ccr,@s8:32
31
        stc  ccr,@s9:32
32
        stc  ccr,@s10:32
33
 
34
        ldc  @s1:32,exr
35
        ldc  @s2:32,exr
36
        ldc  @s3:32,exr
37
        ldc  @s4:32,exr
38
        ldc  @s5:32,exr
39
        ldc  @s6:32,exr
40
        ldc  @s7:32,exr
41
        ldc  @s8:32,exr
42
        ldc  @s9:32,exr
43
        ldc  @s10:32,exr
44
 
45
        stc  exr,@s1:32
46
        stc  exr,@s2:32
47
        stc  exr,@s3:32
48
        stc  exr,@s4:32
49
        stc  exr,@s5:32
50
        stc  exr,@s6:32
51
        stc  exr,@s7:32
52
        stc  exr,@s8:32
53
        stc  exr,@s9:32
54
        stc  exr,@s10:32
55
 
56
        .equ    s1,0
57
        .equ    s2,0x7fff
58
        .equ    s3,0x8000
59
        .equ    s4,0xff00
60
        .equ    s5,0xffff00
61
        .equ    s6,0xffff7fff
62
        .equ    s7,0xffff8000
63
        .equ    s8,0xfffffeff
64
        .equ    s9,0xffffff00
65
        .equ    s10,0xffffffff
66
        .end

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.