projects
/
deliverable
/
binutils-gdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
* Contribute Hitachi SH5 simulator.
[deliverable/binutils-gdb.git]
/
sim
/
testsuite
/
sim
/
sh64
/
media
/
maddl.cgs
1
# sh testcase for madd.l $rm, $rn, $rd -*- Asm -*-
2
# mach: all
3
# as: -isa=shmedia
4
# ld: -m shelf64
5
6
.include "media/testutils.inc"
7
8
start
9
10
init:
11
pta wrong, tr0
12
13
maddl:
14
# Load { 1 2 } into r0.
15
_packl 1, 2, r0
16
# Load { 3 4 } into r1.
17
_packl 3, 4, r1
18
19
# Add slices to produce { 4 6 }.
20
madd.l r0, r1, r2
21
22
_packl 4, 6, r3
23
bne r2, r3, tr0
24
25
okay:
26
pass
27
28
wrong:
29
fail
This page took
0.030694 seconds
and
4
git commands to generate.