This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix some i386 testcases for -frename-registers
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Bernd Schmidt <bschmidt at redhat dot com>
- Cc: Uros Bizjak <ubizjak at gmail dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 26 Apr 2016 12:39:51 -0700
- Subject: Re: Fix some i386 testcases for -frename-registers
- Authentication-results: sourceware.org; auth=none
- References: <CAFULd4bXxjNkioer3pq3AYrqwsFJ80my8ORw5Prw1opcN9R9mw at mail dot gmail dot com> <571F5E6B dot 80601 at redhat dot com> <CAMe9rOpp7tm3ZCh5DtBOtXCFgHYMBwcqv9CY7j7Hmcs2wK4uNg at mail dot gmail dot com> <571FC24D dot 5030904 at redhat dot com>
On Tue, Apr 26, 2016 at 12:32 PM, Bernd Schmidt <bschmidt@redhat.com> wrote:
> On 04/26/2016 08:35 PM, H.J. Lu wrote:
>>
>> This
>>
>> /* { dg-final { scan-assembler-times "vmovdqa64\[
>> \\t\]+\[^\{\n\]*%ymm\[0-9\]+\[^\nxy\]*\\(.{5}(?:\n|\[ \\t\]+#)" 1 {
>> target nonpic } } } */
>>
>> fails on x32 since x32 with 32-bit pointers has (%r10d) instead of
>> (%r10). .{5} doesn't match.
>
>
> What is this line actually trying to match? It's somewhat... nonobvious.
>
It is hard to tell. It can be reproduced on Linux/x86-64 by
# make check-gcc RUNTESTFLAGS="--target_board='unix{-mx32}'
i386.exp=avx512vl-vmovdqa64-1.c"
--
H.J.