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
/
mips
/
r2-fpu.s
blob
1001f933c97398cfaea5b7ebf942dee7d9e664e5
1
# mips r2 fpu tests
2
# mach: mips32r2 mips64r2
3
# as: -mabi=eabi
4
# ld: -N -Ttext=0x80010000
5
# output: *\\npass\\n
6
7
.include
"testutils.inc"
8
9
setup
10
11
.set noreorder
12
13
.ent DIAG
14
15
DIAG
:
16
writemsg
"[1] Test qNaN format is 754-1985"
17
li
$
6
,
0x7fbfffff
18
mtc1 $
0
,
$
f2
19
mtc1 $
0
,
$
f4
20
div.
s $
f6
,
$
f2
,
$
f4
21
mfc1 $
8
,
$
f6
22
beq
$
8
,
$
6
,
L1
23
nop
24
fail
25
26
L1
:
27
#TODO: More tests?
28
29
pass
30
31
.end DIAG