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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2026-12-03
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
           Keywords|                            |testsuite-fail

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed in gcc/config/rs6000/rs6000-builtins.def:4389 and crypto.md:311:
__builtin_dmsha3hash specifies 'const int<5>' / 'u5bit_cint_operand' (0..31),
but dmsha3hash only supports SR in 0..23 (the 24 rounds of Keccak-f[1600]). The
testcase sha-builtins-5.c calls __builtin_dmsha3hash(dst, 31), which gas
rejects with 'Error: invalid SR value (must be 0-23)'.

Reply via email to