On Sat, Jul 1, 2023 at 10:21 AM Takayuki 'January June' Suwa <jjsuwa_sys3...@yahoo.co.jp> wrote: > > Because both smin and smax requiring TARGET_MINMAX are essential to the > RTL representation. > > gcc/ChangeLog: > > * config/xtensa/xtensa.cc (xtensa_match_CLAMPS_imms_p): > Simplify. > * config/xtensa/xtensa.md (*xtensa_clamps): > Add TARGET_MINMAX to the condition. > --- > gcc/config/xtensa/xtensa.cc | 7 ++----- > gcc/config/xtensa/xtensa.md | 4 ++-- > 2 files changed, 4 insertions(+), 7 deletions(-)
Regtested for target=xtensa-linux-uclibc, no new regressions. Committed to master. -- Thanks. -- Max