Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(415)

Side by Side Diff: test/cctest/compiler/test-run-machops.cc

Issue 1804913002: [wasm] Turn off tests for mips and x87. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | test/cctest/wasm/test-run-wasm-64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. Use of this 1 // Copyright 2014 the V8 project authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 #include <cmath> 5 #include <cmath>
6 #include <functional> 6 #include <functional>
7 #include <limits> 7 #include <limits>
8 8
9 #include "src/base/bits.h" 9 #include "src/base/bits.h"
10 #include "src/base/utils/random-number-generator.h" 10 #include "src/base/utils/random-number-generator.h"
(...skipping 4183 matching lines...) Expand 10 before | Expand all | Expand 10 after
4194 4194
4195 m.Return(m.TruncateFloat64ToFloat32(m.Parameter(0))); 4195 m.Return(m.TruncateFloat64ToFloat32(m.Parameter(0)));
4196 4196
4197 FOR_FLOAT64_INPUTS(i) { CHECK_FLOAT_EQ(DoubleToFloat32(*i), m.Call(*i)); } 4197 FOR_FLOAT64_INPUTS(i) { CHECK_FLOAT_EQ(DoubleToFloat32(*i), m.Call(*i)); }
4198 } 4198 }
4199 4199
4200 int64_t ToInt64(uint32_t low, uint32_t high) { 4200 int64_t ToInt64(uint32_t low, uint32_t high) {
4201 return (static_cast<int64_t>(high) << 32) | static_cast<int64_t>(low); 4201 return (static_cast<int64_t>(high) << 32) | static_cast<int64_t>(low);
4202 } 4202 }
4203 4203
4204 #if V8_TARGET_ARCH_32_BIT 4204 #if V8_TARGET_ARCH_32_BIT && !V8_TARGET_ARCH_MIPS && !V8_TARGET_ARCH_PPC && \
4205 !V8_TARGET_ARCH_X87
4205 TEST(RunInt32PairAdd) { 4206 TEST(RunInt32PairAdd) {
4206 BufferedRawMachineAssemblerTester<int32_t> m( 4207 BufferedRawMachineAssemblerTester<int32_t> m(
4207 MachineType::Int32(), MachineType::Int32(), MachineType::Int32(), 4208 MachineType::Int32(), MachineType::Int32(), MachineType::Int32(),
4208 MachineType::Int32()); 4209 MachineType::Int32());
4209 4210
4210 uint32_t high; 4211 uint32_t high;
4211 uint32_t low; 4212 uint32_t low;
4212 4213
4213 Node* PairAdd = m.Int32PairAdd(m.Parameter(0), m.Parameter(1), m.Parameter(2), 4214 Node* PairAdd = m.Int32PairAdd(m.Parameter(0), m.Parameter(1), m.Parameter(2),
4214 m.Parameter(3)); 4215 m.Parameter(3));
(...skipping 2038 matching lines...) Expand 10 before | Expand all | Expand 10 after
6253 r.Goto(&merge); 6254 r.Goto(&merge);
6254 r.Bind(&merge); 6255 r.Bind(&merge);
6255 Node* phi = r.Phi(MachineRepresentation::kWord32, fa, fb); 6256 Node* phi = r.Phi(MachineRepresentation::kWord32, fa, fb);
6256 r.Return(phi); 6257 r.Return(phi);
6257 CHECK_EQ(1, r.Call(1)); 6258 CHECK_EQ(1, r.Call(1));
6258 } 6259 }
6259 6260
6260 } // namespace compiler 6261 } // namespace compiler
6261 } // namespace internal 6262 } // namespace internal
6262 } // namespace v8 6263 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | test/cctest/wasm/test-run-wasm-64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698