[RFC] SVP64 Cray-style Vectorisation of the OpenPOWER scalar ISA

lkcl luke.leighton@gmail.com
Mon Mar 22 12:07:00 GMT 2021

On Mon, Mar 22, 2021 at 11:30 AM Alan Modra <amodra@gmail.com> wrote:

> On Sun, Mar 21, 2021 at 10:58:31AM +0000, lkcl wrote:
> > * spaces in standard register names create a syntax error.
> > * division works when it's a straight number (immediate)
> > * add - even when it's a register number (5+3) - works!
> > * add - when it's a register operand (r5+3) - does *not* work.
> >
> > conclusion: "/" definitely not ok in operands,
> That's not the case as you just said so yourself in immediate
> operands.

ah sorry i meant reg-operands... but...

You can also have quite complex expressions using integers
> when gas expects a register operand.

ah.  right.  so it would be genuinely the case... let me test it...
           'addi 4+1, 3, 1',
yep that actually works.

that one we're going to have to ask David and Segher about, to see if
gcc-rs6000.md generates registers-as-expressions.

> also probably ok with "r0.v" no spaces.
> I'm completely OK if that's the way you want to go.  The example I
> gave with a space before .v was mostly to show that the gas
> preprocessor can do weird things with spaces.



More information about the Binutils mailing list