removed nasm support.

This commit is contained in:
Steven Fuller 2007-01-07 03:58:40 +00:00 committed by Patryk Obara
parent ea1bc9bda9
commit d9a250e1df
3 changed files with 0 additions and 72 deletions

View file

@ -1,51 +0,0 @@
BITS 32
SECTION .text
GLOBAL TranslatePoint_Asm
; float *source, float *dest, float *matrix
; "S" (source), "b" (dest), "D" (matrix)
TranslatePoint_Asm:
fld dword [esi]
fmul dword [edi]
fld dword [esi+4]
fmul dword [edi+4]
fld dword [esi+8]
fmul dword [edi+8]
fxch st1
faddp st2, st0
fld dword [esi]
fmul dword [edi+16]
fxch st1
faddp st2, st0
fld dword [esi+4]
fmul dword [edi+20]
fld dword [esi+8]
fmul dword [edi+24]
fxch st1
faddp st2, st0
fld dword [esi]
fmul dword [edi+32]
fxch st1
faddp st2, st0
fld dword [esi+4]
fmul dword [edi+36]
fld dword [esi+8]
fmul dword [edi+40]
fxch st1
faddp st2, st0
fxch st3
fadd dword [edi+12]
fxch st1
faddp st3, st0
fxch st1
fadd dword [edi+28]
fxch st2
fadd dword [edi+44]
fxch st1
fstp dword [ebx]
fxch st1
fstp dword [ebx+4]
fstp dword [ebx+8]
ret

View file

@ -627,16 +627,3 @@ __asm__ volatile
fti_itmp = (int)fti_fptmp;
#endif
}
#if 0 // SBF - converted to C in kshape.c
void TranslatePoint(float *source, float *dest, float *matrix)
{
/* TODO - implement the inline assembly here? */
/* Moved it to a separate file because I can't figure out the damn syntax! */
/* This is currently not inlined for testing */
__asm__("call TranslatePoint_Asm \n\t"
:
: "S" (source), "b" (dest), "D" (matrix)
);
}
#endif