Mercurial > hg > CbC > CbC_llvm
comparison lib/Target/Mips/MipsEVAInstrFormats.td @ 120:1172e4bd9c6f
update 4.0.0
author | mir3636 |
---|---|
date | Fri, 25 Nov 2016 19:14:25 +0900 |
parents | afa8332a0e37 |
children | c2174574ed3a |
comparison
equal
deleted
inserted
replaced
101:34baf5011add | 120:1172e4bd9c6f |
---|---|
48 def OPCODE6_TLBINVF : OPCODE6<0b000100>; | 48 def OPCODE6_TLBINVF : OPCODE6<0b000100>; |
49 | 49 |
50 def OPCODE6_CACHEE : OPCODE6<0b011011>; | 50 def OPCODE6_CACHEE : OPCODE6<0b011011>; |
51 def OPCODE6_PREFE : OPCODE6<0b100011>; | 51 def OPCODE6_PREFE : OPCODE6<0b100011>; |
52 | 52 |
53 def OPGROUP_COP0 : OPGROUP<0b010000>; | 53 def OPGROUP_COP0_TLB : OPGROUP<0b010000>; |
54 | 54 |
55 //===----------------------------------------------------------------------===// | 55 //===----------------------------------------------------------------------===// |
56 // | 56 // |
57 // Encoding Formats | 57 // Encoding Formats |
58 // | 58 // |
75 } | 75 } |
76 | 76 |
77 class TLB_FM<OPCODE6 Operation> : MipsEVAInst { | 77 class TLB_FM<OPCODE6 Operation> : MipsEVAInst { |
78 bits<32> Inst; | 78 bits<32> Inst; |
79 | 79 |
80 let Inst{31-26} = OPGROUP_COP0.Value; | 80 let Inst{31-26} = OPGROUP_COP0_TLB.Value; |
81 let Inst{25} = 1; // CO | 81 let Inst{25} = 1; // CO |
82 let Inst{24-6} = 0; | 82 let Inst{24-6} = 0; |
83 let Inst{5-0} = Operation.Value; | 83 let Inst{5-0} = Operation.Value; |
84 } | 84 } |