RISC-V: Cleanup the imply code and test cases for vendor xsf extensions.
[binutils-gdb.git] / sim / testsuite / frv / fdabss.cgs
blob83d3e1c723e4855fdb7e97d59ff960e979443c4c
1 # frv testcase for fdabss $FRj,$FRk
2 # mach: frv
4         .include "testutils.inc"
6         float_constants
7         start
8         load_float_constants
10         .global fdabss
11 fdabss:
12         set_fr_fr       fr8,fr1
13         fdabss          fr0,fr2
14         test_fr_fr      fr2,fr52
15         test_fr_fr      fr3,fr28
16         set_fr_fr       fr24,fr13
17         fdabss          fr12,fr2
18         test_fr_fr      fr2,fr24
19         test_fr_fr      fr3,fr24
20         set_fr_fr       fr52,fr29
21         fdabss          fr28,fr2
22         test_fr_fr      fr2,fr28
23         test_fr_fr      fr3,fr52
25         pass