Bug in e_exp.s in menuetlibc
Posted: Wed May 20, 2020 5:28 am
Code: Select all
#include<libc/asm.h>
MK_C_SYM(__ieee754_exp)
fldl 4(%esp)
fldl2e
fmulp
fstl %st(1)
frndint
fstl %st(2)
fsubrp ; Should be fsubp‼
f2xm1
fld1
faddp
fscale
ret