Commit 01feec08142b94635062f9e8d89efdf23092c3b5

Authored by aurel32
1 parent f9664682

target-ppc: add comments about constants introduced in revision 6046

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6069 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 3 additions and 3 deletions
target-ppc/op_helper.c
@@ -1519,7 +1519,7 @@ uint64_t helper_fsqrt (uint64_t arg) @@ -1519,7 +1519,7 @@ uint64_t helper_fsqrt (uint64_t arg)
1519 uint64_t helper_fre (uint64_t arg) 1519 uint64_t helper_fre (uint64_t arg)
1520 { 1520 {
1521 CPU_DoubleU fone, farg; 1521 CPU_DoubleU fone, farg;
1522 - fone.ll = 0x3FF0000000000000ULL; 1522 + fone.ll = 0x3FF0000000000000ULL; /* 1.0 */
1523 farg.ll = arg; 1523 farg.ll = arg;
1524 1524
1525 if (unlikely(float64_is_signaling_nan(farg.d))) { 1525 if (unlikely(float64_is_signaling_nan(farg.d))) {
@@ -1550,7 +1550,7 @@ uint64_t helper_fre (uint64_t arg) @@ -1550,7 +1550,7 @@ uint64_t helper_fre (uint64_t arg)
1550 uint64_t helper_fres (uint64_t arg) 1550 uint64_t helper_fres (uint64_t arg)
1551 { 1551 {
1552 CPU_DoubleU fone, farg; 1552 CPU_DoubleU fone, farg;
1553 - fone.ll = 0x3FF0000000000000ULL; 1553 + fone.ll = 0x3FF0000000000000ULL; /* 1.0 */
1554 farg.ll = arg; 1554 farg.ll = arg;
1555 1555
1556 if (unlikely(float64_is_signaling_nan(farg.d))) { 1556 if (unlikely(float64_is_signaling_nan(farg.d))) {
@@ -1586,7 +1586,7 @@ uint64_t helper_fres (uint64_t arg) @@ -1586,7 +1586,7 @@ uint64_t helper_fres (uint64_t arg)
1586 uint64_t helper_frsqrte (uint64_t arg) 1586 uint64_t helper_frsqrte (uint64_t arg)
1587 { 1587 {
1588 CPU_DoubleU fone, farg; 1588 CPU_DoubleU fone, farg;
1589 - fone.ll = 0x3FF0000000000000ULL; 1589 + fone.ll = 0x3FF0000000000000ULL; /* 1.0 */
1590 farg.ll = arg; 1590 farg.ll = arg;
1591 1591
1592 if (unlikely(float64_is_signaling_nan(farg.d))) { 1592 if (unlikely(float64_is_signaling_nan(farg.d))) {