Optimize AVX check in *movsf_internal.

2011-06-07  H.J. Lu  <hongjiu.lu@intel.com>

	* config/i386/i386.md (*movsf_internal): Optimize AVX check.

From-SVN: r174750
This commit is contained in:
H.J. Lu 2011-06-07 14:53:58 +00:00 committed by H.J. Lu
parent 8973b11245
commit c074d74021
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2011-06-07 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.md (*movsf_internal): Optimize AVX check.
2011-06-07 Sergey Grechanik <mouseentity@ispras.ru>
* config/arm/arm.c (coproc_secondary_reload_class): Return NO_REGS for

View File

@ -3207,11 +3207,11 @@
case 6:
if (get_attr_mode (insn) == MODE_V4SF)
return "%vmovaps\t{%1, %0|%0, %1}";
if (TARGET_AVX)
return "vmovss\t{%1, %0, %0|%0, %0, %1}";
case 7:
case 8:
if (TARGET_AVX && REG_P (operands[0]) && REG_P (operands[1]))
return "vmovss\t{%1, %0, %0|%0, %0, %1}";
return "%vmovss\t{%1, %0|%0, %1}";
case 9: