summaryrefslogtreecommitdiffstats
path: root/target-ppc/op_helper.c
diff options
context:
space:
mode:
authoraurel322008-12-16 11:44:29 +0100
committeraurel322008-12-16 11:44:29 +0100
commit01feec08142b94635062f9e8d89efdf23092c3b5 (patch)
tree31cdf397ccd2bc4bcb8a75cba92dcef796dfc0cc /target-ppc/op_helper.c
parenttarget-ppc: fix a typo introduced in revision 6058 (diff)
downloadqemu-01feec08142b94635062f9e8d89efdf23092c3b5.tar.gz
qemu-01feec08142b94635062f9e8d89efdf23092c3b5.tar.xz
qemu-01feec08142b94635062f9e8d89efdf23092c3b5.zip
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
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))) {