https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71278
Bug ID: 71278 Summary: Inline nearbyint for SSE4.1 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jsm28 at gcc dot gnu.org Target Milestone: --- Target: i?86-*-* x86_64-*-* For SSE4.1, the nearbyint and nearbyintf functions should be inlined using the roundsd / roundss instructions with immediate operand 12. (There's already support for inlining rint and rintf with immediate operand 4, though as noted in bug 71277 this is wrongly conditioned on !flag_trapping_math.)