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: src/mips/simulator-mips.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 | « no previous file | test/cctest/wasm/test-run-wasm.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 <limits.h> 5 #include <limits.h>
6 #include <stdarg.h> 6 #include <stdarg.h>
7 #include <stdlib.h> 7 #include <stdlib.h>
8 #include <cmath> 8 #include <cmath>
9 9
10 #if V8_TARGET_ARCH_MIPS 10 #if V8_TARGET_ARCH_MIPS
(...skipping 4465 matching lines...) Expand 10 before | Expand all | Expand 10 after
4476 int32_t s4_val = get_register(s4); 4476 int32_t s4_val = get_register(s4);
4477 int32_t s5_val = get_register(s5); 4477 int32_t s5_val = get_register(s5);
4478 int32_t s6_val = get_register(s6); 4478 int32_t s6_val = get_register(s6);
4479 int32_t s7_val = get_register(s7); 4479 int32_t s7_val = get_register(s7);
4480 int32_t gp_val = get_register(gp); 4480 int32_t gp_val = get_register(gp);
4481 int32_t sp_val = get_register(sp); 4481 int32_t sp_val = get_register(sp);
4482 int32_t fp_val = get_register(fp); 4482 int32_t fp_val = get_register(fp);
4483 4483
4484 // Set up the callee-saved registers with a known value. To be able to check 4484 // Set up the callee-saved registers with a known value. To be able to check
4485 // that they are preserved properly across JS execution. 4485 // that they are preserved properly across JS execution.
4486 int32_t callee_saved_value = icount_; 4486 int32_t callee_saved_value = static_cast<int32_t>(icount_);
4487 set_register(s0, callee_saved_value); 4487 set_register(s0, callee_saved_value);
4488 set_register(s1, callee_saved_value); 4488 set_register(s1, callee_saved_value);
4489 set_register(s2, callee_saved_value); 4489 set_register(s2, callee_saved_value);
4490 set_register(s3, callee_saved_value); 4490 set_register(s3, callee_saved_value);
4491 set_register(s4, callee_saved_value); 4491 set_register(s4, callee_saved_value);
4492 set_register(s5, callee_saved_value); 4492 set_register(s5, callee_saved_value);
4493 set_register(s6, callee_saved_value); 4493 set_register(s6, callee_saved_value);
4494 set_register(s7, callee_saved_value); 4494 set_register(s7, callee_saved_value);
4495 set_register(gp, callee_saved_value); 4495 set_register(gp, callee_saved_value);
4496 set_register(fp, callee_saved_value); 4496 set_register(fp, callee_saved_value);
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
4604 4604
4605 4605
4606 #undef UNSUPPORTED 4606 #undef UNSUPPORTED
4607 4607
4608 } // namespace internal 4608 } // namespace internal
4609 } // namespace v8 4609 } // namespace v8
4610 4610
4611 #endif // USE_SIMULATOR 4611 #endif // USE_SIMULATOR
4612 4612
4613 #endif // V8_TARGET_ARCH_MIPS 4613 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « no previous file | test/cctest/wasm/test-run-wasm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698