]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/testsuite/gas/i860/bitwise.s
daily update
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / i860 / bitwise.s
CommitLineData
371409b0
JE
1# and, andh, andnot, andnoth, or, orh, xor, xorh
2
3 .text
4
5 # Register forms (high variants do not have register forms).
6 and %r0,%r1,%r2
7 and %r3,%r4,%r5
8 and %r6,%r7,%r8
9 and %r9,%r10,%r11
10 and %r12,%r13,%r14
11 and %r15,%r16,%r17
12 and %r18,%r19,%r20
13 and %r21,%r22,%r23
14 and %r24,%r25,%r26
15 and %r27,%r28,%r29
16 and %r30,%r31,%r0
17
18 andnot %r0,%r1,%r2
19 andnot %r3,%r4,%r5
20 andnot %r6,%r7,%r8
21 andnot %r9,%r10,%r11
22 andnot %r12,%r13,%r14
23 andnot %r15,%r16,%r17
24 andnot %r18,%r19,%r20
25 andnot %r21,%r22,%r23
26 andnot %r24,%r25,%r26
27 andnot %r27,%r28,%r29
28 andnot %r30,%r31,%r0
29
30 or %r0,%r1,%r2
31 or %r3,%r4,%r5
32 or %r6,%r7,%r8
33 or %r9,%r10,%r11
34 or %r12,%r13,%r14
35 or %r15,%r16,%r17
36 or %r18,%r19,%r20
37 or %r21,%r22,%r23
38 or %r24,%r25,%r26
39 or %r27,%r28,%r29
40 or %r30,%r31,%r0
41
42 xor %r0,%r1,%r2
43 xor %r3,%r4,%r5
44 xor %r6,%r7,%r8
45 xor %r9,%r10,%r11
46 xor %r12,%r13,%r14
47 xor %r15,%r16,%r17
48 xor %r18,%r19,%r20
49 xor %r21,%r22,%r23
50 xor %r24,%r25,%r26
51 xor %r27,%r28,%r29
52 xor %r30,%r31,%r0
53
54 # Immediate forms (all)
55 and 0,%r1,%r2
56 and 8192,%r4,%r5
57 and 5109,%r7,%r8
58 and 32768,%r10,%r11
59 and 65000,%r13,%r14
60 and 65535,%r16,%r17
61 and 0xffff,%r19,%r20
62 and 0xabcd,%r22,%r23
63 and 0x1234,%r25,%r26
64 and 0x0,%r28,%r29
65 and 0x3,%r31,%r0
66
67 andh 1,%r1,%r2
68 andh 8193,%r4,%r5
69 andh 5110,%r7,%r8
70 andh 32769,%r10,%r11
71 andh 65001,%r13,%r14
72 andh 65535,%r16,%r17
73 andh 0xffff,%r19,%r20
74 andh 0xabcd,%r22,%r23
75 andh 0x1234,%r25,%r26
76 andh 0x0,%r28,%r29
77 andh 0x3,%r31,%r0
78
79 andnot 0,%r1,%r2
80 andnot 8192,%r4,%r5
81 andnot 5109,%r7,%r8
82 andnot 32768,%r10,%r11
83 andnot 65000,%r13,%r14
84 andnot 65535,%r16,%r17
85 andnot 0xffff,%r19,%r20
86 andnot 0xabcd,%r22,%r23
87 andnot 0x1234,%r25,%r26
88 andnot 0x0,%r28,%r29
89 andnot 0x3,%r31,%r0
90
91 andnoth 1,%r1,%r2
92 andnoth 8193,%r4,%r5
93 andnoth 5110,%r7,%r8
94 andnoth 32769,%r10,%r11
95 andnoth 65001,%r13,%r14
96 andnoth 65535,%r16,%r17
97 andnoth 0xffff,%r19,%r20
98 andnoth 0xabcd,%r22,%r23
99 andnoth 0x1234,%r25,%r26
100 andnoth 0x0,%r28,%r29
101 andnoth 0x3,%r31,%r0
102
103 or 0,%r1,%r2
104 or 1,%r4,%r5
105 or 2,%r7,%r8
106 or 3,%r10,%r11
107 or 65000,%r13,%r14
108 or 65535,%r16,%r17
109 or 0xffff,%r19,%r20
110 or 0xabcd,%r22,%r23
111 or 0x1234,%r25,%r26
112 or 0x0,%r28,%r29
113 or 0x3,%r31,%r0
114
115 orh 0,%r1,%r2
116 orh 1,%r4,%r5
117 orh 2,%r7,%r8
118 orh 3,%r10,%r11
119 orh 65000,%r13,%r14
120 orh 65535,%r16,%r17
121 orh 0xffff,%r19,%r20
122 orh 0xabcd,%r22,%r23
123 orh 0x1234,%r25,%r26
124 orh 0x0,%r28,%r29
125 orh 0x3,%r31,%r0
126
127 xor 0,%r1,%r2
128 xor 1,%r4,%r5
129 xor 2,%r7,%r8
130 xor 3,%r10,%r11
131 xor 65000,%r13,%r14
132 xor 65535,%r16,%r17
133 xor 0xffff,%r19,%r20
134 xor 0xabcd,%r22,%r23
135 xor 0x1234,%r25,%r26
136 xor 0x0,%r28,%r29
137 xor 0x3,%r31,%r0
138
139 xorh 0,%r1,%r2
140 xorh 1,%r4,%r5
141 xorh 2,%r7,%r8
142 xorh 3,%r10,%r11
143 xorh 65000,%r13,%r14
144 xorh 65535,%r16,%r17
145 xorh 0xffff,%r19,%r20
146 xorh 0xabcd,%r22,%r23
147 xorh 0x1234,%r25,%r26
148 xorh 0x0,%r28,%r29
149 xorh 0x3,%r31,%r0
150