diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-03-26 12:53:47 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-26 13:07:37 +0100 |
commit | cb69a9dbf4c4feca6f1c817a6c976ea7afdbea3b (patch) | |
tree | bf77afcbb1ad20f273c338d9bed7fc55a03ff463 | |
parent | ea7b96af961eac805585ced0a9858959d415b433 (diff) | |
parent | e5c2794a7162e485eefd3133af5b98fd31386aeb (diff) | |
download | ffmpeg-cb69a9dbf4c4feca6f1c817a6c976ea7afdbea3b.tar.gz |
Merge commit 'e5c2794a7162e485eefd3133af5b98fd31386aeb'
* commit 'e5c2794a7162e485eefd3133af5b98fd31386aeb':
x86: consistently use unaligned movs in the unaligned bswap
Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/x86/dsputil.asm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/x86/dsputil.asm b/libavcodec/x86/dsputil.asm index 9970c02b6a..fdc5c6adaa 100644 --- a/libavcodec/x86/dsputil.asm +++ b/libavcodec/x86/dsputil.asm @@ -554,8 +554,8 @@ VECTOR_CLIP_INT32 6, 1, 0, 0 %if cpuflag(ssse3) pshufb m0, m2 pshufb m1, m2 - mova [r0 + 0], m0 - mova [r0 + 16], m1 + mov%1 [r0 + 0], m0 + mov%1 [r0 + 16], m1 %else pshuflw m0, m0, 10110001b pshuflw m1, m1, 10110001b @@ -569,8 +569,8 @@ VECTOR_CLIP_INT32 6, 1, 0, 0 psrlw m3, 8 por m2, m0 por m3, m1 - mova [r0 + 0], m2 - mova [r0 + 16], m3 + mov%1 [r0 + 0], m2 + mov%1 [r0 + 16], m3 %endif add r0, 32 add r1, 32 @@ -583,7 +583,7 @@ VECTOR_CLIP_INT32 6, 1, 0, 0 mov%1 m0, [r1] %if cpuflag(ssse3) pshufb m0, m2 - mova [r0], m0 + mov%1 [r0], m0 %else pshuflw m0, m0, 10110001b pshufhw m0, m0, 10110001b @@ -591,7 +591,7 @@ VECTOR_CLIP_INT32 6, 1, 0, 0 psllw m0, 8 psrlw m2, 8 por m2, m0 - mova [r0], m2 + mov%1 [r0], m2 %endif add r1, 16 add r0, 16 |