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

Unified Diff: src/IceInstARM32.cpp

Issue 1635713002: Subzero. ARM32. Vector lowering. Add. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 4 years, 11 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 | « no previous file | src/IceTargetLoweringARM32.cpp » ('j') | src/IceTargetLoweringARM32.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceInstARM32.cpp
diff --git a/src/IceInstARM32.cpp b/src/IceInstARM32.cpp
index 1eeb19a0e9a7a8e875090508a9304c1095285de6..f8fe74d3887d9f7752302a230b1a36841953cc31 100644
--- a/src/IceInstARM32.cpp
+++ b/src/IceInstARM32.cpp
@@ -602,17 +602,17 @@ template <> void InstARM32Vadd::emitIAS(const Cfg *Func) const {
const Variable *Dest = getDest();
switch (Dest->getType()) {
default:
- // TODO(kschimpf) Figure if more cases are needed.
Karl 2016/01/25 20:46:36 Please do not remove this TODO, or at least leave
- Asm->setNeedsTextFixup();
+ emitUsingTextFixup(Func);
break;
case IceType_f32:
Asm->vadds(getDest(), getSrc(0), getSrc(1), CondARM32::AL);
+ assert(!Asm->needsTextFixup());
Karl 2016/01/25 20:46:36 Please leave these asserts in. It is checking whet
Eric Holk 2016/01/25 20:56:19 Thanks. I added the assert and the TODO back in.
John 2016/01/25 20:58:57 Spoke to Karl. he misread the code. OK to leave as
Eric Holk 2016/01/25 21:20:33 Karl's complaint still seems valid. The assert was
Karl 2016/01/25 21:28:23 If you add back the TODO on line 605, it is suffic
break;
case IceType_f64:
Asm->vaddd(getDest(), getSrc(0), getSrc(1), CondARM32::AL);
+ assert(!Asm->needsTextFixup());
break;
}
- assert(!Asm->needsTextFixup());
}
template <> void InstARM32Vdiv::emitIAS(const Cfg *Func) const {
« no previous file with comments | « no previous file | src/IceTargetLoweringARM32.cpp » ('j') | src/IceTargetLoweringARM32.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698