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]

Re: [PATCH, test, i386] Fix for PR50155


On Mon, Aug 22, 2011 at 9:38 PM, Kirill Yukhin <kirill.yukhin@gmail.com> wrote:
> Thanks for inputs.
> Updated test attached.

>>> testsuite/ChangeLog entry:
>>> 2011-08-22 ?Kirill Yukhin ?<kirill.yukhin@intel.com>
>>>
>>> ? ? ? ? PR target/50155
>>> ? ? ? ? * gcc.target/i386/pr50155.c: New test.
>>
>> For the testcase, I think you want explicit -mno-avx2 if
>> you want to check that vpaddd hasn't been emitted, otherwise
>> anybody testing with --with-arch=corei7-avx2 tuned compiler
>> ot --target_board=unix/-mavx2 will see failures.

Attached is the patch I have committed in addition to your testcase.

2011-08-22  Uros Bizjak  <ubizjak@gmail.com>
	    Kirill Yukhin  <kirill.yukhin@intel.com>

	PR target/50155
	* config/i386/sse.md (VI_AVX2): New.
	(<plusminus_insn><mode>3): Use VI_AVX2 mode iterator.
	(*<plusminus_insn><mode>3): Ditto.
	(<sse2_avx2>_andnot<mode>3): Ditto.
	(*andnot<mode>3): Fix order of cond operands.
	Add asserts for correct TARGET_xxx.
	(*<any_logic:code><mode>3): Ditto.

Bootstrapped and regression tested on x86_64-pc-linux-gnu {,-m32}.

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]