This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH, i386]: Backport recent AVX fixes to 4.6 and 4.5 branch


Hello!

2011-05-04  Uros Bizjak  <ubizjak@gmail.com>

	* config/i386/i386.md (*movdi_internal_rex64) <TYPE_SSEMOV>:
	Use %v prefix in insn mnemonic to handle TARGET_AVX.
	(*movdi_internal): Use "maybe_vex" instead of "vex" in "prefix"
	attribute calculation.
	(*movdf_internal): Output AVX mnemonics.  Add "prefix" attribute.
	* config/i386/sse.md (*sse2_storeq_rex64): Do not emit %v prefix
	for mov{q} mnemonic.
	(*vec_extractv2di_1_rex64_avx): Ditto.

Tested on x86_64-pc-linux-gnu {,-m32}, committed to 4.6 and 4.5 branches.

Uros.

Attachment: p.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]