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: Junliang Yan <junyan@redhat.com> Cr-Commit-Position: refs/heads/master@{#76328}
This commit is contained in:
parent
9aaf664253
commit
ada169ed4f
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user