From b5b9728b9b1cf9e4e54092515fd9fa86cd9023a4 Mon Sep 17 00:00:00 2001 From: Jason Garrett-Glaser Date: Mon, 9 Feb 2009 11:30:54 -0800 Subject: [PATCH] Fix 10L in intra pred Forgetting a %define resulted in SIGILL on 32-bit systems without SSE (e.g. Athlon XP). --- common/x86/predict-a.asm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/x86/predict-a.asm b/common/x86/predict-a.asm index 2d6eb407..e0cb8e22 100644 --- a/common/x86/predict-a.asm +++ b/common/x86/predict-a.asm @@ -559,6 +559,7 @@ cglobal predict_8x8_ddr_mmxext, 2,2 ;----------------------------------------------------------------------------- ; void predict_8x8_hu_mmxext( uint8_t *src, uint8_t *edge ) ;----------------------------------------------------------------------------- +%define PALIGNR PALIGNR_MMX cglobal predict_8x8_hu_mmxext, 2,2 movq mm1, [r1+7] ; l0 l1 l2 l3 l4 l5 l6 l7 add r0, 4*FDEC_STRIDE @@ -588,7 +589,7 @@ cglobal predict_8x8_hu_mmxext, 2,2 pshufw mm1, mm6, 11111001b PALIGNR mm6, mm4, 4, mm2 pshufw mm2, mm7, 11111110b - PALIGNR mm7, mm4, 6, mm4 + PALIGNR mm7, mm4, 6, mm3 pshufw mm3, mm0, 11111111b movq [r0-4*FDEC_STRIDE], mm4 movq [r0-3*FDEC_STRIDE], mm5 -- 2.47.3