1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
# sh testcase for fcnvsd -*- Asm -*- # mach: all # as: -isa=shcompact # ld: -m shelf32 .include "compact/testutils.inc" start fldi1 fr0 flds fr0, fpul _setpr fcnvsd fpul, dr2 _clrpr # Convert back. _setpr fcnvds dr2, fpul _clrpr fsts fpul, fr1 fcmp/eq fr0, fr1 bf wrong okay: pass wrong: fail