Update
[gdb.git] / sim / testsuite / d10v-elf / t-msbu.s
blob04276cc25d952c39fd891d8e8c7e869a27376b28
1 .include "t-macros.i"
3 start
5 ;; clear FX
6 ldi r2, #0x8005
7 mvtc r2, cr0
9 loadacc2 a1 0x7f 0xffff 0xffff
10 ldi r8, 0xffff
11 ldi r9, 0x8001
12 test_msbu1:
13 MSBU a1, r9, r8
14 checkacc2 1 a1 0X7F 0x7FFF 0x8000
17 ;; set FX
18 ldi r2, #0x8085
19 mvtc r2, cr0
21 loadacc2 a1 0x7f 0xffff 0xffff
22 ldi r8, 0xffff
23 ldi r9, 0x8001
24 test_msbu2:
25 MSBU a1, r9, r8
26 checkacc2 2 a1 0X7E 0xFFFF 0x0001
28 exit0