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

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: Addressed review comments 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 | « no previous file | 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 auto *Instr = Context.insert<InstMIPS32Movf>(Src0, Src1, FCC); 360 Context.insert<InstMIPS32Movf>(Src0, Src1, FCC);
361 Instr->setDestRedefined();
362 } 361 }
363 362
364 void _movn(Variable *Dest, Variable *Src0, Variable *Src1) { 363 void _movn(Variable *Dest, Variable *Src0, Variable *Src1) {
365 Context.insert<InstMIPS32Movn>(Dest, Src0, Src1); 364 Context.insert<InstMIPS32Movn>(Dest, Src0, Src1);
366 } 365 }
367 366
368 void _movn_d(Variable *Dest, Variable *Src0, Variable *Src1) { 367 void _movn_d(Variable *Dest, Variable *Src0, Variable *Src1) {
369 Context.insert<InstMIPS32Movn_d>(Dest, Src0, Src1); 368 Context.insert<InstMIPS32Movn_d>(Dest, Src0, Src1);
370 } 369 }
371 370
372 void _movn_s(Variable *Dest, Variable *Src0, Variable *Src1) { 371 void _movn_s(Variable *Dest, Variable *Src0, Variable *Src1) {
373 Context.insert<InstMIPS32Movn_s>(Dest, Src0, Src1); 372 Context.insert<InstMIPS32Movn_s>(Dest, Src0, Src1);
374 } 373 }
375 374
376 void _movt(Variable *Src0, Variable *Src1, Operand *FCC) { 375 void _movt(Variable *Src0, Variable *Src1, Operand *FCC) {
377 auto *Instr = Context.insert<InstMIPS32Movt>(Src0, Src1, FCC); 376 Context.insert<InstMIPS32Movt>(Src0, Src1, FCC);
378 Instr->setDestRedefined();
379 } 377 }
380 378
381 void _movz(Variable *Dest, Variable *Src0, Variable *Src1) { 379 void _movz(Variable *Dest, Variable *Src0, Variable *Src1) {
382 Context.insert<InstMIPS32Movz>(Dest, Src0, Src1); 380 Context.insert<InstMIPS32Movz>(Dest, Src0, Src1);
383 } 381 }
384 382
385 void _movz_d(Variable *Dest, Variable *Src0, Variable *Src1) { 383 void _movz_d(Variable *Dest, Variable *Src0, Variable *Src1) {
386 Context.insert<InstMIPS32Movz_d>(Dest, Src0, Src1); 384 Context.insert<InstMIPS32Movz_d>(Dest, Src0, Src1);
387 } 385 }
388 386
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
849 explicit TargetHeaderMIPS32(GlobalContext *Ctx); 847 explicit TargetHeaderMIPS32(GlobalContext *Ctx);
850 848
851 private: 849 private:
852 ~TargetHeaderMIPS32() = default; 850 ~TargetHeaderMIPS32() = default;
853 }; 851 };
854 852
855 } // end of namespace MIPS32 853 } // end of namespace MIPS32
856 } // end of namespace Ice 854 } // end of namespace Ice
857 855
858 #endif // SUBZERO_SRC_ICETARGETLOWERINGMIPS32_H 856 #endif // SUBZERO_SRC_ICETARGETLOWERINGMIPS32_H
OLDNEW
« no previous file with comments | « no previous file | src/IceTargetLoweringMIPS32.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698