This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [patch] RS/6000 fixes
- To: hzoli at austin dot ibm dot com
- Subject: Re: [patch] RS/6000 fixes
- From: Geoff Keating <geoffk at geoffk dot org>
- Date: Thu, 8 Feb 2001 21:20:19 -0800
- CC: binutils at sources dot redhat dot com
- References: <200102090452.WAA27612@vlad.austin.ibm.com>
- Reply-to: Geoff Keating <geoffk at redhat dot com>
> From: Hidvegi <hzoli@austin.ibm.com>
> Date: Thu, 8 Feb 2001 22:52:36 -0600 (CST)
> Cc: binutils@sources.redhat.com
>
> Geoff Keating wrote:
> > 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'.
>
> What's wrong just accepting these in power mode? These are just
> extended mnemonics for common mode instructions. The AIX assembler
> accepts them, so it is not a compatibility problem, and the binary
> will work on power.
The purpose of this mode is to expose bugs, generally in GCC. While
current AIX assemblers accept these opcodes, earlier AIX assemblers
won't. I don't know that GCC still supports these earlier AIX
versions (3.x, I guess) but there's no reason to intentionally drop
support for them.
--
- Geoffrey Keating <geoffk@geoffk.org>