P.S. Follow up to my last post

Jan Beulich jbeulich@suse.com
Fri Aug 25 12:00:50 GMT 2023


On 25.08.2023 13:52, jacob navia wrote:
> The lack of the Ebb instructions is CRUCIAL for performance when accessing tables / arrays!
> This instructions allow to combine an addition and a shift by 1, 2 or 3, to access tables of shorts, ints or doubles.
> This speeds up the access to tables enormously and would allow gcc to generate much better code.

Since you're writing to binutils@, you may want to also mention what gas
bug you think you see. So far (also in the other mail) you've talked of
only gcc. If you meant to say that like in gcc you need to enable use of
the instructions in gas, then yes, that's the way the RISC-V assembler
works (like e.g. also the PPC one, but unlike e.g. the x86 one).

Jan


More information about the Binutils mailing list