mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +00:00
Fix bugs and have emulator emulate itself
This commit is contained in:
parent
5aabacb361
commit
bd29223891
111 changed files with 1283 additions and 2073 deletions
|
@ -32,19 +32,19 @@ tinymath_log1pl:
|
|||
fld %st
|
||||
fabs
|
||||
fldt .LC16(%rip)
|
||||
fxch %st(1)
|
||||
fxch
|
||||
fcomip %st(1),%st
|
||||
fstp %st
|
||||
jnb 1f
|
||||
fldln2
|
||||
fxch %st(1)
|
||||
fxch
|
||||
fyl2xp1
|
||||
0: pop %rbp
|
||||
ret
|
||||
1: fld1
|
||||
faddp %st,%st(1)
|
||||
fldln2
|
||||
fxch %st(1)
|
||||
fxch
|
||||
fyl2x
|
||||
jmp 0b
|
||||
.endfn tinymath_log1pl,globl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue