This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Optimize subregs of zero and sign extensions (take 2)
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: dave at hiauly1 dot hia dot nrc dot ca (John David Anglin)
- Cc: gcc-patches at gcc dot gnu dot org, roger at eyesopen dot com
- Date: Thu, 22 Jan 2004 16:34:02 -0500 (EST)
- Subject: Re: [PATCH] Optimize subregs of zero and sign extensions (take 2)
> cmpb,= %r19,%r5,L$0003 ; so we end up comparing zero extended
> ; value of mem with sign extended
> ; (promoted) value
The compare is a SImode compare, so it does the right thing. However,
I still suspect that it's this zero extend/sign extend issue that causing
the test to fail.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)