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: Bernd Schmidt <bschmidt at redhat dot com>
- To: "H.J. Lu" <hjl dot tools at gmail 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 21:32:29 +0200
- 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>
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.
Bernd