On Sun, 2023-11-19 at 22:30 +0800, Xi Ruoyao wrote: > +;; All these are controlled by -ffp-int-builtin-inexact. > +(define_int_attr simd_frint_pattern > + [(UNSPEC_SIMD_FRINTRP "ceil") > + (UNSPEC_SIMD_FRINTRZ "btrunc") > + (UNSPEC_SIMD_FRINT "nearbyint") > + (UNSPEC_SIMD_FRINTRNE "roundeven") > + (UNSPEC_SIMD_FRINTRM "floor")])
This is wrong. nearbyint is not allowed to raise FE_INEXACT even if - ffp-int-builtin-inexact. Please abandon this series and I'll send V3. -- Xi Ruoyao <xry...@xry111.site> School of Aerospace Science and Technology, Xidian University