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

Side by Side Diff: runtime/vm/constants_mips.h

Issue 1765623002: Use TRUNC.W instead of CVT.W on mips to convert from double to int as to not (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: address comments Created 4 years, 9 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 | « runtime/vm/assembler_mips_test.cc ('k') | runtime/vm/disassembler_mips.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_CONSTANTS_MIPS_H_ 5 #ifndef VM_CONSTANTS_MIPS_H_
6 #define VM_CONSTANTS_MIPS_H_ 6 #define VM_CONSTANTS_MIPS_H_
7 7
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 9
10 namespace dart { 10 namespace dart {
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 433
434 434
435 enum Cop1Function { 435 enum Cop1Function {
436 COP1_ADD = 0x00, 436 COP1_ADD = 0x00,
437 COP1_SUB = 0x01, 437 COP1_SUB = 0x01,
438 COP1_MUL = 0x02, 438 COP1_MUL = 0x02,
439 COP1_DIV = 0x03, 439 COP1_DIV = 0x03,
440 COP1_SQRT = 0x04, 440 COP1_SQRT = 0x04,
441 COP1_MOV = 0x06, 441 COP1_MOV = 0x06,
442 COP1_NEG = 0x07, 442 COP1_NEG = 0x07,
443 COP1_TRUNC_W = 0x0d,
443 COP1_CVT_S = 0x20, 444 COP1_CVT_S = 0x20,
444 COP1_CVT_D = 0x21, 445 COP1_CVT_D = 0x21,
445 COP1_CVT_W = 0x24,
446 COP1_C_F = 0x30, 446 COP1_C_F = 0x30,
447 COP1_C_UN = 0x31, 447 COP1_C_UN = 0x31,
448 COP1_C_EQ = 0x32, 448 COP1_C_EQ = 0x32,
449 COP1_C_UEQ = 0x33, 449 COP1_C_UEQ = 0x33,
450 COP1_C_OLT = 0x34, 450 COP1_C_OLT = 0x34,
451 COP1_C_ULT = 0x35, 451 COP1_C_ULT = 0x35,
452 COP1_C_OLE = 0x36, 452 COP1_C_OLE = 0x36,
453 COP1_C_ULE = 0x37, 453 COP1_C_ULE = 0x37,
454 }; 454 };
455 455
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
652 #endif // defined(DEBUG) 652 #endif // defined(DEBUG)
653 653
654 private: 654 private:
655 DISALLOW_ALLOCATION(); 655 DISALLOW_ALLOCATION();
656 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); 656 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr);
657 }; 657 };
658 658
659 } // namespace dart 659 } // namespace dart
660 660
661 #endif // VM_CONSTANTS_MIPS_H_ 661 #endif // VM_CONSTANTS_MIPS_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler_mips_test.cc ('k') | runtime/vm/disassembler_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698