| 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 19 matching lines...) Expand all Loading... |
| 30 #include <string.h> | 30 #include <string.h> |
| 31 #include <cmath> | 31 #include <cmath> |
| 32 #include <limits> | 32 #include <limits> |
| 33 | 33 |
| 34 #include "src/v8.h" | 34 #include "src/v8.h" |
| 35 | 35 |
| 36 #include "src/arm64/decoder-arm64-inl.h" | 36 #include "src/arm64/decoder-arm64-inl.h" |
| 37 #include "src/arm64/disasm-arm64.h" | 37 #include "src/arm64/disasm-arm64.h" |
| 38 #include "src/arm64/simulator-arm64.h" | 38 #include "src/arm64/simulator-arm64.h" |
| 39 #include "src/arm64/utils-arm64.h" | 39 #include "src/arm64/utils-arm64.h" |
| 40 #include "src/base/utils/random-number-generator.h" |
| 40 #include "src/macro-assembler.h" | 41 #include "src/macro-assembler.h" |
| 41 #include "test/cctest/cctest.h" | 42 #include "test/cctest/cctest.h" |
| 42 #include "test/cctest/test-utils-arm64.h" | 43 #include "test/cctest/test-utils-arm64.h" |
| 43 | 44 |
| 44 using namespace v8::internal; | 45 using namespace v8::internal; |
| 45 | 46 |
| 46 // Test infrastructure. | 47 // Test infrastructure. |
| 47 // | 48 // |
| 48 // Tests are functions which accept no parameters and have no return values. | 49 // Tests are functions which accept no parameters and have no return values. |
| 49 // The testing code should not perform an explicit return once completed. For | 50 // The testing code should not perform an explicit return once completed. For |
| (...skipping 11336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11386 __ Mov(x0, 1); | 11387 __ Mov(x0, 1); |
| 11387 | 11388 |
| 11388 END(); | 11389 END(); |
| 11389 | 11390 |
| 11390 RUN(); | 11391 RUN(); |
| 11391 | 11392 |
| 11392 CHECK_EQUAL_64(0x1, x0); | 11393 CHECK_EQUAL_64(0x1, x0); |
| 11393 | 11394 |
| 11394 TEARDOWN(); | 11395 TEARDOWN(); |
| 11395 } | 11396 } |
| OLD | NEW |