mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +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:
parent
8deedba841
commit
1633076c47
@ -99,6 +99,14 @@ void ARMTargetLowering::addTypeForNEON(EVT VT, EVT PromotedLdStVT,
|
||||
AddPromotedToType (ISD::XOR, VT.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) {
|
||||
|
Loading…
Reference in New Issue
Block a user