Displaying 1 result from an estimated 1 matches for "instpb".
Did you mean:
instb
2012 Nov 02
0
[LLVMdev] Alternate instruction encoding for subtargets - SOLVED
...et's td files I simply specify both encodings at the same time.
This is my target's Instruction base class. It defines the traditional
field Inst and also an additional field Inst6 that holds the alternate
encodings for the KCPSM6 sub-target.
/// base class - a picoblaze instruction
class InstPB<Format form, dag outs, dag ins, string asmstr, list<dag>
pattern> : Instruction
{
field bits<18> Inst; // for KCPSM3
field bits<18> Inst6; // for KCPSM6
Format Form = form;
bits<4> FormBits = Form.Value;
// TSFlags layout should be kept in sy...