[LLVMdev] [patch] MicroBlaze Backend

Jakob Stoklund Olesen stoklund at 2pi.dk
Sat Jan 30 09:40:37 PST 2010

On Jan 30, 2010, at 8:54 AM, Wesley Peck wrote:

>>> +  DataLayout(std::string("E-p:32:32-i8:8:8-i16:16:16-n32")),
>> I'm confused. What are the native types for this arch?
> The microblaze has only 32-bit registers. Should this be "E-p:32:32:32-i8:8:32-i16:16:32-n32" instead?

The MicroBlaze can do 8- and 16-bit loads and stores, so your first version is right.

You may want to relax the alignment for types larger than 32 bits. i64, f64, v64, and v128 probably only need 32-bit alignment.


More information about the llvm-dev mailing list