@@ -27883,7 +27883,7 @@ ix86_builtin_vectorized_function (tree fndecl, tree type_out,
case BUILT_IN_FLOOR:
/* The round insn does not trap on denormals. */
- if (flag_trapping_math)
+ if (flag_trapping_math || !TARGET_ROUND)
break;
if (out_mode == DFmode && in_mode == DFmode)
@@ -27897,7 +27897,7 @@ ix86_builtin_vectorized_function (tree fndecl, tree type_out,
case BUILT_IN_FLOORF:
/* The round insn does not trap on denormals. */
- if (flag_trapping_math)
+ if (flag_trapping_math || !TARGET_ROUND)
break;
if (out_mode == SFmode && in_mode == SFmode)
@@ -27911,7 +27911,7 @@ ix86_builtin_vectorized_function (tree fndecl, tree type_out,
case BUILT_IN_CEIL:
/* The round insn does not trap on denormals. */
- if (flag_trapping_math)
+ if (flag_trapping_math || !TARGET_ROUND)
break;
if (out_mode == DFmode && in_mode == DFmode)
@@ -27925,7 +27925,7 @@ ix86_builtin_vectorized_function (tree fndecl, tree type_out,
case BUILT_IN_CEILF:
/* The round insn does not trap on denormals. */
- if (flag_trapping_math)
+ if (flag_trapping_math || !TARGET_ROUND)
break;
if (out_mode == SFmode && in_mode == SFmode)
@@ -27939,7 +27939,7 @@ ix86_builtin_vectorized_function (tree fndecl, tree type_out,
case BUILT_IN_TRUNC:
/* The round insn does not trap on denormals. */
- if (flag_trapping_math)
+ if (flag_trapping_math || !TARGET_ROUND)
break;
if (out_mode == DFmode && in_mode == DFmode)
@@ -27953,7 +27953,7 @@ ix86_builtin_vectorized_function (tree fndecl, tree type_out,
case BUILT_IN_TRUNCF:
/* The round insn does not trap on denormals. */
- if (flag_trapping_math)
+ if (flag_trapping_math || !TARGET_ROUND)
break;
if (out_mode == SFmode && in_mode == SFmode)
@@ -27967,7 +27967,7 @@ ix86_builtin_vectorized_function (tree fndecl, tree type_out,
case BUILT_IN_RINT:
/* The round insn does not trap on denormals. */
- if (flag_trapping_math)
+ if (flag_trapping_math || !TARGET_ROUND)
break;
if (out_mode == DFmode && in_mode == DFmode)
@@ -27981,7 +27981,7 @@ ix86_builtin_vectorized_function (tree fndecl, tree type_out,
case BUILT_IN_RINTF:
/* The round insn does not trap on denormals. */
- if (flag_trapping_math)
+ if (flag_trapping_math || !TARGET_ROUND)
break;
if (out_mode == SFmode && in_mode == SFmode)