repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
RISC-V: Cleanup the imply code and test cases for vendor xsf extensions.
[binutils-gdb.git]
/
sim
/
testsuite
/
frv
/
callil.cgs
blob
eac63e86a491f7c2cd292d37a928787ef1fdfcd7
1
# frv testcase for callil @($GRi,$d12),$LI
2
# mach: all
3
4
.include "testutils.inc"
5
6
start
7
8
.global callil
9
callil:
10
set_gr_addr ok2,gr8
11
inc_gr_immed -2047,gr8
12
callil @(gr8,0x7ff)
13
bad2:
14
fail
15
ok2:
16
test_spr_addr bad2,lr
17
18
set_gr_addr ok3,gr8
19
inc_gr_immed 2048,gr8
20
callil @(gr8,-2048)
21
bad3:
22
fail
23
ok3:
24
test_spr_addr bad3,lr
25
26
pass