mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-06 04:31:08 +00:00
PowerPC instruction definitions use LittleEndian-style encoding [0..31]
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16977 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
99ee67ab19
commit
315d3341fd
@ -27,6 +27,8 @@ def PowerPCInstrInfo : InstrInfo {
|
|||||||
let TSFlagsFields = ["ArgCount", "Arg0Type", "Arg1Type", "Arg2Type",
|
let TSFlagsFields = ["ArgCount", "Arg0Type", "Arg1Type", "Arg2Type",
|
||||||
"Arg3Type", "Arg4Type", "VMX", "PPC64"];
|
"Arg3Type", "Arg4Type", "VMX", "PPC64"];
|
||||||
let TSFlagsShifts = [ 0, 3, 8, 13, 18, 23, 28, 29 ];
|
let TSFlagsShifts = [ 0, 3, 8, 13, 18, 23, 28, 29 ];
|
||||||
|
|
||||||
|
let isLittleEndianEncoding = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
def PPC32 : Target {
|
def PPC32 : Target {
|
||||||
|
@ -27,6 +27,8 @@ def PowerPCInstrInfo : InstrInfo {
|
|||||||
let TSFlagsFields = ["ArgCount", "Arg0Type", "Arg1Type", "Arg2Type",
|
let TSFlagsFields = ["ArgCount", "Arg0Type", "Arg1Type", "Arg2Type",
|
||||||
"Arg3Type", "Arg4Type", "VMX", "PPC64"];
|
"Arg3Type", "Arg4Type", "VMX", "PPC64"];
|
||||||
let TSFlagsShifts = [ 0, 3, 8, 13, 18, 23, 28, 29 ];
|
let TSFlagsShifts = [ 0, 3, 8, 13, 18, 23, 28, 29 ];
|
||||||
|
|
||||||
|
let isLittleEndianEncoding = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
def PPC64 : Target {
|
def PPC64 : Target {
|
||||||
|
@ -27,6 +27,8 @@ def PowerPCInstrInfo : InstrInfo {
|
|||||||
let TSFlagsFields = ["ArgCount", "Arg0Type", "Arg1Type", "Arg2Type",
|
let TSFlagsFields = ["ArgCount", "Arg0Type", "Arg1Type", "Arg2Type",
|
||||||
"Arg3Type", "Arg4Type", "VMX", "PPC64"];
|
"Arg3Type", "Arg4Type", "VMX", "PPC64"];
|
||||||
let TSFlagsShifts = [ 0, 3, 8, 13, 18, 23, 28, 29 ];
|
let TSFlagsShifts = [ 0, 3, 8, 13, 18, 23, 28, 29 ];
|
||||||
|
|
||||||
|
let isLittleEndianEncoding = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
def PowerPC : Target {
|
def PowerPC : Target {
|
||||||
|
Loading…
Reference in New Issue
Block a user