OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_MIPS_CONSTANTS_H_ | 5 #ifndef V8_MIPS_CONSTANTS_H_ |
6 #define V8_MIPS_CONSTANTS_H_ | 6 #define V8_MIPS_CONSTANTS_H_ |
7 | 7 |
8 // UNIMPLEMENTED_ macro for MIPS. | 8 // UNIMPLEMENTED_ macro for MIPS. |
9 #ifdef DEBUG | 9 #ifdef DEBUG |
10 #define UNIMPLEMENTED_MIPS() \ | 10 #define UNIMPLEMENTED_MIPS() \ |
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
517 case less: | 517 case less: |
518 return greater; | 518 return greater; |
519 case greater: | 519 case greater: |
520 return less; | 520 return less; |
521 case greater_equal: | 521 case greater_equal: |
522 return less_equal; | 522 return less_equal; |
523 case less_equal: | 523 case less_equal: |
524 return greater_equal; | 524 return greater_equal; |
525 default: | 525 default: |
526 return cc; | 526 return cc; |
527 }; | 527 } |
528 } | 528 } |
529 | 529 |
530 | 530 |
531 // ----- Coprocessor conditions. | 531 // ----- Coprocessor conditions. |
532 enum FPUCondition { | 532 enum FPUCondition { |
533 kNoFPUCondition = -1, | 533 kNoFPUCondition = -1, |
534 | 534 |
535 F = 0, // False. | 535 F = 0, // False. |
536 UN = 1, // Unordered. | 536 UN = 1, // Unordered. |
537 EQ = 2, // Equal. | 537 EQ = 2, // Equal. |
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
809 // JS argument slots size. | 809 // JS argument slots size. |
810 const int kJSArgsSlotsSize = 0 * Instruction::kInstrSize; | 810 const int kJSArgsSlotsSize = 0 * Instruction::kInstrSize; |
811 // Assembly builtins argument slots size. | 811 // Assembly builtins argument slots size. |
812 const int kBArgsSlotsSize = 0 * Instruction::kInstrSize; | 812 const int kBArgsSlotsSize = 0 * Instruction::kInstrSize; |
813 | 813 |
814 const int kBranchReturnOffset = 2 * Instruction::kInstrSize; | 814 const int kBranchReturnOffset = 2 * Instruction::kInstrSize; |
815 | 815 |
816 } } // namespace v8::internal | 816 } } // namespace v8::internal |
817 | 817 |
818 #endif // #ifndef V8_MIPS_CONSTANTS_H_ | 818 #endif // #ifndef V8_MIPS_CONSTANTS_H_ |
OLD | NEW |