This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCHES] Update avx256-unaligned-load-1.c and avx256-unaligned-store-2.c
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 20 Apr 2016 21:42:34 +0200
- Subject: Re: [PATCHES] Update avx256-unaligned-load-1.c and avx256-unaligned-store-2.c
- Authentication-results: sourceware.org; auth=none
- References: <CAMe9rOp+89DE93UuL5cQoaSNvzTe5R8k8oYk9CPUKvOwuzENwQ at mail dot gmail dot com>
On Wed, Apr 20, 2016 at 5:35 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Wed, Apr 20, 2016 at 4:19 AM, Uros Bizjak <ubizjak@gmail.com> wrote:
>
>> BTW: There are a couple of regressions in the testsuite [1] when
>> configured --with-arch=corei7. Can you please look at the testcases,
>> if scan patterns need to be adjusted?
>
> They are caused by -mtune=slm.
>
>> FAIL: gcc.target/i386/avx256-unaligned-load-1.c scan-assembler-not
>> (avx_loadups256|vmovups[^\\n\\r]*movv8sf_internal)
>
> It is because avx_loadups256 and sse_loadups have been replaced by
> movv8sf_internal and movv4sf_internal. -mtune=slm disables SSE
> SSE stores.
>
>> FAIL: gcc.target/i386/avx256-unaligned-store-2.c scan-assembler
>> vmovups.*movv16qi_internal/3
>
> It is because -mtune=slm disables SSE stores which is expected
> by avx256-unaligned-store-2.c.
>
> Here are 2 patches for them. Tested on x86-64. OK for trunk?
OK.
Thanks,
Uros.