| 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_MACRO_ASSEMBLER_MIPS_H_ | 5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 
| 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 
| 7 | 7 | 
| 8 #include "assembler.h" | 8 #include "assembler.h" | 
| 9 #include "mips/assembler-mips.h" | 9 #include "mips/assembler-mips.h" | 
| 10 #include "v8globals.h" | 10 #include "v8globals.h" | 
| (...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 727                BranchDelaySlot bd = PROTECT); | 727                BranchDelaySlot bd = PROTECT); | 
| 728 | 728 | 
| 729   // Alternate (inline) version for better readability with USE_DELAY_SLOT. | 729   // Alternate (inline) version for better readability with USE_DELAY_SLOT. | 
| 730   inline void BranchF(BranchDelaySlot bd, | 730   inline void BranchF(BranchDelaySlot bd, | 
| 731                       Label* target, | 731                       Label* target, | 
| 732                       Label* nan, | 732                       Label* nan, | 
| 733                       Condition cc, | 733                       Condition cc, | 
| 734                       FPURegister cmp1, | 734                       FPURegister cmp1, | 
| 735                       FPURegister cmp2) { | 735                       FPURegister cmp2) { | 
| 736     BranchF(target, nan, cc, cmp1, cmp2, bd); | 736     BranchF(target, nan, cc, cmp1, cmp2, bd); | 
| 737   }; | 737   } | 
| 738 | 738 | 
| 739   // Truncates a double using a specific rounding mode, and writes the value | 739   // Truncates a double using a specific rounding mode, and writes the value | 
| 740   // to the result register. | 740   // to the result register. | 
| 741   // The except_flag will contain any exceptions caused by the instruction. | 741   // The except_flag will contain any exceptions caused by the instruction. | 
| 742   // If check_inexact is kDontCheckForInexactConversion, then the inexact | 742   // If check_inexact is kDontCheckForInexactConversion, then the inexact | 
| 743   // exception is masked. | 743   // exception is masked. | 
| 744   void EmitFPUTruncate(FPURoundingMode rounding_mode, | 744   void EmitFPUTruncate(FPURoundingMode rounding_mode, | 
| 745                        Register result, | 745                        Register result, | 
| 746                        DoubleRegister double_input, | 746                        DoubleRegister double_input, | 
| 747                        Register scratch, | 747                        Register scratch, | 
| (...skipping 903 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1651 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1651 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 
| 1652 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1652 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 
| 1653 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1653 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 
| 1654 #else | 1654 #else | 
| 1655 #define ACCESS_MASM(masm) masm-> | 1655 #define ACCESS_MASM(masm) masm-> | 
| 1656 #endif | 1656 #endif | 
| 1657 | 1657 | 
| 1658 } }  // namespace v8::internal | 1658 } }  // namespace v8::internal | 
| 1659 | 1659 | 
| 1660 #endif  // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1660 #endif  // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 
| OLD | NEW | 
|---|