[PATCH] RISC-V: Mark fgt.*/fge.* as instruction alias

Jan Beulich jbeulich@suse.com
Tue Apr 29 08:03:39 GMT 2025


On 29.04.2025 09:28, Nelson Chu wrote:
> Umm I think it's similar to the
> commit 839189bc932ea02c9647a3ad829dda72f8a9562c,
> RISC-V: re-arrange opcode table for consistent alias handling
> 
> If we mark the instruction as the alias, then it should be moved to the
> top, and then prioritize dump to the alias.  Otherwise should pass
> -Mno-aliases to the dis-assembler.  So if fgt is the alias of flt, then we
> probably should dump flt to fgt by default.

That's also an option, but I think the two kinds of aliases (assembler-
only vs disassembler-too) warrant the slightly different arrangement in
the opcode table for cases like the ones here.

Jan


More information about the Binutils mailing list