Initial revision
[binutils.git] / gas / testsuite / gas / d30v / bittest.l
blob75d1b7ed544549a431168bc56f07b9bd874aedf9
1 .*: Assembler messages:
2 .*: Warning: Swapping instruction order
3 .*: Warning: Executing bset in IU may not work
4 .*: Warning: Executing btst in IU may not work
5 .*: Warning: Executing bclr in IU may not work
6 .*: Warning: Executing bnot in IU may not work
7 .*: Warning: Executing bset in IU may not work
8 .*: Warning: Swapping instruction order
9 GAS LISTING .*
12    1                    # bittest.s
13    2                    #
14    3                    # Bit operation instructions \(BCLR, BNOT, BSET, BTST\) should not be placed in IU.
15    4                    # If the user specifically indicates they should be in the IU, GAS will
16    5                    # generate warnings. The reason why this is not an error is that those instructions 
17    6                    # will fail in IU only occasionally. Thus GAS should pack them in MU for
18    7                    # safety, and it just needs to draw attention when a violation is given. 
19    8                    
20    9                            
21   10 0000 00F00000              nop -> ldw R1, @\(R2,R3\)
22   10      84401083 
23   11 0008 04406144              nop || ldw R6, @\(R5,R4\)
24 .*  Warning:Swapping instruction order
25   11      00F00000 
26   12                            
27   13 0010 00F00000              nop -> BSET R1, R2, R3 
28 .*  Warning:Executing bset in IU may not work
29   13      82201083 
30   14 0018 80F00000              nop <- BTST F1, R2, R3 
31 .*  Warning:Executing btst in IU may not work
32   14      02001083 
33   15 0020 00F00000              nop || BCLR R1, R2, R3
34 .*  Warning:Executing bclr in IU may not work
35   15      02301083 
36   16 0028 00F00000              nop -> BNOT R1, R2, R3
37 .*  Warning:Executing bnot in IU may not work
38   16      82101083 
39   17 0030 02101083              BNOT r1, r2, r3 -> nop
40   17      80F00000 
41   18                            
42   19 0038 047C0105              bset r1, r2, r3 || moddec r4, 5
43 .*  Warning:Swapping instruction order
44   19      02201083 
45   20                    
46   21                            bset r1, r2, r3
47   22 0040 02201083              moddec r4, 5
48   22      847C0105 
49   23                    
50   24                            bset r1, r2, r3
51   25 0048 02201083              joinll r4, r5, r6
52   25      88C04146 
53   26                    
54   27                            joinll r4, r5, r6
55   28 0050 82201083              bset r1, r2, r3
56   28      08C04146