[RFC v2] Towards an assembler parser for PowerPC

Ulrich Weigand Ulrich.Weigand at de.ibm.com
Tue Jan 29 08:12:26 PST 2013


Ulrich Weigand/Germany/IBM wrote on 25.01.2013 18:13:43:

> here's another update of the PowerPC assembler parser patch set I've
> been working on.   Overall, the parser now seems to be good enough
> to parse any assembler file generated by clang itself.

> Specifically, I've successfully run all tests in projects/test-suite
> with a version of the clang driver configured to compile everything
> to assembler source, and then assemble that source to object files
> by using clang -cc1as.

The attached small patch adds two more instructions (isync, icbi),
which are used in inline asm statements by clang/llvm itself.

With this patch added, I'm also able to bootstrap clang using the
integrated assembler.

Bye,
Ulrich

(See attached file: diff-llvm-asm-inline)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff-llvm-asm-inline
Type: application/octet-stream
Size: 1649 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130129/563e02eb/attachment.obj>


More information about the llvm-commits mailing list