[RFC v3] PowerPC asm parser

Don Crandall macrxnapa at gmail.com
Fri Apr 26 15:02:06 PDT 2013


All patches applied to r180621 on a G5 with Mac OS X 10.5.8 and built 
with a home made gcc 4.8.

Clean build, no issues.

Don

On 4/26/13 8:57 AM, Ulrich Weigand wrote:
> Hello,
>
> while there's still two pre-requisite patches outstanding:
>
> http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20130422/172665.html
> http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20130422/172778.html
>
> I though it would be a good idea to post another iteration of the asm
> parser patches.
>
> The main differences to the previous revisions are:
>
> - Enable for powerpc as well as powerpc64 targets
> (Note that assembler still doesn't verify feature sets, so it will happily
> assemble 64-bit instructions even when called in powerpc mode, and will
> accept any instruction it understands even when called with a more
> restrictive -march setting.)
>
> - Support %r1 style register names (as requested by Roman)
>
> - Add some test cases
> The tests currently cover all instructions from the following PowerPC ISA
> v2.06 Book I facilities: Branch, Fixed-point, Floating-Point, and Vector.
> In addition, the tests cover all Book I extended mnemonics and the Book II
> storage control instructions (including extended mnemonics).  Note that a
> number of instructions are not yet supported by the back-end; I've added
> them to the tests anyway, but commented out with a FIXME.
>
> Also note that running the tests uncovered yet more instances of wrong
> encodings; I've checked in fixes for those earlier today.
>
>
> Any comments welcome!
>
> Bye,
> Ulrich
>
>
> (See attached file: diff-llvm-asm-parser)
> (See attached file: diff-llvm-asm-aliases)
> (See attached file: diff-llvm-asm-inline)
> (See attached file: diff-llvm-asm-variants)
> (See attached file: diff-llvm-asm-dollar)
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130426/86a669ff/attachment.html>


More information about the llvm-commits mailing list