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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [bfin/] [logical.s] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
        .text
2
        .global and
3
and:
4
        r7 = r0 & r1;
5
        R2 = R3 & R3;
6
        r6 = r1 & R2;
7
 
8
        .text
9
        .global not
10
not:
11
        r0 = ~R1;
12
        R1 = ~r2;
13
        r3 = ~r4;
14
        R4 = ~R5;
15
 
16
        .text
17
        .global or
18
or:
19
        r0 = r0 | r1;
20
        r2 = R3 | R4;
21
        R5 = r6 | R7;
22
 
23
        .text
24
        .global xor
25
xor:
26
        r5 = r5 ^ r3;
27
        r4 = R2 ^ r0;
28
        R0 = R1 ^ R0;
29
 
30
 
31
        .text
32
        .global bxor
33
bxor:
34
        R7.l = CC = bxor (a0, r0);
35
        r7.l = cc = BXOR (A0, R1);
36
 
37
        r5.L = Cc = BxoR (A0, A1, CC);
38
        R4.L = cC = bXor (a0, a1, cc);
39
 
40
        .text
41
        .global bxorshift
42
bxorshift:
43
        r3.l = cc = bxorshift (a0, R7);
44
        R2.l = cC = BxoRsHIft (A0, R2);
45
 
46
        A0 = BXORSHIFT (A0, A1, CC);
47
        a0 = BxorShift (a0, A1, Cc);
48
 
49
 
50
 
51
 

powered by: WebSVN 2.1.0

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