1 //===- SparcV8Instrs_F3.td - Format 3 Instructions: SparcV8 Target --------===//
3 // The LLVM Compiler Infrastructure
5 // This file was developed by the LLVM research group and is distributed under
6 // the University of Illinois Open Source License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // Format #3 instruction classes in the SparcV8
12 //===----------------------------------------------------------------------===//
18 let op{1} = 1; // Op = 2 or 3
20 let Inst{24-19} = op3;
21 let Inst{18-14} = rs1;
24 // Specific F3 classes: SparcV8 manual, page 44
26 class F3_1<bits<2> opVal, bits<6> op3val, string name> : F3 {
34 let Inst{13} = 0; // i field = 0
35 let Inst{12-5} = asi; // address space identifier
39 class F3_2<bits<2> opVal, bits<6> op3val, string name> : F3 {
46 let Inst{13} = 1; // i field = 1
47 let Inst{12-0} = simm13;
51 class F3_3<bits<2> opVal, bits<6> op3val, bits<9> opfval, string name> : F3 {
59 let Inst{13-5} = opfval; // fp opcode