Check optimize_insn_for_speed_p in *fixuns_trunc<mode>_1

Since fixuns_trunc<mode>si2 expander checks optimize_insn_for_size_p
before generating *fixuns_trunc<mode>_1,  we should use
optimize_insn_for_speed_p in *fixuns_trunc<mode>_1 for consistency.

	PR target/60827
	* config/i386/i386.md (*fixuns_trunc<mode>_1): Check
	optimize_insn_for_speed_p instead of
	optimize_function_for_speed_p.

From-SVN: r209383
This commit is contained in:
H.J. Lu 2014-04-14 16:49:24 +00:00 committed by H.J. Lu
parent 39e6a690ec
commit 10fa463ff7
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2014-04-14 H.J. Lu <hongjiu.lu@intel.com>
PR target/60827
* config/i386/i386.md (*fixuns_trunc<mode>_1): Check
optimize_insn_for_speed_p instead of
optimize_function_for_speed_p.
2014-04-14 Yufeng Zhang <yufeng.zhang@arm.com>
* doc/invoke.texi (free): Document AArch64.

View File

@ -4367,7 +4367,7 @@
(clobber (match_scratch:<ssevecmode> 1 "=x,&x"))
(clobber (match_scratch:<ssevecmode> 2 "=x,x"))]
"!TARGET_64BIT && TARGET_SSE2 && TARGET_SSE_MATH
&& optimize_function_for_speed_p (cfun)"
&& optimize_insn_for_speed_p ()"
"#"
"&& reload_completed"
[(const_int 0)]