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]

Re: Fix to mn10300 cmpsi pattern


On 27 Mar 2001, Alexandre Oliva wrote:

> On Mar 26, 2001, Matt Hiller <hiller@redhat.com> wrote:
> 
> > -   add 0,%0
> > +   or 1,psw\;and 1,psw
> 
> 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?

Matt


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