On Fri, Jan 19, 2018 at 08:53:52PM -0500, David Edelsohn wrote:
> On Fri, Jan 19, 2018 at 3:58 PM, Bill Schmidt
> <wschm...@linux.vnet.ibm.com> wrote:
> > Hi,
> >
> > My recent patches to trunk and gcc-7-branch for avoiding speculation of
> > indirect branches has a flaw, pointed out by David.  Usage of "." to
> > represent the program counter is not portable across all POWER
> > assemblers, particularly not being accepted on AIX.  "$" is the
> > universally accepted alternative.  So change the code and the test
> > cases to use $ instead of . for this purpose.
> >
> > Regstrap is in progress on powerpc64-linux-gnu and powerpc64le-linux-gnu.
> > Assuming no issues are found, is this okay for trunk and backport to 7?
> 
> Once I got past the "." issue, I have discovered that the AIX
> assembler also doesn't like
> 
> crset eq
> 
> It doesn't like the symbolic name for the operand, it wants a numeric
> operand for "eq".

Wow, nasty.  It is the very first thing in the "extended mnemonics"
appendix in the ISA.

"crset 2" works (I tried it out on gcc111).


Segher

Reply via email to