gas/
* testsuite/gas/riscv/extended/extended.exp: Updated.
* testsuite/gas/riscv/extended/float16.s: Minor fix for sNaNh.
* testsuite/gas/riscv/extended/float16-le.d: Updated and renamed
from float16.d.
* testsuite/gas/riscv/extended/float16-be.d: New testcase.
run_dump_tests "vector-insns-fail-permutation"
run_dump_tests "vector-insns-fail-zvamo"
run_dump_tests "fp-zfh-insns"
- run_dump_tests "float16"
+ run_dump_tests "float16-le"
+ run_dump_tests "float16-be"
run_dump_tests "extended-csr"
}
--- /dev/null
+# source: float16.s
+# objdump: -sj .data
+# as: -mbig-endian
+
+.*:[ ]+file format .*bigriscv
+
+Contents of section \.data:
+ 0000 4a002fdf 1c197bff 000103ff 04003c00.*
+ 0010 3c017fff 7c00fc00 00008000 bc00bbe7.*
+ 0020 fbff4200 4a00603e 7e007c01.*
# source: float16.s
# objdump: -sj .data
-# as:
+# as: -mlittle-endian
-.*:[ ]+file format .*
+.*:[ ]+file format .*littleriscv
Contents of section \.data:
0000 004adf2f 191cff7b 0100ff03 0004003c.*
0010 013cff7f 007c00fc 00000080 00bce7bb.*
- 0020 fffb0042 004a3e60 007e017e.*
+ 0020 fffb0042 004a3e60 007e017c.*
.float16 -65504
.float16 3.0, 12.0, 543.123
.float16 0h:7e00 # qNaNh
- .float16 0h:7e01 # sNaNh
+ .float16 0h:7c01 # sNaNh