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
Add an option with a color type.
[binutils-gdb.git]
/
sim
/
testsuite
/
cr16
/
ashud_i.cgs
blob
3beb4e357203a07355e0ecfe2f7d430bf5245a96
1
# cr16 testcase for ashud $sr,$dr
2
# mach(): cr16
3
4
.include "testutils.inc"
5
6
start
7
8
.global ashud
9
ashud:
10
11
movd $0xf1234567, (r4,r3)
12
ashud $20, (r4,r3)
13
14
cmpd $0x56700000, (r4,r3)
15
beq ok
16
not_ok:
17
fail
18
ok:
19
movd $0xf1234567, (r4,r3)
20
ashud $-20, (r4,r3)
21
22
test_h_grp "(r4,r3)", -238
23
24
pass