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]

Re: [PATCH] Disallow i?86/x86_64 movstrict<mode> for subregs of non-MODE_INT regs (PR target/48678)


On Tue, Apr 19, 2011 at 4:59 PM, Jakub Jelinek <jakub@redhat.com> wrote:

> Since MEM_REF has been added, we can unlike in 4.5 and earlier, arbitrary
> VCEs on the LHS. ?Reload isn't able to reload
> (strict_low_part (subreg:HI (reg:V2DI ...)))
> on the LHS, while it probably should be taught to do that, such
> movstrict[qh]i IMHO will only very rarely lead to good code,
> unless pinsrw/pinsrq can be used (currently we have not a suitable
> movstrict* pattern using pinsr*).
>
> Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk/4.6?
>
> 2011-04-19 ?Jakub Jelinek ?<jakub@redhat.com>
>
> ? ? ? ?PR target/48678
> ? ? ? ?* config/i386/i386.md (movstrict<mode>): FAIL if operands[0]
> ? ? ? ?is a SUBREG with non-MODE_INT mode inside of it.
>
> ? ? ? ?* gcc.target/i386/pr48678.c: New test.

OK.

Thanks,
Uros.


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