Rich Felker
%!s(int64=13) %!d(string=hai) anos
|
@@ -0,0 +1,8 @@
|
|
|
+.global llrint
|
|
|
+.type llrint,@function
|
|
|
+llrint:
|
|
|
+ fldl 4(%esp)
|
|
|
+ fistpl 4(%esp)
|
|
|
+ mov 4(%esp),%eax
|
|
|
+ mov 8(%esp),%edx
|
|
|
+ ret
|
|
@@ -0,0 +1,9 @@
|
|
|
+.global llrintf
|
|
|
+.type llrintf,@function
|
|
|
+llrintf:
|
|
|
+ sub $8,%esp
|
|
|
+ flds 12(%esp)
|
|
|
+ fistpq (%esp)
|
|
|
+ pop %eax
|
|
|
+ pop %edx
|
|
|
+ ret
|
|
@@ -0,0 +1,8 @@
|
|
|
+.global llrintl
|
|
|
+.type llrintl,@function
|
|
|
+llrintl:
|
|
|
+ fldt 4(%esp)
|
|
|
+ fistpl 4(%esp)
|
|
|
+ mov 4(%esp),%eax
|
|
|
+ mov 8(%esp),%edx
|
|
|
+ ret
|
|
@@ -0,0 +1,7 @@
|
|
|
+.global lrint
|
|
|
+.type lrint,@function
|
|
|
+lrint:
|
|
|
+ fldl 4(%esp)
|
|
|
+ fistpl 4(%esp)
|
|
|
+ mov 4(%esp),%eax
|
|
|
+ ret
|
|
@@ -0,0 +1,7 @@
|
|
|
+.global lrintf
|
|
|
+.type lrintf,@function
|
|
|
+lrintf:
|
|
|
+ flds 4(%esp)
|
|
|
+ fistpl 4(%esp)
|
|
|
+ mov 4(%esp),%eax
|
|
|
+ ret
|
|
@@ -0,0 +1,7 @@
|
|
|
+.global lrintl
|
|
|
+.type lrintl,@function
|
|
|
+lrintl:
|
|
|
+ fldt 4(%esp)
|
|
|
+ fistpl 4(%esp)
|
|
|
+ mov 4(%esp),%eax
|
|
|
+ ret
|