PPC/s390: TurboFan: Introduce TaggedSigned and TaggedPointer representations.
Port d941b52d73
Original commit message:
These new representations aren't used yet.
R=mvstanton@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, mbrandy@us.ibm.com
BUG=
LOG=N
Review-Url: https://codereview.chromium.org/2246213004
Cr-Commit-Position: refs/heads/master@{#38664}
This commit is contained in:
parent
ce65e10597
commit
888c67e995
@ -194,12 +194,16 @@ void InstructionSelector::VisitLoad(Node* node) {
|
||||
opcode = load_rep.IsSigned() ? kPPC_LoadWordS16 : kPPC_LoadWordU16;
|
||||
break;
|
||||
#if !V8_TARGET_ARCH_PPC64
|
||||
case MachineRepresentation::kTaggedSigned: // Fall through.
|
||||
case MachineRepresentation::kTaggedPointer: // Fall through.
|
||||
case MachineRepresentation::kTagged: // Fall through.
|
||||
#endif
|
||||
case MachineRepresentation::kWord32:
|
||||
opcode = kPPC_LoadWordU32;
|
||||
break;
|
||||
#if V8_TARGET_ARCH_PPC64
|
||||
case MachineRepresentation::kTaggedSigned: // Fall through.
|
||||
case MachineRepresentation::kTaggedPointer: // Fall through.
|
||||
case MachineRepresentation::kTagged: // Fall through.
|
||||
case MachineRepresentation::kWord64:
|
||||
opcode = kPPC_LoadWord64;
|
||||
@ -295,12 +299,16 @@ void InstructionSelector::VisitStore(Node* node) {
|
||||
opcode = kPPC_StoreWord16;
|
||||
break;
|
||||
#if !V8_TARGET_ARCH_PPC64
|
||||
case MachineRepresentation::kTaggedSigned: // Fall through.
|
||||
case MachineRepresentation::kTaggedPointer: // Fall through.
|
||||
case MachineRepresentation::kTagged: // Fall through.
|
||||
#endif
|
||||
case MachineRepresentation::kWord32:
|
||||
opcode = kPPC_StoreWord32;
|
||||
break;
|
||||
#if V8_TARGET_ARCH_PPC64
|
||||
case MachineRepresentation::kTaggedSigned: // Fall through.
|
||||
case MachineRepresentation::kTaggedPointer: // Fall through.
|
||||
case MachineRepresentation::kTagged: // Fall through.
|
||||
case MachineRepresentation::kWord64:
|
||||
opcode = kPPC_StoreWord64;
|
||||
@ -362,6 +370,8 @@ void InstructionSelector::VisitCheckedLoad(Node* node) {
|
||||
opcode = kCheckedLoadFloat64;
|
||||
break;
|
||||
case MachineRepresentation::kBit: // Fall through.
|
||||
case MachineRepresentation::kTaggedSigned: // Fall through.
|
||||
case MachineRepresentation::kTaggedPointer: // Fall through.
|
||||
case MachineRepresentation::kTagged: // Fall through.
|
||||
#if !V8_TARGET_ARCH_PPC64
|
||||
case MachineRepresentation::kWord64: // Fall through.
|
||||
@ -408,6 +418,8 @@ void InstructionSelector::VisitCheckedStore(Node* node) {
|
||||
opcode = kCheckedStoreFloat64;
|
||||
break;
|
||||
case MachineRepresentation::kBit: // Fall through.
|
||||
case MachineRepresentation::kTaggedSigned: // Fall through.
|
||||
case MachineRepresentation::kTaggedPointer: // Fall through.
|
||||
case MachineRepresentation::kTagged: // Fall through.
|
||||
#if !V8_TARGET_ARCH_PPC64
|
||||
case MachineRepresentation::kWord64: // Fall through.
|
||||
|
@ -250,12 +250,16 @@ void InstructionSelector::VisitLoad(Node* node) {
|
||||
opcode = load_rep.IsSigned() ? kS390_LoadWordS16 : kS390_LoadWordU16;
|
||||
break;
|
||||
#if !V8_TARGET_ARCH_S390X
|
||||
case MachineRepresentation::kTaggedSigned: // Fall through.
|
||||
case MachineRepresentation::kTaggedPointer: // Fall through.
|
||||
case MachineRepresentation::kTagged: // Fall through.
|
||||
#endif
|
||||
case MachineRepresentation::kWord32:
|
||||
opcode = kS390_LoadWordU32;
|
||||
break;
|
||||
#if V8_TARGET_ARCH_S390X
|
||||
case MachineRepresentation::kTaggedSigned: // Fall through.
|
||||
case MachineRepresentation::kTaggedPointer: // Fall through.
|
||||
case MachineRepresentation::kTagged: // Fall through.
|
||||
case MachineRepresentation::kWord64:
|
||||
opcode = kS390_LoadWord64;
|
||||
@ -343,6 +347,8 @@ void InstructionSelector::VisitStore(Node* node) {
|
||||
opcode = kS390_StoreWord16;
|
||||
break;
|
||||
#if !V8_TARGET_ARCH_S390X
|
||||
case MachineRepresentation::kTaggedSigned: // Fall through.
|
||||
case MachineRepresentation::kTaggedPointer: // Fall through.
|
||||
case MachineRepresentation::kTagged: // Fall through.
|
||||
#endif
|
||||
case MachineRepresentation::kWord32:
|
||||
@ -353,6 +359,8 @@ void InstructionSelector::VisitStore(Node* node) {
|
||||
}
|
||||
break;
|
||||
#if V8_TARGET_ARCH_S390X
|
||||
case MachineRepresentation::kTaggedSigned: // Fall through.
|
||||
case MachineRepresentation::kTaggedPointer: // Fall through.
|
||||
case MachineRepresentation::kTagged: // Fall through.
|
||||
case MachineRepresentation::kWord64:
|
||||
opcode = kS390_StoreWord64;
|
||||
@ -417,6 +425,8 @@ void InstructionSelector::VisitCheckedLoad(Node* node) {
|
||||
opcode = kCheckedLoadFloat64;
|
||||
break;
|
||||
case MachineRepresentation::kBit: // Fall through.
|
||||
case MachineRepresentation::kTaggedSigned: // Fall through.
|
||||
case MachineRepresentation::kTaggedPointer: // Fall through.
|
||||
case MachineRepresentation::kTagged: // Fall through.
|
||||
#if !V8_TARGET_ARCH_S390X
|
||||
case MachineRepresentation::kWord64: // Fall through.
|
||||
@ -462,6 +472,8 @@ void InstructionSelector::VisitCheckedStore(Node* node) {
|
||||
opcode = kCheckedStoreFloat64;
|
||||
break;
|
||||
case MachineRepresentation::kBit: // Fall through.
|
||||
case MachineRepresentation::kTaggedSigned: // Fall through.
|
||||
case MachineRepresentation::kTaggedPointer: // Fall through.
|
||||
case MachineRepresentation::kTagged: // Fall through.
|
||||
#if !V8_TARGET_ARCH_S390X
|
||||
case MachineRepresentation::kWord64: // Fall through.
|
||||
|
Loading…
Reference in New Issue
Block a user