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

Unified Diff: src/IceTargetLoweringMIPS32.h

Issue 2357143002: [SubZero] Fix floating-point comparison for MIPS (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
« no previous file with comments | « src/IceInstMIPS32.cpp ('k') | src/IceTargetLoweringMIPS32.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceTargetLoweringMIPS32.h
diff --git a/src/IceTargetLoweringMIPS32.h b/src/IceTargetLoweringMIPS32.h
index 5f3de513e72d1b24fa58090a0361d21816736ddf..7e87f0435ad41c4d8498f117e02b210005419155 100644
--- a/src/IceTargetLoweringMIPS32.h
+++ b/src/IceTargetLoweringMIPS32.h
@@ -357,7 +357,8 @@ public:
}
void _movf(Variable *Src0, Variable *Src1, Operand *FCC) {
- Context.insert<InstMIPS32Movf>(Src0, Src1, FCC);
+ auto *Instr = Context.insert<InstMIPS32Movf>(Src0, Src1, FCC);
+ Instr->setDestRedefined();
Jim Stichnoth 2016/09/21 17:07:10 Sorry, I missed this the first time. You should b
jaydeep.patil 2016/09/22 03:07:58 Done.
}
void _movn(Variable *Dest, Variable *Src0, Variable *Src1) {
@@ -373,7 +374,8 @@ public:
}
void _movt(Variable *Src0, Variable *Src1, Operand *FCC) {
- Context.insert<InstMIPS32Movt>(Src0, Src1, FCC);
+ auto *Instr = Context.insert<InstMIPS32Movt>(Src0, Src1, FCC);
+ Instr->setDestRedefined();
}
void _movz(Variable *Dest, Variable *Src0, Variable *Src1) {
« no previous file with comments | « src/IceInstMIPS32.cpp ('k') | src/IceTargetLoweringMIPS32.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698