Check optimize_insn_for_speed_p in *fixuns_trunc<mode>_1
authorH.J. Lu <hongjiu.lu@intel.com>
Mon, 14 Apr 2014 16:49:24 +0000 (16:49 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Mon, 14 Apr 2014 16:49:24 +0000 (09:49 -0700)
commit10fa463ff74b95c40ef99fcc94713caa67a218e6
treea714b6e945ae22baa7b37b0aa049f46b873c29e8
parent39e6a690ec42088bcb7488f9c8e322ee3a1907cd
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
gcc/ChangeLog
gcc/config/i386/i386.md