mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 03:24:09 +00:00
Neon does not support vector divide or remainder. Expand them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81966 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -99,6 +99,14 @@ void ARMTargetLowering::addTypeForNEON(EVT VT, EVT PromotedLdStVT,
|
|||||||
AddPromotedToType (ISD::XOR, VT.getSimpleVT(),
|
AddPromotedToType (ISD::XOR, VT.getSimpleVT(),
|
||||||
PromotedBitwiseVT.getSimpleVT());
|
PromotedBitwiseVT.getSimpleVT());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Neon does not support vector divide/remainder operations.
|
||||||
|
setOperationAction(ISD::SDIV, VT.getSimpleVT(), Expand);
|
||||||
|
setOperationAction(ISD::UDIV, VT.getSimpleVT(), Expand);
|
||||||
|
setOperationAction(ISD::FDIV, VT.getSimpleVT(), Expand);
|
||||||
|
setOperationAction(ISD::SREM, VT.getSimpleVT(), Expand);
|
||||||
|
setOperationAction(ISD::UREM, VT.getSimpleVT(), Expand);
|
||||||
|
setOperationAction(ISD::FREM, VT.getSimpleVT(), Expand);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ARMTargetLowering::addDRTypeForNEON(EVT VT) {
|
void ARMTargetLowering::addDRTypeForNEON(EVT VT) {
|
||||||
|
Reference in New Issue
Block a user