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