[loong64][mips] Introduce CagedPointer
Port commit afd1554963
Since V8 heap sandbox requires pointer compression, which is not
implemented on mips64 and loong64 ports, so I just fix the build
issue in this CL.
Change-Id: Ie8f9d070c6149d85c2c870e882199ede2ebfe317
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3255207
Auto-Submit: Zhao Jiazhong <zhaojiazhong-hf@loongson.cn>
Reviewed-by: Liu yu <liuyu@loongson.cn>
Commit-Queue: Zhao Jiazhong <zhaojiazhong-hf@loongson.cn>
Cr-Commit-Position: refs/heads/main@{#77633}
This commit is contained in:
parent
0ba885943a
commit
8f93d342d7
@ -467,6 +467,7 @@ void InstructionSelector::VisitLoad(Node* node) {
|
||||
break;
|
||||
case MachineRepresentation::kCompressedPointer: // Fall through.
|
||||
case MachineRepresentation::kCompressed: // Fall through.
|
||||
case MachineRepresentation::kCagedPointer: // Fall through.
|
||||
case MachineRepresentation::kMapWord: // Fall through.
|
||||
case MachineRepresentation::kNone:
|
||||
case MachineRepresentation::kSimd128:
|
||||
@ -545,6 +546,7 @@ void InstructionSelector::VisitStore(Node* node) {
|
||||
break;
|
||||
case MachineRepresentation::kCompressedPointer: // Fall through.
|
||||
case MachineRepresentation::kCompressed: // Fall through.
|
||||
case MachineRepresentation::kCagedPointer: // Fall through.
|
||||
case MachineRepresentation::kMapWord: // Fall through.
|
||||
case MachineRepresentation::kNone:
|
||||
case MachineRepresentation::kSimd128:
|
||||
|
@ -370,6 +370,7 @@ void InstructionSelector::VisitLoad(Node* node) {
|
||||
break;
|
||||
case MachineRepresentation::kCompressedPointer: // Fall through.
|
||||
case MachineRepresentation::kCompressed: // Fall through.
|
||||
case MachineRepresentation::kCagedPointer: // Fall through.
|
||||
case MachineRepresentation::kWord64: // Fall through.
|
||||
case MachineRepresentation::kMapWord: // Fall through.
|
||||
case MachineRepresentation::kNone:
|
||||
@ -450,6 +451,7 @@ void InstructionSelector::VisitStore(Node* node) {
|
||||
break;
|
||||
case MachineRepresentation::kCompressedPointer: // Fall through.
|
||||
case MachineRepresentation::kCompressed: // Fall through.
|
||||
case MachineRepresentation::kCagedPointer: // Fall through.
|
||||
case MachineRepresentation::kWord64: // Fall through.
|
||||
case MachineRepresentation::kMapWord: // Fall through.
|
||||
case MachineRepresentation::kNone:
|
||||
@ -1426,6 +1428,7 @@ void InstructionSelector::VisitUnalignedLoad(Node* node) {
|
||||
case MachineRepresentation::kBit: // Fall through.
|
||||
case MachineRepresentation::kCompressedPointer: // Fall through.
|
||||
case MachineRepresentation::kCompressed: // Fall through.
|
||||
case MachineRepresentation::kCagedPointer: // Fall through.
|
||||
case MachineRepresentation::kWord64: // Fall through.
|
||||
case MachineRepresentation::kMapWord: // Fall through.
|
||||
case MachineRepresentation::kNone:
|
||||
@ -1480,6 +1483,7 @@ void InstructionSelector::VisitUnalignedStore(Node* node) {
|
||||
case MachineRepresentation::kBit: // Fall through.
|
||||
case MachineRepresentation::kCompressedPointer: // Fall through.
|
||||
case MachineRepresentation::kCompressed: // Fall through.
|
||||
case MachineRepresentation::kCagedPointer: // Fall through.
|
||||
case MachineRepresentation::kWord64: // Fall through.
|
||||
case MachineRepresentation::kMapWord: // Fall through.
|
||||
case MachineRepresentation::kNone:
|
||||
|
@ -503,6 +503,7 @@ void InstructionSelector::VisitLoad(Node* node) {
|
||||
opcode = kMips64MsaLd;
|
||||
break;
|
||||
case MachineRepresentation::kCompressedPointer: // Fall through.
|
||||
case MachineRepresentation::kCagedPointer: // Fall through.
|
||||
case MachineRepresentation::kCompressed: // Fall through.
|
||||
case MachineRepresentation::kMapWord: // Fall through.
|
||||
case MachineRepresentation::kNone:
|
||||
@ -576,6 +577,7 @@ void InstructionSelector::VisitStore(Node* node) {
|
||||
break;
|
||||
case MachineRepresentation::kCompressedPointer: // Fall through.
|
||||
case MachineRepresentation::kCompressed: // Fall through.
|
||||
case MachineRepresentation::kCagedPointer: // Fall through.
|
||||
case MachineRepresentation::kMapWord: // Fall through.
|
||||
case MachineRepresentation::kNone:
|
||||
UNREACHABLE();
|
||||
@ -1861,6 +1863,7 @@ void InstructionSelector::VisitUnalignedLoad(Node* node) {
|
||||
case MachineRepresentation::kBit: // Fall through.
|
||||
case MachineRepresentation::kCompressedPointer: // Fall through.
|
||||
case MachineRepresentation::kCompressed: // Fall through.
|
||||
case MachineRepresentation::kCagedPointer: // Fall through.
|
||||
case MachineRepresentation::kMapWord: // Fall through.
|
||||
case MachineRepresentation::kNone:
|
||||
UNREACHABLE();
|
||||
@ -1915,6 +1918,7 @@ void InstructionSelector::VisitUnalignedStore(Node* node) {
|
||||
case MachineRepresentation::kBit: // Fall through.
|
||||
case MachineRepresentation::kCompressedPointer: // Fall through.
|
||||
case MachineRepresentation::kCompressed: // Fall through.
|
||||
case MachineRepresentation::kCagedPointer: // Fall through.
|
||||
case MachineRepresentation::kMapWord: // Fall through.
|
||||
case MachineRepresentation::kNone:
|
||||
UNREACHABLE();
|
||||
|
Loading…
Reference in New Issue
Block a user