summaryrefslogtreecommitdiff
path: root/src/VBox/Runtime/common/math/floorf.asm
diff options
context:
space:
mode:
Diffstat (limited to 'src/VBox/Runtime/common/math/floorf.asm')
-rw-r--r--src/VBox/Runtime/common/math/floorf.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/VBox/Runtime/common/math/floorf.asm b/src/VBox/Runtime/common/math/floorf.asm
index b5491919..e5c798a2 100644
--- a/src/VBox/Runtime/common/math/floorf.asm
+++ b/src/VBox/Runtime/common/math/floorf.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;
@@ -41,7 +41,7 @@ BEGINPROC RT_NOCRT(floorf)
movss [xSP], xmm0
fld dword [xSP]
%else
- fld dword [xBP + xS*2]
+ fld dword [xBP + xCB*2]
%endif
; Make it round down by modifying the fpu control word.