Skip to content

Commit f673b35

Browse files
committed
RISC-V: Reorganize invalid rounding mode test
This commit reorganizes and adds testcases to invalid rounding mode operand test. gas/ChangeLog: * testsuite/gas/riscv/rounding-fail.s: Enhance test cases. * testsuite/gas/riscv/rounding-fail.l: Likewise.
1 parent 6de11ff commit f673b35

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
.*: Assembler messages:
22
.*: Error: illegal operands `fadd.s fa1,fa1,fa1,'
33
.*: Error: illegal operands `fadd.d fa1,fa1,fa1,'
4+
.*: Error: illegal operands `fadd.s fa1,fa1,fa1,unknown'
5+
.*: Error: illegal operands `fadd.d fa1,fa1,fa1,unknown'
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
target:
2+
# Empty rounding mode
23
fadd.s fa1,fa1,fa1,
34
fadd.d fa1,fa1,fa1,
5+
# Invalid rounding mode
6+
fadd.s fa1,fa1,fa1,unknown
7+
fadd.d fa1,fa1,fa1,unknown

0 commit comments

Comments
 (0)