On Sun, Nov 10, 2019 at 01:32:29AM -0500, Michael Meissner wrote: > On Fri, Nov 01, 2019 at 10:22:03PM -0500, Segher Boessenkool wrote: > > On Wed, Oct 16, 2019 at 09:47:41AM -0400, Michael Meissner wrote: > > We could make %pN mean 'p' for prefixed, for memory as operands[N]? Are > > there more places than this that could use that? How about inline asm? > > Right now, the only two places that do this are the two stack protect insns. > Everything else that I'm aware of that generates multiple loads or stores will > do a split before final.
How about inline asm? > > > + if (which_alternative == 0) > > > + output_asm_insn ("xor. %3,%3,%4", operands); > > > + else > > > + output_asm_insn ("cmpld %0,%3,%4\;li %3,0", operands); > > > > That doesn't work: the backslash is treated like the escape character, in > > a C block. I think doubling it will work? Check the generated > > insn-output.c, > > it should be translated to \t\n in there. > > Yes it does work. I just checked. It emits a literal ';' into the assembler code. Segher