aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/op_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-ppc/op_helper.c')
-rw-r--r--target-ppc/op_helper.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/target-ppc/op_helper.c b/target-ppc/op_helper.c
index 23704d0848..4c38426683 100644
--- a/target-ppc/op_helper.c
+++ b/target-ppc/op_helper.c
@@ -1519,7 +1519,7 @@ uint64_t helper_fsqrt (uint64_t arg)
uint64_t helper_fre (uint64_t arg)
{
CPU_DoubleU fone, farg;
- fone.ll = 0x3FF0000000000000ULL;
+ fone.ll = 0x3FF0000000000000ULL; /* 1.0 */
farg.ll = arg;
if (unlikely(float64_is_signaling_nan(farg.d))) {
@@ -1550,7 +1550,7 @@ uint64_t helper_fre (uint64_t arg)
uint64_t helper_fres (uint64_t arg)
{
CPU_DoubleU fone, farg;
- fone.ll = 0x3FF0000000000000ULL;
+ fone.ll = 0x3FF0000000000000ULL; /* 1.0 */
farg.ll = arg;
if (unlikely(float64_is_signaling_nan(farg.d))) {
@@ -1586,7 +1586,7 @@ uint64_t helper_fres (uint64_t arg)
uint64_t helper_frsqrte (uint64_t arg)
{
CPU_DoubleU fone, farg;
- fone.ll = 0x3FF0000000000000ULL;
+ fone.ll = 0x3FF0000000000000ULL; /* 1.0 */
farg.ll = arg;
if (unlikely(float64_is_signaling_nan(farg.d))) {