Thumb2 assembly parsing and encoding for SASX.
[oota-llvm.git] / lib / Target / MSP430 / MSP430InstrFormats.td
index 4ccc7df57664f1e87bbb1b38c0ec220c1b8a4aad..73aef1facc0f9fa98535f07b3d4e50ecf988bddc 100644 (file)
@@ -61,10 +61,12 @@ class MSP430Inst<dag outs, dag ins, SizeVal sz, Format f,
   dag InOperandList  = ins;
 
   Format Form = f;
-  bits<2> FormBits = Form.Value;
-
   SizeVal Sz = sz;
-  bits<3> Size = Sz.Value;
+
+  // Define how we want to layout our TargetSpecific information field... This
+  // should be kept up-to-date with the fields in the MSP430InstrInfo.h file.
+  let TSFlags{1-0} = Form.Value;
+  let TSFlags{4-2} = Sz.Value;
 
   let AsmString   = asmstr;
 }