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