Commit | Line | Data |
---|---|---|
f5587846 ILT |
1 | # Source file used to test the and macro. |
2 | ||
3 | foo: | |
4 | and $4,$4,0 | |
5 | and $4,$4,1 | |
6 | and $4,$4,0x8000 | |
7 | and $4,$4,-0x8000 | |
8 | and $4,$4,0x10000 | |
9 | and $4,$4,0x1a5a5 | |
10 | ||
11 | # nor, or, and xor are handled by the same code. There is a special | |
12 | # case for nor, so we test all variants. | |
13 | ||
14 | nor $4,$5,0 | |
15 | nor $4,$5,1 | |
16 | nor $4,$5,0x8000 | |
17 | nor $4,$5,-0x8000 | |
18 | nor $4,$5,0x10000 | |
19 | nor $4,$5,0x1a5a5 | |
20 | ||
21 | or $4,$5,0 | |
22 | ||
23 | xor $4,$5,0 |