Browse Source

x86: h264_intrapred: Don't add the 'd' suffix to the SPLATB_REG macro

The SPLATB_REG macro already adds the 'd' suffix internally.

This fixes building on Win64, which has been broken since 878e66902.

This worked for unix, where r2 happened to be rdx in this case, which
with the first suffix rdxd was mapped to eax, and eaxd is defined back
to eax. On win64 however, r2 happened to be R8 in this case, and
R8d mapps to R8D just fine, but there's no mapping for R8Dd to anything.

Signed-off-by: Martin Storsjö <martin@martin.st>
tags/n1.0
Martin Storsjö 13 years ago
parent
commit
f27386cdc7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/x86/h264_intrapred.asm

+ 1
- 1
libavcodec/x86/h264_intrapred.asm View File

@@ -156,7 +156,7 @@ cglobal pred16x16_dc, 2,7
%if cpuflag(ssse3)
pxor m1, m1
%endif
SPLATB_REG m0, r2d, m1
SPLATB_REG m0, r2, m1

%if mmsize==8
mov r3d, 8


Loading…
Cancel
Save