ld: Move the .note.build-id section to near the start of the memory map.
[binutils-gdb.git] / sim / testsuite / bfin / sign.s
blob072263e3fd4bcb505378b4affcacae910ae93b76
1 # Blackfin testcase for signbits
2 # mach: bfin
4 .include "testutils.inc"
6 start
8 .macro check_alu_signbits areg:req
9 \areg = 0;
10 R0 = 0x10 (Z);
11 \areg\().x = R0;
13 imm32 r0, 0x60038;
15 R0.L = SIGNBITS \areg;
17 imm32 r1, 0x6fffa;
18 CC = R1 == R0;
19 if ! CC jump 1f;
20 .endm
22 check_alu_signbits A0
23 check_alu_signbits A1
25 pass
27 fail