diff options
author | Mans Rullgard <mans@mansr.com> | 2012-04-27 02:46:14 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2012-05-01 00:21:30 +0100 |
commit | 4c387c7070e24fa1d1c6397492fef9e46f9bf7aa (patch) | |
tree | dc06c0e7f772dd5c66da105db71520a46a40f9b0 /libavcodec/binkdsp.c | |
parent | c75eca9d37d692dcbd2c80af0f37e33b10ac333b (diff) | |
download | ffmpeg-4c387c7070e24fa1d1c6397492fef9e46f9bf7aa.tar.gz |
ppc: dsputil: do unaligned block accesses correctly
To load unaligned vector data in the usual way, explicit vec_ld()
should be used rather than dereferencing a pointer to a vector type.
When the VSX extension is enabled, gcc may compile vector pointer
dereferences using the VSX lxvw4x instruction instead of the lvx
instruction typically used with Altivec/VMX. As the behaviour of
these instructions with unaligned addresses differs, it is important
that only lvx is used here.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/binkdsp.c')
0 files changed, 0 insertions, 0 deletions