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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
        .text
2
        .global bitclr
3
bitclr:
4
        bitclr(r4, 31);
5
        bitCLR (r0, 0);
6
 
7
        .text
8
        .global bitset
9
bitset:
10
        BITSET(R2, 30);
11
        BiTsET (r3, 29);
12
 
13
        .text
14
        .global bittgl
15
bittgl:
16
        bitTGL(r7, 22);
17
        BITtgl (r6, 16);
18
 
19
        .text
20
        .global bittst
21
bittst:
22
        cc = bittst (r0, 31);
23
        CC = BITTST (r1, 0);
24
        cC = BittST (r7, 15);
25
 
26
        .text
27
        .global deposit
28
deposit:
29
        R5 = Deposit (r3, r2);
30
        r0 = DEPOSIT (r7, R6) (X);
31
 
32
        .text
33
        .global extract
34
extract:
35
        r4 = extract (r2, r1.L) (z);
36
        R2 = EXTRACT (r0, r2.l) (Z);
37
 
38
        r7 = ExtracT (r3, r4.L) (X);
39
        r5 = ExtRACt (R6, R1.L) (x);
40
 
41
        .text
42
        .global bitmux
43
bitmux:
44
        BITMUX(R1, R0, A0) (ASR);
45
        Bitmux (r2, R3, a0) (aSr);
46
 
47
        bitmux (r4, r5, a0) (asl);
48
        BiTMux (R7, r6, a0) (ASl);
49
 
50
        .text
51
        .global ones
52
ones:
53
        R5.l = ones r0;
54
        r7.L = Ones R2;

powered by: WebSVN 2.1.0

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