diff options
Diffstat (limited to 'sysdeps/libm-i387')
-rw-r--r-- | sysdeps/libm-i387/e_exp.S | 1 | ||||
-rw-r--r-- | sysdeps/libm-i387/e_expl.S | 1 | ||||
-rw-r--r-- | sysdeps/libm-i387/s_ceil.S | 2 | ||||
-rw-r--r-- | sysdeps/libm-i387/s_ceilf.S | 2 | ||||
-rw-r--r-- | sysdeps/libm-i387/s_ceill.S | 2 | ||||
-rw-r--r-- | sysdeps/libm-i387/s_floor.S | 2 | ||||
-rw-r--r-- | sysdeps/libm-i387/s_floorf.S | 2 | ||||
-rw-r--r-- | sysdeps/libm-i387/s_floorl.S | 2 |
8 files changed, 8 insertions, 6 deletions
diff --git a/sysdeps/libm-i387/e_exp.S b/sysdeps/libm-i387/e_exp.S index dad201f..01c254a 100644 --- a/sysdeps/libm-i387/e_exp.S +++ b/sysdeps/libm-i387/e_exp.S @@ -30,6 +30,7 @@ ENTRY(__ieee754_exp) fld1 faddp /* 2^(fract(x * log2(e))) */ fscale /* e^x */ + fstp %st(1) ret .LisInf: diff --git a/sysdeps/libm-i387/e_expl.S b/sysdeps/libm-i387/e_expl.S index 2884efa..fc4a183 100644 --- a/sysdeps/libm-i387/e_expl.S +++ b/sysdeps/libm-i387/e_expl.S @@ -32,6 +32,7 @@ ENTRY(__ieee754_expl) fld1 faddp /* 2^(fract(x * log2(e))) */ fscale /* e^x */ + fstp %st(1) ret .LisInf: diff --git a/sysdeps/libm-i387/s_ceil.S b/sysdeps/libm-i387/s_ceil.S index a500b07..5135c90 100644 --- a/sysdeps/libm-i387/s_ceil.S +++ b/sysdeps/libm-i387/s_ceil.S @@ -21,7 +21,7 @@ ENTRY(__ceil) orl $0x0800,%edx /* round towards +oo */ andl $0xfbff,%edx movl %edx,-8(%ebp) - fldcw -8(%ebp) /* load modfied control word */ + fldcw -8(%ebp) /* load modified control word */ fldl 8(%ebp); /* round */ frndint diff --git a/sysdeps/libm-i387/s_ceilf.S b/sysdeps/libm-i387/s_ceilf.S index 4789b01..93cf40b 100644 --- a/sysdeps/libm-i387/s_ceilf.S +++ b/sysdeps/libm-i387/s_ceilf.S @@ -21,7 +21,7 @@ ENTRY(__ceilf) orl $0x0800,%edx /* round towards +oo */ andl $0xfbff,%edx movl %edx,-8(%ebp) - fldcw -8(%ebp) /* load modfied control word */ + fldcw -8(%ebp) /* load modified control word */ flds 8(%ebp); /* round */ frndint diff --git a/sysdeps/libm-i387/s_ceill.S b/sysdeps/libm-i387/s_ceill.S index a02a547..a77e550 100644 --- a/sysdeps/libm-i387/s_ceill.S +++ b/sysdeps/libm-i387/s_ceill.S @@ -22,7 +22,7 @@ ENTRY(__ceill) orl $0x0800,%edx /* round towards +oo */ andl $0xfbff,%edx movl %edx,-8(%ebp) - fldcw -8(%ebp) /* load modfied control word */ + fldcw -8(%ebp) /* load modified control word */ fldt 8(%ebp); /* round */ frndint diff --git a/sysdeps/libm-i387/s_floor.S b/sysdeps/libm-i387/s_floor.S index 7599303..ca8914e 100644 --- a/sysdeps/libm-i387/s_floor.S +++ b/sysdeps/libm-i387/s_floor.S @@ -17,7 +17,7 @@ ENTRY(__floor) orw $0x0400,%dx /* round towards -oo */ andw $0xf7ff,%dx movw %dx,-8(%ebp) - fldcw -8(%ebp) /* load modfied control word */ + fldcw -8(%ebp) /* load modified control word */ fldl 8(%ebp); /* round */ frndint diff --git a/sysdeps/libm-i387/s_floorf.S b/sysdeps/libm-i387/s_floorf.S index c45d82e..796db4f 100644 --- a/sysdeps/libm-i387/s_floorf.S +++ b/sysdeps/libm-i387/s_floorf.S @@ -17,7 +17,7 @@ ENTRY(__floorf) orw $0x0400,%dx /* round towards -oo */ andw $0xf7ff,%dx movw %dx,-8(%ebp) - fldcw -8(%ebp) /* load modfied control word */ + fldcw -8(%ebp) /* load modified control word */ flds 8(%ebp); /* round */ frndint diff --git a/sysdeps/libm-i387/s_floorl.S b/sysdeps/libm-i387/s_floorl.S index ae4ba2e..396d854 100644 --- a/sysdeps/libm-i387/s_floorl.S +++ b/sysdeps/libm-i387/s_floorl.S @@ -18,7 +18,7 @@ ENTRY(__floorl) orw $0x0400,%dx /* round towards -oo */ andw $0xf7ff,%dx movw %dx,-8(%ebp) - fldcw -8(%ebp) /* load modfied control word */ + fldcw -8(%ebp) /* load modified control word */ fldt 8(%ebp) /* round */ frndint |