projects
/
external
/
binutils.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* Contribute Hitachi SH5 simulator.
[external/binutils.git]
/
sim
/
testsuite
/
sim
/
sh64
/
media
/
ftrcsq.cgs
1
# sh testcase for ftrc.sq $frgh, $drf -*- 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
ftrcsq:
14
movi -9, r0
15
fmov.ls r0, fr0
16
float.ls fr0, fr0
17
ftrc.sq fr0, dr2
18
fmov.dq dr2, r1
19
bne r0, r1, tr0
20
21
okay:
22
pass
23
24
wrong:
25
fail