On Sun, Nov 2, 2025 at 12:40 PM Takayuki 'January June' Suwa <[email protected]> wrote: > > Since each element in an MD iterator can have its own condition that is > true by default, it is simpler to specify the precondition for the ROUND.S > machine instruction such way. > > There are no functional changes with this patch. > > gcc/ChangeLog: > > * config/xtensa/xtensa.md (int_iterator ANY_ROUND): > Specify "flag_unsafe_math_optimizations" in the condition of the > UNSPEC_ROUND element. > (int_attr c_round): Remove. > (l<m_round>sfsi2, *l<m_round>sfsi2_2x, *l<m_round>sfsi2_scaled): > Remove " && <c_round>" from the conditions. > --- > gcc/config/xtensa/xtensa.md | 13 ++++++------- > 1 file changed, 6 insertions(+), 7 deletions(-)
Regtested for target=xtensa-linux-uclibc, no new regressions. Committed to master. -- Thanks. -- Max
