[RFC v2] Towards an assembler parser for PowerPC

Hal Finkel hfinkel at anl.gov
Tue Jan 29 08:16:57 PST 2013


----- Original Message -----
> From: "Ulrich Weigand" <Ulrich.Weigand at de.ibm.com>
> To: llvm-commits at cs.uiuc.edu
> Cc: "Hal Finkel" <hfinkel at anl.gov>, "Roman Divacky" <rdivacky at freebsd.org>
> Sent: Tuesday, January 29, 2013 10:12:26 AM
> Subject: Re: [RFC v2] Towards an assembler parser for PowerPC
> 
> 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.

I suppose we'll get test cases with the assembler work? LGTM.

 -Hal

> 
> Bye,
> Ulrich
> 
> (See attached file: diff-llvm-asm-inline)



More information about the llvm-commits mailing list