This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


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

Re: [patch] RS/6000 fixes


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


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