summaryrefslogtreecommitdiff
path: root/src/VBox/Runtime/common/math/trunc.asm
diff options
context:
space:
mode:
Diffstat (limited to 'src/VBox/Runtime/common/math/trunc.asm')
-rw-r--r--src/VBox/Runtime/common/math/trunc.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/VBox/Runtime/common/math/trunc.asm b/src/VBox/Runtime/common/math/trunc.asm
index 9ea36820..11d310cf 100644
--- a/src/VBox/Runtime/common/math/trunc.asm
+++ b/src/VBox/Runtime/common/math/trunc.asm
@@ -4,7 +4,7 @@
;
;
-; Copyright (C) 2006-2007 Oracle Corporation
+; Copyright (C) 2006-2010 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available from http://www.virtualbox.org. This file is free software;
@@ -42,7 +42,7 @@ BEGINPROC RT_NOCRT(trunc)
movsd [xSP], xmm0
fld qword [xSP]
%else
- fld qword [xBP + xS*2]
+ fld qword [xBP + xCB*2]
%endif
; Make it truncate up by modifying the fpu control word.