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

Side by Side Diff: test/cctest/wasm/test-run-wasm.cc

Issue 1735673003: [wasm] mips: Turn off signalling NaN tests on mips and mips64. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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 | « src/mips/simulator-mips.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <stdint.h> 5 #include <stdint.h>
6 #include <stdlib.h> 6 #include <stdlib.h>
7 #include <string.h> 7 #include <string.h>
8 8
9 #include "src/wasm/wasm-macro-gen.h" 9 #include "src/wasm/wasm-macro-gen.h"
10 10
(...skipping 3079 matching lines...) Expand 10 before | Expand all | Expand 10 after
3090 expected = *i; 3090 expected = *i;
3091 } else { 3091 } else {
3092 expected = *j; 3092 expected = *j;
3093 } 3093 }
3094 3094
3095 CheckDoubleEq(expected, r.Call(*i, *j)); 3095 CheckDoubleEq(expected, r.Call(*i, *j));
3096 } 3096 }
3097 } 3097 }
3098 } 3098 }
3099 3099
3100 // TODO(ahaas): Fix on arm and reenable. 3100 // TODO(ahaas): Fix on arm and mips and reenable.
3101 #if !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 3101 #if !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 && !V8_TARGET_ARCH_MIPS && \
3102 !V8_TARGET_ARCH_MIPS64
3102 3103
3103 TEST(Run_Wasm_F32Min_Snan) { 3104 TEST(Run_Wasm_F32Min_Snan) {
3104 // Test that the instruction does not return a signalling NaN. 3105 // Test that the instruction does not return a signalling NaN.
3105 { 3106 {
3106 WasmRunner<float> r; 3107 WasmRunner<float> r;
3107 BUILD(r, 3108 BUILD(r,
3108 WASM_F32_MIN(WASM_F32(bit_cast<float>(0xff80f1e2)), WASM_F32(57.67))); 3109 WASM_F32_MIN(WASM_F32(bit_cast<float>(0xff80f1e2)), WASM_F32(57.67)));
3109 CHECK_EQ(0xffc0f1e2, bit_cast<uint32_t>(r.Call())); 3110 CHECK_EQ(0xffc0f1e2, bit_cast<uint32_t>(r.Call()));
3110 } 3111 }
3111 { 3112 {
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
3381 3382
3382 #if WASM_64 3383 #if WASM_64
3383 TEST(Compile_Wasm_CallIndirect_Many_i64) { CompileCallIndirectMany(kAstI64); } 3384 TEST(Compile_Wasm_CallIndirect_Many_i64) { CompileCallIndirectMany(kAstI64); }
3384 #endif 3385 #endif
3385 3386
3386 3387
3387 TEST(Compile_Wasm_CallIndirect_Many_f32) { CompileCallIndirectMany(kAstF32); } 3388 TEST(Compile_Wasm_CallIndirect_Many_f32) { CompileCallIndirectMany(kAstF32); }
3388 3389
3389 3390
3390 TEST(Compile_Wasm_CallIndirect_Many_f64) { CompileCallIndirectMany(kAstF64); } 3391 TEST(Compile_Wasm_CallIndirect_Many_f64) { CompileCallIndirectMany(kAstF64); }
OLDNEW
« no previous file with comments | « src/mips/simulator-mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698