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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « src/IceInstMIPS32.cpp ('k') | src/IceTargetLoweringMIPS32.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===- subzero/src/IceTargetLoweringMIPS32.h - MIPS32 lowering ---*- C++-*-===// 1 //===- subzero/src/IceTargetLoweringMIPS32.h - MIPS32 lowering ---*- C++-*-===//
2 // 2 //
3 // The Subzero Code Generator 3 // The Subzero Code Generator
4 // 4 //
5 // This file is distributed under the University of Illinois Open Source 5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details. 6 // License. See LICENSE.TXT for details.
7 // 7 //
8 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===//
9 /// 9 ///
10 /// \file 10 /// \file
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 350
351 void _mov_d(Variable *Dest, Variable *Src) { 351 void _mov_d(Variable *Dest, Variable *Src) {
352 Context.insert<InstMIPS32Mov_d>(Dest, Src); 352 Context.insert<InstMIPS32Mov_d>(Dest, Src);
353 } 353 }
354 354
355 void _mov_s(Variable *Dest, Variable *Src) { 355 void _mov_s(Variable *Dest, Variable *Src) {
356 Context.insert<InstMIPS32Mov_s>(Dest, Src); 356 Context.insert<InstMIPS32Mov_s>(Dest, Src);
357 } 357 }
358 358
359 void _movf(Variable *Src0, Variable *Src1, Operand *FCC) { 359 void _movf(Variable *Src0, Variable *Src1, Operand *FCC) {
360 Context.insert<InstMIPS32Movf>(Src0, Src1, FCC); 360 auto *Instr = Context.insert<InstMIPS32Movf>(Src0, Src1, FCC);
361 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.
361 } 362 }
362 363
363 void _movn(Variable *Dest, Variable *Src0, Variable *Src1) { 364 void _movn(Variable *Dest, Variable *Src0, Variable *Src1) {
364 Context.insert<InstMIPS32Movn>(Dest, Src0, Src1); 365 Context.insert<InstMIPS32Movn>(Dest, Src0, Src1);
365 } 366 }
366 367
367 void _movn_d(Variable *Dest, Variable *Src0, Variable *Src1) { 368 void _movn_d(Variable *Dest, Variable *Src0, Variable *Src1) {
368 Context.insert<InstMIPS32Movn_d>(Dest, Src0, Src1); 369 Context.insert<InstMIPS32Movn_d>(Dest, Src0, Src1);
369 } 370 }
370 371
371 void _movn_s(Variable *Dest, Variable *Src0, Variable *Src1) { 372 void _movn_s(Variable *Dest, Variable *Src0, Variable *Src1) {
372 Context.insert<InstMIPS32Movn_s>(Dest, Src0, Src1); 373 Context.insert<InstMIPS32Movn_s>(Dest, Src0, Src1);
373 } 374 }
374 375
375 void _movt(Variable *Src0, Variable *Src1, Operand *FCC) { 376 void _movt(Variable *Src0, Variable *Src1, Operand *FCC) {
376 Context.insert<InstMIPS32Movt>(Src0, Src1, FCC); 377 auto *Instr = Context.insert<InstMIPS32Movt>(Src0, Src1, FCC);
378 Instr->setDestRedefined();
377 } 379 }
378 380
379 void _movz(Variable *Dest, Variable *Src0, Variable *Src1) { 381 void _movz(Variable *Dest, Variable *Src0, Variable *Src1) {
380 Context.insert<InstMIPS32Movz>(Dest, Src0, Src1); 382 Context.insert<InstMIPS32Movz>(Dest, Src0, Src1);
381 } 383 }
382 384
383 void _movz_d(Variable *Dest, Variable *Src0, Variable *Src1) { 385 void _movz_d(Variable *Dest, Variable *Src0, Variable *Src1) {
384 Context.insert<InstMIPS32Movz_d>(Dest, Src0, Src1); 386 Context.insert<InstMIPS32Movz_d>(Dest, Src0, Src1);
385 } 387 }
386 388
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
847 explicit TargetHeaderMIPS32(GlobalContext *Ctx); 849 explicit TargetHeaderMIPS32(GlobalContext *Ctx);
848 850
849 private: 851 private:
850 ~TargetHeaderMIPS32() = default; 852 ~TargetHeaderMIPS32() = default;
851 }; 853 };
852 854
853 } // end of namespace MIPS32 855 } // end of namespace MIPS32
854 } // end of namespace Ice 856 } // end of namespace Ice
855 857
856 #endif // SUBZERO_SRC_ICETARGETLOWERINGMIPS32_H 858 #endif // SUBZERO_SRC_ICETARGETLOWERINGMIPS32_H
OLDNEW
« 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