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]

[PATCH, i386]: Fix PR target/23570


Hello!
  The attached patch fixes a problem in *sse_concatv2sf and
sse2_loadld patterns, where operand constraint allows memory operand,
but register constraint doesn't match "m".
  Patch is bootstrapped/regtested on i686-pc-linux-gnu for c and c++.
A testcase that triggers the bug is attached. If OK, please commit
this patch to CVS.


2005-08-31 Uros Bizjak <uros@kss-loka.si>

       PR target/23570
       * config/i386/sse.md (*sse_concatv2sf): Change operand 2 constraint
         to "reg_or_0_operand".
         (sse2_loadld): Change operand 1 constraint to "reg_or_0_operand".

testsuite/ChangeLog:

2005-08-31 Uros Bizjak <uros@kss-loka.si>

       PR target/23570
       * gcc.target/i386/pr23570.c: New test.

: ADDPATCH target (i386):

Thanks,
Uros.

Attachment: pr23570.diff
Description: Binary data

Attachment: pr23570.c
Description: Text document


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