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

--- Comment #15 from Hongtao Liu <liuhongt at gcc dot gnu.org> ---

>  {
>    rtx tmp = gen_reg_rtx (<MODE>mode);
>    emit_insn (gen_ceil<mode>2 (tmp, operands[1]));
> @@ -26955,7 +26955,7 @@ (define_expand "btrunc<mode>2"
>         [(match_operand:VFH 1 "vector_operand")
>          (match_dup 2)]
>         UNSPEC_ROUND))]
> -  "TARGET_SSE4_1 && !flag_trapping_math"
> +  "TARGET_SSE4_1"


Change conditon to 
"TARGET_SSE4_1 && (flag_fp_int_builtin_inexact || !flag_trapping_math)" instead
of removing !flag_trapping_math.

Reply via email to