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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [gas/] [testsuite/] [gas/] [bfin/] [move.s] - Blame information for rev 304

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

Line No. Rev Author Line
1 205 julius
        .text
2
        .global move_register
3
move_register:
4
        r7 = A0.X;
5
        Fp = B3;
6
        l2 = R5;
7
        M2 = i2;
8
        a1.w = usp;
9
        r0 = astat;
10
        r1 = sEQstat;
11
        R2 = SYScfg;
12
        R3 = reti;
13
        R4 = RETX;
14
        r5 = reTN;
15
        r6 = rETe;
16
        R7 = RETS;
17
        R5 = lc0;
18
        r4 = Lc1;
19
        r3 = Lt0;
20
        r2 = LT1;
21
        r1 = Lb0;
22
        r0 = LB1;
23
        R2 = Cycles;
24
        R3 = Cycles2;
25
        r1 = emudat;
26
        Rets = Fp;
27
        Lt1 = USP;
28
        ASTAT = P2; 
29
        A0 = A1;
30
        a1 = a0;
31
        a0 = R0;
32
        A1 = r1;
33
 
34
        R4 = A0 (fu);
35
        r5 = A1 (ISS2);
36
        R6 = a0;
37
        R7 = A1;
38
        R6 = A0, R7 = a1;
39
        r1 = a1, r0 = a0 (fu);
40
 
41
        .text
42
        .global move_conditional
43
move_conditional:
44
        if cc R5 = P2;
45
        if !cc Sp = R0;
46
 
47
        .text
48
        .global move_half_to_full_zero_extend
49
move_half_to_full_zero_extend:
50
        R2 = r7.L (Z);
51
        r0 = R1.L (z);
52
 
53
        .text
54
        .global move_half_to_full_sign_extend
55
move_half_to_full_sign_extend:
56
        R5 = R1.L (x);
57
        r3 = r2.L (X);
58
 
59
        .text
60
        .global move_register_half
61
move_register_half:
62
        A0.X = r5.l;
63
        a1.X = r2.L;
64
        r0.l = a0.x;
65
        R7.l = A1.X;
66
        A0.L = r3.l;
67
        a1.l = r4.l;
68
        A0.h = r6.H;
69
        A1.H = r5.h;
70
        r0.l = A0 (iu);
71
        R1.H = A1 (s2rnd);
72
        r1.h = a1;
73
        R2.l = A0, r2.H = A1 (IH);
74
        R2.l = A0, r2.H = A1;
75
        r0.H = A1, R0.L = a0 (t);
76
        r0.H = A1, R0.L = a0 (fu);
77
        r0.H = A1, R0.L = a0 (is);
78
        r0.H = A1, R0.L = a0;
79
 
80
        .text
81
        .global move_byte_zero_extend
82
move_byte_zero_extend:
83
        R7 = r2.b (z);
84
        r0 = R1.B (Z);
85
 
86
        .text
87
        .global move_byte_sign_extend
88
move_byte_sign_extend:
89
        r6 = r1.b (Z);
90
        R5 = R4.B (z);

powered by: WebSVN 2.1.0

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