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
Automatic date update in version.in
[binutils-gdb.git]
/
sim
/
testsuite
/
frv
/
add.cgs
blob
54fdfd5daa49ad42f0737ee25e888cb0aac95188
1
# frv testcase for add $GRi,$GRj,$GRk
2
# mach: all
3
4
.include "testutils.inc"
5
6
start
7
8
.global add
9
add:
10
set_gr_immed 1,gr7
11
set_gr_immed 2,gr8
12
add gr7,gr8,gr8
13
test_gr_immed 3,gr8
14
15
set_gr_limmed 0x7fff,0xffff,gr7
16
set_gr_immed 1,gr8
17
add gr7,gr8,gr8
18
test_gr_limmed 0x8000,0x0000,gr8
19
20
add gr8,gr8,gr8
21
test_gr_immed 0,gr8
22
23
pass