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
/
fsqrts.cgs
blob
e771c40b070f0c8668826390a1de3fe60143b820
1
# frv testcase for fsqrts $FRj,$FRk
2
# mach: fr500 fr550 frv
3
4
.include "testutils.inc"
5
6
float_constants
7
start
8
load_float_constants
9
10
.global fsqrts
11
fsqrts:
12
fsqrts fr44,fr1 ; 9.0
13
test_fr_fr fr1,fr36 ; 3.0
14
15
set_fr_iimmed 0x4049,0x0fdb,fr10 ; 3.141592654
16
fsqrts fr10,fr10
17
test_fr_iimmed 0x3fe2dfc5,fr10 ; 1.7724539
18
19
pass