On Thu, Jul 24, 2025 at 6:40 PM Takayuki 'January June' Suwa
<jjsuwa_sys3...@yahoo.co.jp> wrote:
>
> The previous fix also had some flaws:
>
> - The TARGET_CONST16 check was a bit premature
> - It didn't take into account the possibility of the RTL expression
>    "(set (reg:SF gpr) (const_int))", especially when TARGET_AUTOLITPOOLS is
>    configured
>
> This patch fixes the above.
>
> gcc/ChangeLog:
>
>         * config/xtensa/xtensa.cc (xtensa_is_insn_L32R_p):
>         Re-rewrite to more accurately capture insns that could be L32R machine
>         instructions wherever possible, and add comments that help understand
>         the intent of the process.
> ---
>   gcc/config/xtensa/xtensa.cc | 46 ++++++++++++++++++++++++++++---------
>   1 file changed, 35 insertions(+), 11 deletions(-)

Regtested for target=xtensa-linux-uclibc, no new regressions.
Committed to master.

-- 
Thanks.
-- Max

Reply via email to