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] 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)


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