On Jul 30, 2007, at 12:15 PM, Evan Cheng wrote: > +static const unsigned InstBits[] = { > + 0, > + 0, > + 0, > + 0, > + 0, > + 0XE2B00000, > + 0XE0B00000, > + 0XE0B00000, > + 0XE2900000, > > This is impossible to maintain. Please move opcode bits into .td > files. That is, please add it to each instruction definition: > // FIXME: Set all opcodes to 0 for now. > : InstARM<0, am, sz, im, cstr> {
Hi Raul, The PPC JIT is a great example of how to use this. It also has 32- bit instructions which have registers and immediates filled in in various places. -Chris _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits