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: Use of vector instructions in memmov/memset expanding


Thanks for the remarks! Corrected patch is attached.

On 13 July 2011 12:48, Uros Bizjak <ubizjak@gmail.com> wrote:
> Hello!
>
>> Please don't use -m32/-m64 in testcases directly.
>> You should use
>>
>> /* { dg-do compile { target { ! ia32 } } } */
>>
>> for 32bit insns and
>>
>> /* { dg-do compile { target { ia32 } } } */
>>
>> for 64bit insns.
>
> Also, there is no need to add -mtune if -march is already specified.
> -mtune will follow -march.
> To scan for the %xmm register, you don't have to add -dp to compile
> flags. -dp will also dump pattern name to file, so unless you are
> looking for specific pattern name, you should omit -dp.
>
> Uros.
>

Attachment: memfunc.patch
Description: Binary data


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