https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127055

--- Comment #3 from Matthias Kretz (Vir) <mkretz at gcc dot gnu.org> ---
Right, for round I understand. But why is using the packed vround/vrndscale
instruction (rather than the scalar one) gated on -fno-trapping-math? There is
no observable difference between e.g.

"test_v2df_ceil(double __vector(2))":
        vrndscalesd     xmm1, xmm0, xmm0, 10
        vunpckhpd       xmm0, xmm0, xmm0
        vrndscalesd     xmm0, xmm0, xmm0, 10
        vunpcklpd       xmm0, xmm1, xmm0
        ret

and

"test_v2df_ceil(double __vector(2))":
        vrndscalepd     xmm0, xmm0, 10
        ret

Reply via email to