[gmp] [powerpc] GMP build is broken because asm {...} syntax has been removed from latest toolchains
David Edelsohn
dje.gcc at gmail.com
Sun Oct 21 18:07:16 CEST 2012
So this is all about removing ASSEMBLER_DIALECT from the PowerPC port.
Maybe we can restore ASSEMBLER_DIALECT in GCC trunk hard-coded to use
the second dialect (index 1) so that old inlined assembler continues
to work.
Thanks, David
On Sun, Oct 21, 2012 at 11:58 AM, Douglas Mencken <dougmencken at gmail.com> wrote:
>> I have read and reread your reply, but I cannot make sense of it.
>
> cntlz and cntlzw are the same. Same machine code.
> ai and addic are the same. Same machine code.
>
> {ai|addic} 3,4 is the same as both ai 3,4 and addic 3,4. There're no
> difference at all between all three of them. Absolutely. But the
> latter (addic) is better and much more readable (add immediate,
> affecting carrying bit).
> It's a some convention how to turn letters into machine-readable
> bytes. And this is controlled by assemblers.
More information about the gmp-bugs
mailing list