forked from KolibriOS/kolibrios
switch build system to Tup
git-svn-id: svn://kolibrios.org@5098 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
|
||||
#undef bcopy
|
||||
|
||||
void *
|
||||
void
|
||||
bcopy(const void *a, void *b, size_t len)
|
||||
{
|
||||
return memmove(b, a, len);
|
||||
memmove(b, a, len);
|
||||
}
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
|
||||
#undef bzero
|
||||
|
||||
void *
|
||||
void
|
||||
bzero(void *a, size_t b)
|
||||
{
|
||||
return memset(a,0,b);
|
||||
memset(a,0,b);
|
||||
}
|
||||
|
||||
@@ -6,18 +6,18 @@ NaN:
|
||||
|
||||
MK_C_SYM(sincos)
|
||||
|
||||
/* void sincos(double *cosine, double *sine, double x); */
|
||||
/* void sincos(double x, double *sine, double *cosine); */
|
||||
|
||||
movl 16(%esp), %ecx
|
||||
movl 8(%esp), %ecx
|
||||
|
||||
movl 4(%esp), %eax /* Point to cosine. */
|
||||
movl 8(%esp), %edx /* Point to sine. */
|
||||
movl 16(%esp), %eax /* Point to cosine. */
|
||||
movl 12(%esp), %edx /* Point to sine. */
|
||||
|
||||
andl $0x7FF00000, %ecx /* Examine exponent of x. */
|
||||
cmpl $0x43E00000, %ecx /* |x| >= 2^63 */
|
||||
jae bigarg
|
||||
|
||||
fldl 12(%esp)
|
||||
fldl 4(%esp)
|
||||
fsincos
|
||||
fstpl (%eax) /* cos */
|
||||
fstpl (%edx) /* sin */
|
||||
|
||||
Reference in New Issue
Block a user