RISC-V: Cleanup the imply code and test cases for vendor xsf extensions.
[binutils-gdb.git] / sim / testsuite / frv / calll.cgs
blobeee73bc2a9737e85ac0dd4e6dc7858a05eae32a3
1 # frv testcase for calll @($GRi,$GRj)
2 # mach: all
4         .include "testutils.inc"
6         start
8         .global calll
9 calll:
10         set_gr_addr     ok2,gr8
11         inc_gr_immed    -4,gr8
12         inc_gr_immed    4,gr9
13         calll           @(gr8,gr9)
14 bad2:
15         fail
16 ok2:
17         test_spr_addr   bad2,lr
19         set_gr_addr     ok3,gr8
20         inc_gr_immed    4,gr8
21         set_gr_immed    -4,gr9
22         calll           @(gr8,gr9)
23 bad3:
24         fail
25 ok3:
26         test_spr_addr   bad3,lr
28         pass