[x264-devel] commit: Fix 10L in intra pred (Jason Garrett-Glaser )
git version control
git at videolan.org
Mon Feb 9 20:32:10 CET 2009
x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Mon Feb 9 11:30:54 2009 -0800| [b5b9728b9b1cf9e4e54092515fd9fa86cd9023a4] | committer: Jason Garrett-Glaser
Fix 10L in intra pred
Forgetting a %define resulted in SIGILL on 32-bit systems without SSE (e.g. Athlon XP).
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=b5b9728b9b1cf9e4e54092515fd9fa86cd9023a4
---
common/x86/predict-a.asm | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/common/x86/predict-a.asm b/common/x86/predict-a.asm
index 2d6eb40..e0cb8e2 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
More information about the x264-devel
mailing list