https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82277

            Bug ID: 82277
           Summary: [RISCV] fmv.w.x and fmv.x.w opcodes are not recognised
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asb at lowrisc dot org
  Target Milestone: ---

The RISC-V 2.2 user-level ISA specification renamed fmv.s.x and fmv.x.s to
fmv.w.x and fmv.x.w respectively. gas doesn't recognise these mnemonics.
Additionally, objdump should probably prefer to print the new names in
preference to the old.

$ cat f.s 
fmv.x.w a2, fs7
fmv.x.s a2, fs7
fmv.w.x ft1, a6
fmv.s.x ft1, a6

$ ./riscv32-unknown-elf-as -march=rv32if f.s 
f.s: Assembler messages:
f.s:1: Error: unrecognized opcode `fmv.x.w a2,fs7'
f.s:3: Error: unrecognized opcode `fmv.w.x ft1,a6'

Reply via email to