[LLVMdev] mips16

Bruno Cardoso Lopes bruno.cardoso at gmail.com
Wed Jan 25 08:05:48 PST 2012


>> I'm trying to avoid duplicating any more of the mips32 than in is
>> necessary. In principal mips16 is just an alternate encoding of Mips32.
>
> I am not familiar with the particular instruction set, but my guess would be that you are better off duplicating the instruction definitions right away. Otherwise, you are looking at lots of special-case code down the road.

+1 here. If you don't duplicate them, chances are the code will get
pretty hairy.

-- 
Bruno Cardoso Lopes
http://www.brunocardoso.cc



More information about the llvm-dev mailing list