[patch] RS/6000 fixes

Geoff Keating geoffk@geoffk.org
Thu Feb 8 18:24:00 GMT 2001


> From: Hidvegi <hzoli@austin.ibm.com>
> Date: Thu, 8 Feb 2001 18:33:41 -0600 (CST)
> Cc: binutils@sources.redhat.com
> 
> Geoff Keating wrote:
> > > ppc-opc.c: crset/crclr/crmove/crnot should work in power mode.
> > >            gcc -mpower generates these.  I've submitted a patch for
> > >            this about a week ago but there was no response.
> > 
> > >From what I can see, GCC only generates 'crnot'.  I believe that it
> > shouldn't be doing this, but the aix 4.1 machine here isn't letting me
> > log in to check.  Are you sure that the old POWER instruction format
> > always allowed these abbreviations?
> 
> I'm not sure it has always been that way, but the AIX 4.1 as -mpwr
> does accept all these without any warnings.  AIX 4.1 is the oldest I
> can access.

AIX as doesn't strictly enforce the -m flags.  To be sure, you need to
find an as that doesn't understand any non-power opcodes, and see if
it understands 'crnot'.

-- 
- Geoffrey Keating <geoffk@geoffk.org>



More information about the Binutils mailing list