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

Unified Diff: src/IceTargetLoweringMIPS32.h

Issue 2339323004: [SubZero] Use DIV instruction instead of TargetHelperCall (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 4 years, 3 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
Index: src/IceTargetLoweringMIPS32.h
diff --git a/src/IceTargetLoweringMIPS32.h b/src/IceTargetLoweringMIPS32.h
index 5cc412f2ad290bb27adcff09cc36b0c1945bf127..238e030efb957ee418406c2524c7fc6301241b8d 100644
--- a/src/IceTargetLoweringMIPS32.h
+++ b/src/IceTargetLoweringMIPS32.h
@@ -287,6 +287,10 @@ public:
Context.insert<InstMIPS32Cvt_s_w>(Dest, Src);
}
+ void _teq(Variable *Src0, Variable *Src1, const uint32_t TrapCode) {
+ Context.insert<InstMIPS32Teq>(Src0, Src1, TrapCode);
+ }
+
obucinac 2016/09/16 10:30:42 Alphabetize
jaydeep.patil 2016/09/16 10:39:07 Done.
void _div(Variable *Dest, Variable *Src0, Variable *Src1) {
Context.insert<InstMIPS32Div>(Dest, Src0, Src1);
}

Powered by Google App Engine
This is Rietveld 408576698