Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1311)

Side by Side Diff: fusl/src/math/i386/sqrt.s

Issue 1573973002: Add a "fork" of musl as //fusl. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fusl/src/math/i386/scalbnl.s ('k') | fusl/src/math/i386/sqrtf.s » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 .global sqrt
2 .type sqrt,@function
3 sqrt: fldl 4(%esp)
4 fsqrt
5 fnstsw %ax
6 sub $12,%esp
7 fld %st(0)
8 fstpt (%esp)
9 mov (%esp),%ecx
10 and $0x7ff,%ecx
11 cmp $0x400,%ecx
12 jnz 1f
13 and $0x200,%eax
14 sub $0x100,%eax
15 sub %eax,(%esp)
16 fstp %st(0)
17 fldt (%esp)
18 1: add $12,%esp
19 fstpl 4(%esp)
20 fldl 4(%esp)
21 ret
OLDNEW
« no previous file with comments | « fusl/src/math/i386/scalbnl.s ('k') | fusl/src/math/i386/sqrtf.s » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698