Commit ada169ed authored by Milad Fa's avatar Milad Fa Committed by V8 LUCI CQ

PPC: remove unused opcodes from codegen

Change-Id: I6f0bdcedb55bc673ac7381ac94bca3e17e360e21
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3097449
Commit-Queue: Milad Fa <mfarazma@redhat.com>
Reviewed-by: 's avatarJunliang Yan <junyan@redhat.com>
Cr-Commit-Position: refs/heads/master@{#76328}
parent 9aaf6642
......@@ -2012,15 +2012,7 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction(
break;
}
case kAtomicLoadInt8:
case kPPC_AtomicLoadUint8:
case kAtomicLoadInt16:
case kPPC_AtomicLoadUint16:
case kPPC_AtomicLoadWord32:
case kPPC_AtomicLoadWord64:
case kPPC_AtomicStoreUint8:
case kPPC_AtomicStoreUint16:
case kPPC_AtomicStoreWord32:
case kPPC_AtomicStoreWord64:
UNREACHABLE();
case kAtomicExchangeInt8:
ASSEMBLE_ATOMIC_EXCHANGE_INTEGER(lbarx, stbcx);
......
......@@ -141,14 +141,6 @@ namespace compiler {
V(PPC_CompressSigned) \
V(PPC_CompressPointer) \
V(PPC_CompressAny) \
V(PPC_AtomicStoreUint8) \
V(PPC_AtomicStoreUint16) \
V(PPC_AtomicStoreWord32) \
V(PPC_AtomicStoreWord64) \
V(PPC_AtomicLoadUint8) \
V(PPC_AtomicLoadUint16) \
V(PPC_AtomicLoadWord32) \
V(PPC_AtomicLoadWord64) \
V(PPC_AtomicExchangeUint8) \
V(PPC_AtomicExchangeUint16) \
V(PPC_AtomicExchangeWord32) \
......
......@@ -332,10 +332,6 @@ int InstructionScheduler::GetTargetInstructionFlags(
case kPPC_LoadFloat32:
case kPPC_LoadDouble:
case kPPC_LoadSimd128:
case kPPC_AtomicLoadUint8:
case kPPC_AtomicLoadUint16:
case kPPC_AtomicLoadWord32:
case kPPC_AtomicLoadWord64:
case kPPC_Peek:
case kPPC_LoadDecompressTaggedSigned:
case kPPC_LoadDecompressTaggedPointer:
......@@ -378,10 +374,6 @@ int InstructionScheduler::GetTargetInstructionFlags(
case kPPC_S128Store64Lane:
return kHasSideEffect;
case kPPC_AtomicStoreUint8:
case kPPC_AtomicStoreUint16:
case kPPC_AtomicStoreWord32:
case kPPC_AtomicStoreWord64:
case kPPC_AtomicExchangeUint8:
case kPPC_AtomicExchangeUint16:
case kPPC_AtomicExchangeWord32:
......
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