New sim testsuite for Fujitsu FRV. Contributed by Red Hat.
[deliverable/binutils-gdb.git] / sim / testsuite / sim / frv / fr400 / mhsethis.cgs
1 # frv testcase for mhsethis $s12,$FRk
2 # mach: all
3
4 .include "../testutils.inc"
5
6 start
7
8 .global mhsethis
9 mhsethis:
10 set_fr_immed 0,fr1
11 mhsethis 0,fr1
12 test_fr_iimmed 0,fr1
13 mhsethis 1,fr1
14 test_fr_iimmed 0x00010000,fr1
15 mhsethis 0x7ff,fr1
16 test_fr_iimmed 0x07ff0000,fr1
17 mhsethis -2048,fr1
18 test_fr_iimmed 0xf8000000,fr1
19
20 ; Try parallel set of hi and lo at the same time
21 mhsethis.p 1,fr1
22 mhsetlos 2,fr1
23 test_fr_iimmed 0x00010002,fr1
24
25 pass
This page took 0.029062 seconds and 4 git commands to generate.