| OLD | NEW |
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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 #include "src/v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #include "src/objects.h" | 7 #include "src/objects.h" |
| 8 #include "src/ostreams.h" | 8 #include "src/ostreams.h" |
| 9 #include "test/cctest/cctest.h" | 9 #include "test/cctest/cctest.h" |
| 10 | 10 |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 | 102 |
| 103 TEST(SimdTypes) { | 103 TEST(SimdTypes) { |
| 104 CcTest::InitializeVM(); | 104 CcTest::InitializeVM(); |
| 105 Isolate* isolate = CcTest::i_isolate(); | 105 Isolate* isolate = CcTest::i_isolate(); |
| 106 Factory* factory = isolate->factory(); | 106 Factory* factory = isolate->factory(); |
| 107 | 107 |
| 108 HandleScope sc(isolate); | 108 HandleScope sc(isolate); |
| 109 | 109 |
| 110 FLOAT_TEST(Float32x4, 4) | 110 FLOAT_TEST(Float32x4, 4) |
| 111 INT_TEST(Int32x4, 4, int32_t) | 111 INT_TEST(Int32x4, 4, int32_t) |
| 112 INT_TEST(Uint32x4, 4, uint32_t) | |
| 113 BOOL_TEST(Bool32x4, 4) | 112 BOOL_TEST(Bool32x4, 4) |
| 114 INT_TEST(Int16x8, 8, int16_t) | 113 INT_TEST(Int16x8, 8, int16_t) |
| 115 INT_TEST(Uint16x8, 8, uint16_t) | |
| 116 BOOL_TEST(Bool16x8, 8) | 114 BOOL_TEST(Bool16x8, 8) |
| 117 INT_TEST(Int8x16, 16, int8_t) | 115 INT_TEST(Int8x16, 16, int8_t) |
| 118 INT_TEST(Uint8x16, 16, uint8_t) | |
| 119 BOOL_TEST(Bool8x16, 16) | 116 BOOL_TEST(Bool8x16, 16) |
| 120 } | 117 } |
| OLD | NEW |