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 11 matching lines...) Expand all Loading... |
22 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 22 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
23 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 23 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | 27 |
28 #ifndef V8_ARM64_TEST_UTILS_ARM64_H_ | 28 #ifndef V8_ARM64_TEST_UTILS_ARM64_H_ |
29 #define V8_ARM64_TEST_UTILS_ARM64_H_ | 29 #define V8_ARM64_TEST_UTILS_ARM64_H_ |
30 | 30 |
31 #include "src/v8.h" | 31 #include "src/v8.h" |
| 32 #include "test/cctest/cctest.h" |
32 | 33 |
33 #include "src/macro-assembler.h" | |
34 #include "src/arm64/macro-assembler-arm64.h" | 34 #include "src/arm64/macro-assembler-arm64.h" |
35 #include "src/arm64/utils-arm64.h" | 35 #include "src/arm64/utils-arm64.h" |
36 #include "test/cctest/cctest.h" | 36 #include "src/macro-assembler.h" |
37 | 37 |
38 | 38 |
39 using namespace v8::internal; | 39 using namespace v8::internal; |
40 | 40 |
41 | 41 |
42 // RegisterDump: Object allowing integer, floating point and flags registers | 42 // RegisterDump: Object allowing integer, floating point and flags registers |
43 // to be saved to itself for future reference. | 43 // to be saved to itself for future reference. |
44 class RegisterDump { | 44 class RegisterDump { |
45 public: | 45 public: |
46 RegisterDump() : completed_(false) {} | 46 RegisterDump() : completed_(false) {} |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 // As Clobber, but for FP registers. | 224 // As Clobber, but for FP registers. |
225 void ClobberFP(MacroAssembler* masm, RegList reg_list, | 225 void ClobberFP(MacroAssembler* masm, RegList reg_list, |
226 double const value = kFP64SignallingNaN); | 226 double const value = kFP64SignallingNaN); |
227 | 227 |
228 // As Clobber, but for a CPURegList with either FP or integer registers. When | 228 // As Clobber, but for a CPURegList with either FP or integer registers. When |
229 // using this method, the clobber value is always the default for the basic | 229 // using this method, the clobber value is always the default for the basic |
230 // Clobber or ClobberFP functions. | 230 // Clobber or ClobberFP functions. |
231 void Clobber(MacroAssembler* masm, CPURegList reg_list); | 231 void Clobber(MacroAssembler* masm, CPURegList reg_list); |
232 | 232 |
233 #endif // V8_ARM64_TEST_UTILS_ARM64_H_ | 233 #endif // V8_ARM64_TEST_UTILS_ARM64_H_ |
OLD | NEW |