Mercurial > libavcodec.hg
comparison x86/fft_mmx.asm @ 10019:c08ca946c80a libavcodec
Update x264 asm code to latest to add support for 64-bit Windows.
Use the new x86inc features to support 64-bit Windows on all non-x264 nasm
assembly code as well.
Patch by John Adcock, dscaler.johnad AT googlemail DOT com.
Win64 changes originally by Anton Mitrofanov.
x86util changes mostly by Holger Lubitz.
author | darkshikari |
---|---|
date | Tue, 04 Aug 2009 07:42:55 +0000 |
parents | 7400956a815d |
children | c6aa538c0bc3 |
comparison
equal
deleted
inserted
replaced
10018:46f8d58fbdfb | 10019:c08ca946c80a |
---|---|
455 | 455 |
456 section .text | 456 section .text |
457 | 457 |
458 ; On x86_32, this function does the register saving and restoring for all of fft. | 458 ; On x86_32, this function does the register saving and restoring for all of fft. |
459 ; The others pass args in registers and don't spill anything. | 459 ; The others pass args in registers and don't spill anything. |
460 cglobal fft_dispatch%3%2, 2,5,0, z, nbits | 460 cglobal fft_dispatch%3%2, 2,5,8, z, nbits |
461 lea r2, [dispatch_tab%3%2 GLOBAL] | 461 lea r2, [dispatch_tab%3%2 GLOBAL] |
462 mov r2, [r2 + (nbitsq-2)*gprsize] | 462 mov r2, [r2 + (nbitsq-2)*gprsize] |
463 call r2 | 463 call r2 |
464 RET | 464 RET |
465 %endmacro ; DECL_FFT | 465 %endmacro ; DECL_FFT |