X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=common%2Fx86%2Fquant-a.asm;h=305ae26a31879f013ebaa1d1c7e68708b0f0e8f0;hb=8017b33454397d59b3285ec6d2ad35b6d0deb58a;hp=188f3c1780a78384ee426cfe15311067b52cdfe0;hpb=5c6570495f8f1c716b294aee1430d8766a4beb9c;p=x264 diff --git a/common/x86/quant-a.asm b/common/x86/quant-a.asm index 188f3c17..305ae26a 100644 --- a/common/x86/quant-a.asm +++ b/common/x86/quant-a.asm @@ -841,14 +841,7 @@ DEQUANT_DC w, pmullw ;----------------------------------------------------------------------------- %macro OPTIMIZE_CHROMA_2x2_DC 0 -%assign %%regs 5 -%if cpuflag(sse4) - %assign %%regs %%regs-1 -%endif -%if ARCH_X86_64 == 0 - %assign %%regs %%regs+1 ; t0-t4 are volatile on x86-64 -%endif -cglobal optimize_chroma_2x2_dc, 0,%%regs,7 +cglobal optimize_chroma_2x2_dc, 0,6-cpuflag(sse4),7 movifnidn t0, r0mp movd m2, r1m movq m1, [t0]