[llvm-commits] [llvm] r117420 - in /llvm/trunk: cmake/modules/ lib/Target/MBlaze/ lib/Target/MBlaze/AsmParser/ lib/Target/MBlaze/Disassembler/

Wesley Peck peckw at wesleypeck.com
Thu Nov 11 16:50:26 PST 2010


Yeah, from what I saw the ARM and x86 backends had some custom tblgen stuff to do a lot of this. I'm unfamiliar with adding stuff to tblgen so I decided to just hand code some of the tables for now. When the auto-generation from .td files is working then I'll convert the MBlaze backend over to that.

I'll add some test cases in the next few days.

Again, thanks for taking a look at the code.

-- Wesley Peck

On Nov 11, 2010, at 6:07 PM, Chris Lattner wrote:

> 
> On Oct 26, 2010, at 5:23 PM, Wesley Peck wrote:
> 
>> Author: peckw
>> Date: Tue Oct 26 19:23:01 2010
>> New Revision: 117420
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=117420&view=rev
>> Log:
>> Adding disassembler to the MicroBlaze backend.
> 
> Ok, cool.  Please add some simple testcases for these as well.  Our ultimate goal is to have the disassembler be autogenerated from the encoding info in the .td files (for targets with 16 or 32-bit encodings) so that you don't have to write so much rote code, but in the meantime this is the right way to go.
> 
> -Chris





More information about the llvm-commits mailing list