1 //===- ZPURegisterInfo.td - ZPU Register defs ------------*- tablegen -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 //===----------------------------------------------------------------------===//
11 // Describe ZPU instructions format
13 // CPU INSTRUCTION FORMATS
16 //===----------------------------------------------------------------------===//
18 class ZPUIm<dag outs, dag ins, string asmstr, list<dag> pattern>: Instruction
22 let Namespace = "ZPU";
27 dag OutOperandList = outs;
28 dag InOperandList = ins;
30 let AsmString = asmstr;
31 let Pattern = pattern;
34 class ZPUSlot<bits<1> op, dag outs, dag ins, string asmstr, list<dag> pattern>: Instruction
38 let Namespace = "ZPU";
42 // This is a stack slot instruction
44 // is it a store or load?
47 dag OutOperandList = outs;
48 dag InOperandList = ins;
50 let AsmString = asmstr;
51 let Pattern = pattern;
54 class ZPUZeroOp<bits<6> op, dag outs, dag ins, string asmstr, list<dag> pattern>: Instruction
58 let Namespace = "ZPU";
62 // This is not a stack slot instruction
67 dag OutOperandList = outs;
68 dag InOperandList = ins;
70 let AsmString = asmstr;
71 let Pattern = pattern;