You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit adds support for rounding modes on widening instructions to
the assembler/disassembler.
On the disassembler, non-default rounding mode is displayed when
"no-aliases" option is given or the rounding mode itself is invalid.
On the assembler, specifying such rounding modes is prohibited unless
we have supported in the past.
gas/ChangeLog:
* config/tc-riscv.c (validate_riscv_insn): Add rounding mode
support to widening instructions.
(riscv_ip): Likewise.
* testsuite/gas/riscv/rounding-dis-widening.d: New disasm test.
* testsuite/gas/riscv/rounding-dis-widening.s: Likewise.
* testsuite/gas/riscv/rounding-dis-widening-na.d: Likewise.
* testsuite/gas/riscv/rounding-fail.d: Add testcases for widening
instructions.
* testsuite/gas/riscv/rounding-fail.l: Likewise.
* testsuite/gas/riscv/rounding-fail.s: Likewise.
* testsuite/gas/riscv/rounding-fcvt.q.l.d: New test.
* testsuite/gas/riscv/rounding-fcvt.q.l.l: Likewise.
* testsuite/gas/riscv/rounding-fcvt.q.l.s: Likewise.
* testsuite/gas/riscv/rounding-fcvt.q.l-na.d: Likewise.
opcodes/ChangeLog:
* riscv-dis.c (print_insn_args): Add rounding mode support to
widening instructions.
* riscv-opc.c (riscv_opcodes): Use new operand types.
Idea-by: Tsukasa OI <[email protected]>
Idea-by: S Pawan Kumar <[email protected]>
0 commit comments