Automatic date update in version.in
[binutils-gdb.git] / sim / testsuite / frv / mwtacc.cgs
blob20b4d31885bc618d5d21fcfa0a7d51bf256964ee
1 # frv testcase for mwtacc $FRinti,$ACC40k
2 # mach: all
4         .include "testutils.inc"
6         start
8         .global mwtacc
9 mwtacc:
10         test_accg_immed 0x00,accg0
11         test_acc_immed  0x00000000,acc0
13         set_fr_iimmed   0xdead,0xbeef,fr10
14         mwtacc          fr10,acc0
15         test_accg_immed 0x00,accg0
16         test_acc_immed  0xdeadbeef,acc0
18         set_fr_iimmed   0x1234,0x5678,fr10
19         mwtacc          fr10,acc0
20         test_accg_immed 0x00,accg0
21         test_acc_immed  0x12345678,acc0
23         pass