mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-22 13:29:44 +00:00
add some simple operand info
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24735 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
be193839fa
commit
3ff5751683
@ -35,15 +35,16 @@ include "SparcV8InstrFormats.td"
|
|||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// Pseudo instructions.
|
// Pseudo instructions.
|
||||||
class PseudoInstV8<string nm> : InstV8 {
|
class PseudoInstV8<string nm, dag ops> : InstV8 {
|
||||||
let Name = nm;
|
let Name = nm;
|
||||||
|
dag OperandList = ops;
|
||||||
}
|
}
|
||||||
def PHI : PseudoInstV8<"PHI">;
|
def PHI : PseudoInstV8<"PHI", (ops variable_ops)>;
|
||||||
def ADJCALLSTACKDOWN : PseudoInstV8<"ADJCALLSTACKDOWN">;
|
def ADJCALLSTACKDOWN : PseudoInstV8<"ADJCALLSTACKDOWN", (ops variable_ops)>;
|
||||||
def ADJCALLSTACKUP : PseudoInstV8<"ADJCALLSTACKUP">;
|
def ADJCALLSTACKUP : PseudoInstV8<"ADJCALLSTACKUP", (ops variable_ops)>;
|
||||||
def IMPLICIT_USE : PseudoInstV8<"IMPLICIT_USE">;
|
def IMPLICIT_USE : PseudoInstV8<"IMPLICIT_USE", (ops variable_ops)>;
|
||||||
def IMPLICIT_DEF : PseudoInstV8<"IMPLICIT_DEF">;
|
def IMPLICIT_DEF : PseudoInstV8<"IMPLICIT_DEF", (ops variable_ops)>;
|
||||||
def FpMOVD : PseudoInstV8<"FpMOVD">; // pseudo 64-bit double move
|
def FpMOVD : PseudoInstV8<"FpMOVD", (ops)>; // pseudo 64-bit double move
|
||||||
|
|
||||||
// Section A.3 - Synthetic Instructions, p. 85
|
// Section A.3 - Synthetic Instructions, p. 85
|
||||||
// special cases of JMPL:
|
// special cases of JMPL:
|
||||||
|
@ -35,15 +35,16 @@ include "SparcV8InstrFormats.td"
|
|||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// Pseudo instructions.
|
// Pseudo instructions.
|
||||||
class PseudoInstV8<string nm> : InstV8 {
|
class PseudoInstV8<string nm, dag ops> : InstV8 {
|
||||||
let Name = nm;
|
let Name = nm;
|
||||||
|
dag OperandList = ops;
|
||||||
}
|
}
|
||||||
def PHI : PseudoInstV8<"PHI">;
|
def PHI : PseudoInstV8<"PHI", (ops variable_ops)>;
|
||||||
def ADJCALLSTACKDOWN : PseudoInstV8<"ADJCALLSTACKDOWN">;
|
def ADJCALLSTACKDOWN : PseudoInstV8<"ADJCALLSTACKDOWN", (ops variable_ops)>;
|
||||||
def ADJCALLSTACKUP : PseudoInstV8<"ADJCALLSTACKUP">;
|
def ADJCALLSTACKUP : PseudoInstV8<"ADJCALLSTACKUP", (ops variable_ops)>;
|
||||||
def IMPLICIT_USE : PseudoInstV8<"IMPLICIT_USE">;
|
def IMPLICIT_USE : PseudoInstV8<"IMPLICIT_USE", (ops variable_ops)>;
|
||||||
def IMPLICIT_DEF : PseudoInstV8<"IMPLICIT_DEF">;
|
def IMPLICIT_DEF : PseudoInstV8<"IMPLICIT_DEF", (ops variable_ops)>;
|
||||||
def FpMOVD : PseudoInstV8<"FpMOVD">; // pseudo 64-bit double move
|
def FpMOVD : PseudoInstV8<"FpMOVD", (ops)>; // pseudo 64-bit double move
|
||||||
|
|
||||||
// Section A.3 - Synthetic Instructions, p. 85
|
// Section A.3 - Synthetic Instructions, p. 85
|
||||||
// special cases of JMPL:
|
// special cases of JMPL:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user