summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-16 10:44:29 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-16 10:44:29 +0000
commit01feec08142b94635062f9e8d89efdf23092c3b5 (patch)
tree31cdf397ccd2bc4bcb8a75cba92dcef796dfc0cc
parentf9664682a78d09e519b4c16953e29be060fb0b54 (diff)
downloadqemu-01feec08142b94635062f9e8d89efdf23092c3b5.tar.gz
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
-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))) {