Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 371 TNEI = 14, | 371 TNEI = 14, |
| 372 BLTZAL = 16, | 372 BLTZAL = 16, |
| 373 BGEZAL = 17, | 373 BGEZAL = 17, |
| 374 BLTZALL = 18, | 374 BLTZALL = 18, |
| 375 BGEZALL = 19, | 375 BGEZALL = 19, |
| 376 SYNCI = 31, | 376 SYNCI = 31, |
| 377 }; | 377 }; |
| 378 | 378 |
| 379 | 379 |
| 380 enum Cop1Function { | 380 enum Cop1Function { |
| 381 COP1_ADD = 0, | 381 COP1_ADD = 0x00, |
| 382 COP1_MOV = 6, | 382 COP1_SUB = 0x01, |
| 383 COP1_MUL = 0x02, | |
| 384 COP1_DIV = 0x03, | |
| 385 COP1_SQRT = 0x04, | |
| 386 COP1_MOV = 0x06, | |
| 383 COP1_CVT_D = 0x21, // 100001 | 387 COP1_CVT_D = 0x21, // 100001 |
|
regis
2013/05/16 21:00:33
You should remove the binary representation commen
zra
2013/05/16 21:15:19
Done.
| |
| 388 COP1_CVT_W = 0x24, // 100100 | |
| 384 COP1_C_F = 0x30, // 110000 | 389 COP1_C_F = 0x30, // 110000 |
| 385 COP1_C_UN = 0x31, // 110001 | 390 COP1_C_UN = 0x31, // 110001 |
| 386 COP1_C_EQ = 0x32, // 110010 | 391 COP1_C_EQ = 0x32, // 110010 |
| 387 COP1_C_UEQ = 0x33, // 110011 | 392 COP1_C_UEQ = 0x33, // 110011 |
| 388 COP1_C_OLT = 0x34, // 110100 | 393 COP1_C_OLT = 0x34, // 110100 |
| 389 COP1_C_ULT = 0x35, // 110101 | 394 COP1_C_ULT = 0x35, // 110101 |
| 390 COP1_C_OLE = 0x36, // 110110 | 395 COP1_C_OLE = 0x36, // 110110 |
| 391 COP1_C_ULE = 0x37, // 110111 | 396 COP1_C_ULE = 0x37, // 110111 |
| 392 }; | 397 }; |
| 393 | 398 |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 557 #endif // defined(DEBUG) | 562 #endif // defined(DEBUG) |
| 558 | 563 |
| 559 private: | 564 private: |
| 560 DISALLOW_ALLOCATION(); | 565 DISALLOW_ALLOCATION(); |
| 561 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); | 566 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); |
| 562 }; | 567 }; |
| 563 | 568 |
| 564 } // namespace dart | 569 } // namespace dart |
| 565 | 570 |
| 566 #endif // VM_CONSTANTS_MIPS_H_ | 571 #endif // VM_CONSTANTS_MIPS_H_ |
| OLD | NEW |