Re: [patch i386]: Add support of delegitimize of UNSPEC_PCREL plus displacement

2012-02-24 Thread Richard Henderson
On 02/23/12 09:12, Kai Tietz wrote: 2012-02-23 Kai Tietz kti...@redhat.com * config/i386/i386.c (ix86_delegitimize_address): Handle UNSPEC_PCREL plus displacement. Ok. r~

[patch i386]: Add support of delegitimize of UNSPEC_PCREL plus displacement

2012-02-23 Thread Kai Tietz
Hi, This patch adds a missing nit about delegitimize of CONST (UNSPEC_PCREL + displacement). Some testcases - like gcc.c-torture/execute/ 930930-1.c - were failing due this. ChangeLog 2012-02-23 Kai Tietz kti...@redhat.com * config/i386/i386.c (ix86_delegitimize_address): Handle

Re: [patch i386]: Add support of delegitimize of UNSPEC_PCREL plus displacement

2012-02-23 Thread Jakub Jelinek
On Thu, Feb 23, 2012 at 05:38:37PM +0100, Kai Tietz wrote: --- config/i386/i386.c(revision 184486) +++ config/i386/i386.c(working copy) @@ -13241,6 +13241,22 @@ if (TARGET_64BIT) { + if (GET_CODE (x) == CONST + GET_CODE (XEXP (x, 0)) == PLUS +

Re: [patch i386]: Add support of delegitimize of UNSPEC_PCREL plus displacement

2012-02-23 Thread Kai Tietz
2012/2/23 Jakub Jelinek ja...@redhat.com: On Thu, Feb 23, 2012 at 05:38:37PM +0100, Kai Tietz wrote: --- config/i386/i386.c        (revision 184486) +++ config/i386/i386.c        (working copy) @@ -13241,6 +13241,22 @@    if (TARGET_64BIT)      { +      if (GET_CODE (x) == CONST +        

Re: [patch i386]: Add support of delegitimize of UNSPEC_PCREL plus displacement

2012-02-23 Thread Kai Tietz
Hi, So tests are complete (with full test on x86_64-unknown-linux-gnu and testfailure testing on i686-w64-mingw32 and x86_64-w64-mingw32). ChangeLog 2012-02-23 Kai Tietz kti...@redhat.com * config/i386/i386.c (ix86_delegitimize_address): Handle UNSPEC_PCREL plus displacement.