ML64 compatibility fixes for amd64 assembly

svn path=/branches/cmake-bringup/; revision=50512
This commit is contained in:
Timo Kreuzer 2011-01-27 13:37:21 +00:00
parent 4814cb8ca6
commit 676e232576
21 changed files with 136 additions and 108 deletions

View file

@ -10,18 +10,21 @@
#include <asm.inc>
/* DATA *********************************************************************/
/* DATA **********************************************************************/
.code64
PUBLIC _fltused
_fltused:
.long 0x9875
/* FUNCTIONS ****************************************************************/
.long HEX(9875)
/* CODE **********************************************************************/
.code64
.proc alldiv
FUNC alldiv
.endprolog
UNIMPLEMENTED alldiv
ret
.endp alldiv
ENDFUNC alldiv
END

View file

@ -11,11 +11,12 @@
#include <asm.inc>
#include <ksamd64.inc>
/* FUNCTIONS ****************************************************************/
/* CODE **********************************************************************/
.code64
PUBLIC atan
atan:
UNIMPLEMENTED atan
ret
END

View file

@ -11,11 +11,12 @@
#include <asm.inc>
#include <ksamd64.inc>
/* FUNCTIONS ****************************************************************/
/* CODE **********************************************************************/
.code64
PUBLIC atan2
atan2:
UNIMPLEMENTED atan2
ret
END

View file

@ -11,8 +11,7 @@
#include <asm.inc>
#include <ksamd64.inc>
/* FUNCTIONS ****************************************************************/
/* CODE **********************************************************************/
.code64
PUBLIC ceil
@ -20,3 +19,4 @@ ceil:
UNIMPLEMENTED ceil
ret
END

View file

@ -11,8 +11,7 @@
#include <asm.inc>
#include <ksamd64.inc>
/* FUNCTIONS ****************************************************************/
/* CODE **********************************************************************/
.code64
PUBLIC ceilf
@ -39,7 +38,7 @@ ceilf:
fstp dword ptr [rsp]
movss xmm0, [rsp]
add rsp, 16
ret

View file

@ -11,8 +11,7 @@
#include <asm.inc>
#include <ksamd64.inc>
/* FUNCTIONS ****************************************************************/
/* CODE **********************************************************************/
.code64
PUBLIC exp

View file

@ -10,12 +10,12 @@
#include <asm.inc>
/* FUNCTIONS ****************************************************************/
/* CODE **********************************************************************/
.code64
PUBLIC fabs
fabs:
PUBLIC _fabs
_fabs:
UNIMPLEMENTED fabs
ret
END

View file

@ -11,8 +11,7 @@
#include <asm.inc>
#include <ksamd64.inc>
/* FUNCTIONS ****************************************************************/
/* CODE **********************************************************************/
.code64
PUBLIC floor

View file

@ -11,8 +11,7 @@
#include <asm.inc>
#include <ksamd64.inc>
/* FUNCTIONS ****************************************************************/
/* CODE **********************************************************************/
.code64
PUBLIC floorf

View file

@ -10,10 +10,11 @@
#include <asm.inc>
/* DATA *********************************************************************/
/* CODE **********************************************************************/
.code64
PUBLIC fmod
fmod:
PUBLIC _fmod
_fmod:
UNIMPLEMENTED fmod
ret

View file

@ -10,7 +10,8 @@
#include <asm.inc>
/* DATA *********************************************************************/
/* CODE **********************************************************************/
.code64
PUBLIC fmodf
fmodf:

View file

@ -10,7 +10,8 @@
#include <asm.inc>
/* DATA *********************************************************************/
/* CODE **********************************************************************/
.code64
PUBLIC ldexp
ldexp:

View file

@ -10,9 +10,12 @@
#include <asm.inc>
/* DATA *********************************************************************/
/* CODE **********************************************************************/
.code64
PUBLIC log
log:
UNIMPLEMENTED log
ret
END

View file

@ -10,10 +10,12 @@
#include <asm.inc>
/* DATA *********************************************************************/
/* CODE **********************************************************************/
.code64
PUBLIC log10
log10:
UNIMPLEMENTED log10
ret
END

View file

@ -11,10 +11,12 @@
#include <asm.inc>
#include <ksamd64.inc>
/* DATA *********************************************************************/
/* CODE **********************************************************************/
.code64
PUBLIC pow
pow:
UNIMPLEMENTED pow
ret
END

View file

@ -11,7 +11,8 @@
#include <asm.inc>
#include <ksamd64.inc>
/* DATA *********************************************************************/
/* CODE **********************************************************************/
.code64
PUBLIC sqrt
sqrt:

View file

@ -11,7 +11,8 @@
#include <asm.inc>
#include <ksamd64.inc>
/* DATA *********************************************************************/
/* CODE **********************************************************************/
.code64
PUBLIC sqrtf
sqrtf:

View file

@ -11,7 +11,8 @@
#include <asm.inc>
#include <ksamd64.inc>
/* DATA *********************************************************************/
/* CODE **********************************************************************/
.code64
PUBLIC tan
tan: