Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1514)

Unified Diff: src/IceTargetLoweringARM32.cpp

Issue 1685253003: ARM32 vector lowering: fabs, scalarize remaining arithmetic operations. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Nits Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pydir/crosstest.py ('k') | tests_lit/assembler/arm32/asr.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceTargetLoweringARM32.cpp
diff --git a/src/IceTargetLoweringARM32.cpp b/src/IceTargetLoweringARM32.cpp
index 1eaec8b69a9a5864fc962f9ff4dd5591c5e86dc1..9db8a77df15ea193d9b297c07605fba03817ae69 100644
--- a/src/IceTargetLoweringARM32.cpp
+++ b/src/IceTargetLoweringARM32.cpp
@@ -447,9 +447,15 @@ void TargetARM32::genTargetHelperCallFor(Inst *Instr) {
switch (Op) {
default:
break;
+ case InstArithmetic::Ashr:
case InstArithmetic::Fdiv:
- case InstArithmetic::Udiv:
+ case InstArithmetic::Frem:
+ case InstArithmetic::Lshr:
case InstArithmetic::Sdiv:
+ case InstArithmetic::Shl:
+ case InstArithmetic::Srem:
+ case InstArithmetic::Udiv:
+ case InstArithmetic::Urem:
scalarizeArithmetic(Op, Dest, Instr->getSrc(0), Instr->getSrc(1));
Instr->setDeleted();
return;
« no previous file with comments | « pydir/crosstest.py ('k') | tests_lit/assembler/arm32/asr.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698