Revision: 20725
Author: [email protected]
Date: Mon Apr 14 12:50:24 2014 UTC
Log: Fix initial FPSCR state in ARM simulator
Rounding mode should be round-to-nearest by default, and NaN mode bit
should be 0, like in a real ARM system.
BUG=3253
LOG=N
[email protected]
Review URL: https://codereview.chromium.org/235893005
Patch from Olli Etuaho <[email protected]>.
http://code.google.com/p/v8/source/detail?r=20725
Modified:
/branches/bleeding_edge/src/arm/simulator-arm.cc
=======================================
--- /branches/bleeding_edge/src/arm/simulator-arm.cc Fri Apr 4 11:12:40
2014 UTC
+++ /branches/bleeding_edge/src/arm/simulator-arm.cc Mon Apr 14 12:50:24
2014 UTC
@@ -773,8 +773,8 @@
z_flag_FPSCR_ = false;
c_flag_FPSCR_ = false;
v_flag_FPSCR_ = false;
- FPSCR_rounding_mode_ = RZ;
- FPSCR_default_NaN_mode_ = true;
+ FPSCR_rounding_mode_ = RN;
+ FPSCR_default_NaN_mode_ = false;
inv_op_vfp_flag_ = false;
div_zero_vfp_flag_ = false;
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.