Commit 32e7b919 authored by zhengxing.li's avatar zhengxing.li Committed by Commit bot

X87: TurboFan: Introduce TaggedSigned and TaggedPointer representations.

  port d941b52d (r38657)

  original commit message:
  These new representations aren't used yet.

BUG=

Review-Url: https://codereview.chromium.org/2277473004
Cr-Commit-Position: refs/heads/master@{#38849}
parent 5524cbf5
...@@ -187,7 +187,9 @@ void InstructionSelector::VisitLoad(Node* node) { ...@@ -187,7 +187,9 @@ void InstructionSelector::VisitLoad(Node* node) {
case MachineRepresentation::kWord16: case MachineRepresentation::kWord16:
opcode = load_rep.IsSigned() ? kX87Movsxwl : kX87Movzxwl; opcode = load_rep.IsSigned() ? kX87Movsxwl : kX87Movzxwl;
break; break;
case MachineRepresentation::kTagged: // Fall through. case MachineRepresentation::kTaggedSigned: // Fall through.
case MachineRepresentation::kTaggedPointer: // Fall through.
case MachineRepresentation::kTagged: // Fall through.
case MachineRepresentation::kWord32: case MachineRepresentation::kWord32:
opcode = kX87Movl; opcode = kX87Movl;
break; break;
...@@ -271,7 +273,9 @@ void InstructionSelector::VisitStore(Node* node) { ...@@ -271,7 +273,9 @@ void InstructionSelector::VisitStore(Node* node) {
case MachineRepresentation::kWord16: case MachineRepresentation::kWord16:
opcode = kX87Movw; opcode = kX87Movw;
break; break;
case MachineRepresentation::kTagged: // Fall through. case MachineRepresentation::kTaggedSigned: // Fall through.
case MachineRepresentation::kTaggedPointer: // Fall through.
case MachineRepresentation::kTagged: // Fall through.
case MachineRepresentation::kWord32: case MachineRepresentation::kWord32:
opcode = kX87Movl; opcode = kX87Movl;
break; break;
...@@ -333,10 +337,12 @@ void InstructionSelector::VisitCheckedLoad(Node* node) { ...@@ -333,10 +337,12 @@ void InstructionSelector::VisitCheckedLoad(Node* node) {
case MachineRepresentation::kFloat64: case MachineRepresentation::kFloat64:
opcode = kCheckedLoadFloat64; opcode = kCheckedLoadFloat64;
break; break;
case MachineRepresentation::kBit: // Fall through. case MachineRepresentation::kBit: // Fall through.
case MachineRepresentation::kTagged: // Fall through. case MachineRepresentation::kTaggedSigned: // Fall through.
case MachineRepresentation::kWord64: // Fall through. case MachineRepresentation::kTaggedPointer: // Fall through.
case MachineRepresentation::kSimd128: // Fall through. case MachineRepresentation::kTagged: // Fall through.
case MachineRepresentation::kWord64: // Fall through.
case MachineRepresentation::kSimd128: // Fall through.
case MachineRepresentation::kNone: case MachineRepresentation::kNone:
UNREACHABLE(); UNREACHABLE();
return; return;
...@@ -380,10 +386,12 @@ void InstructionSelector::VisitCheckedStore(Node* node) { ...@@ -380,10 +386,12 @@ void InstructionSelector::VisitCheckedStore(Node* node) {
case MachineRepresentation::kFloat64: case MachineRepresentation::kFloat64:
opcode = kCheckedStoreFloat64; opcode = kCheckedStoreFloat64;
break; break;
case MachineRepresentation::kBit: // Fall through. case MachineRepresentation::kBit: // Fall through.
case MachineRepresentation::kTagged: // Fall through. case MachineRepresentation::kTaggedSigned: // Fall through.
case MachineRepresentation::kWord64: // Fall through. case MachineRepresentation::kTaggedPointer: // Fall through.
case MachineRepresentation::kSimd128: // Fall through. case MachineRepresentation::kTagged: // Fall through.
case MachineRepresentation::kWord64: // Fall through.
case MachineRepresentation::kSimd128: // Fall through.
case MachineRepresentation::kNone: case MachineRepresentation::kNone:
UNREACHABLE(); UNREACHABLE();
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment