OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 714 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
725 | 725 |
726 template <typename T> | 726 template <typename T> |
727 T FPMin(T a, T b); | 727 T FPMin(T a, T b); |
728 | 728 |
729 template <typename T> | 729 template <typename T> |
730 T FPMaxNM(T a, T b); | 730 T FPMaxNM(T a, T b); |
731 | 731 |
732 template <typename T> | 732 template <typename T> |
733 T FPMinNM(T a, T b); | 733 T FPMinNM(T a, T b); |
734 | 734 |
735 void CheckStackAlignment(); | |
736 | |
737 inline void CheckPCSComplianceAndRun(); | 735 inline void CheckPCSComplianceAndRun(); |
738 | 736 |
739 #ifdef DEBUG | 737 #ifdef DEBUG |
740 // Corruption values should have their least significant byte cleared to | 738 // Corruption values should have their least significant byte cleared to |
741 // allow the code of the register being corrupted to be inserted. | 739 // allow the code of the register being corrupted to be inserted. |
742 static const uint64_t kCallerSavedRegisterCorruptionValue = | 740 static const uint64_t kCallerSavedRegisterCorruptionValue = |
743 0xca11edc0de000000UL; | 741 0xca11edc0de000000UL; |
744 // This value is a NaN in both 32-bit and 64-bit FP. | 742 // This value is a NaN in both 32-bit and 64-bit FP. |
745 static const uint64_t kCallerSavedFPRegisterCorruptionValue = | 743 static const uint64_t kCallerSavedFPRegisterCorruptionValue = |
746 0x7ff000007f801000UL; | 744 0x7ff000007f801000UL; |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
874 static void UnregisterCTryCatch() { | 872 static void UnregisterCTryCatch() { |
875 Simulator::current(Isolate::Current())->PopAddress(); | 873 Simulator::current(Isolate::Current())->PopAddress(); |
876 } | 874 } |
877 }; | 875 }; |
878 | 876 |
879 #endif // !defined(USE_SIMULATOR) | 877 #endif // !defined(USE_SIMULATOR) |
880 | 878 |
881 } } // namespace v8::internal | 879 } } // namespace v8::internal |
882 | 880 |
883 #endif // V8_A64_SIMULATOR_A64_H_ | 881 #endif // V8_A64_SIMULATOR_A64_H_ |
OLD | NEW |