Fix to mn10300 cmpsi pattern
Matt Hiller
hiller@redhat.com
Tue Mar 27 16:07:00 GMT 2001
On 27 Mar 2001, Alexandre Oliva wrote:
> >> These are privileged instructions. You can't use them in user mode.
> >> How about `btst 0,%0'?
>
> > Yes. That'd be better on the basis of number of instructions
> > alone, even if ors and ands to the psw weren't privileged. Okay to commit?
>
> Yep. Thanks for taking care of this problem!
The testsuite caught an error in doing things that way: btst only
works with data registers, but %0 could be an address or extended
register. How about btst 0,d0 instead?
Matt
More information about the Gcc-patches
mailing list