diff options
| author | Steven Fuller <relnev@icculus.org> | 2007-01-07 03:58:40 +0000 |
|---|---|---|
| committer | Patryk Obara <dreamer.tan@gmail.com> | 2019-08-20 02:22:37 +0200 |
| commit | d9a250e1dfd9ed24ce5b0f3d5baa85e0b57b3d55 (patch) | |
| tree | 2af3eb9447438409ecddbc8eae37a4562bcdf5dd /src/math.asm | |
| parent | ea1bc9bda924fcf38fa80314d2e5c1629f75e5fb (diff) | |
removed nasm support.
Diffstat (limited to 'src/math.asm')
| -rw-r--r-- | src/math.asm | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/src/math.asm b/src/math.asm deleted file mode 100644 index 4ac6913..0000000 --- a/src/math.asm +++ /dev/null @@ -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 |
