On Thu, Dec 18, 2025 at 2:27 AM Takayuki 'January June' Suwa
<[email protected]> wrote:
>
> The description of 'cstoremode4' in gccint says:
>
>    "These operations may FAIL, but should do so only in relatively uncommon
>     cases; if they would FAIL for common cases involving integer comparisons,
>     it is best to restrict the predicates to not allow these operands."
>
>    -- 16.10 Standard Pattern Names For Generation, gccint (the latest)
>
> Therefore, it is preferable to include unsigned comparisons in the operator
> constraints of the pattern only if the machine instructions emitted by the
> pattern require such comparisons.
>
> gcc/ChangeLog:
>
>         * config/xtensa/predicates.md (xtensa_cstoresi_operator):
>         Change it to include unsigned comparisons only when TARGET_SALT is
>         enabled.
> ---
>   gcc/config/xtensa/predicates.md | 4 +++-
>   1 file changed, 3 insertions(+), 1 deletion(-)

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

-- 
Thanks.
-- Max

Reply via email to