• Mans Rullgard's avatar
    x86: yadif: fix asm with suncc · 480178a2
    Mans Rullgard authored
    Under some circumstances, suncc will use a single register for the
    address of all memory operands, inserting lea instructions loading
    the correct address prior to each memory operand being used in the
    code. In the yadif code, the branch in the asm block bypasses such
    an lea instruction, causing an incorrect address to be used in the
    following load.
    
    This patch replaces the tmpX arrays with a single array and uses a
    register operand to hold its address. Although this prevents using
    offsets from the stack pointer to access these locations, the code
    still builds as 32-bit PIC even with old compilers.
    Signed-off-by: 's avatarMans Rullgard <mans@mansr.com>
    480178a2
Name
Last commit
Last update
..
x86 Loading commit data...
Makefile Loading commit data...
af_aformat.c Loading commit data...
af_amix.c Loading commit data...
af_anull.c Loading commit data...
af_asyncts.c Loading commit data...
af_channelmap.c Loading commit data...
af_channelsplit.c Loading commit data...
af_join.c Loading commit data...
af_resample.c Loading commit data...
allfilters.c Loading commit data...
asink_anullsink.c Loading commit data...
asrc_anullsrc.c Loading commit data...
audio.c Loading commit data...
audio.h Loading commit data...
avfilter.c Loading commit data...
avfilter.h Loading commit data...
avfiltergraph.c Loading commit data...
avfiltergraph.h Loading commit data...
buffer.c Loading commit data...
buffersink.c Loading commit data...
buffersink.h Loading commit data...
buffersrc.c Loading commit data...
buffersrc.h Loading commit data...
drawutils.c Loading commit data...
drawutils.h Loading commit data...
fifo.c Loading commit data...
filtfmts.c Loading commit data...
formats.c Loading commit data...
formats.h Loading commit data...
gradfun.h Loading commit data...
graphparser.c Loading commit data...
internal.h Loading commit data...
libavfilter.v Loading commit data...
split.c Loading commit data...
version.h Loading commit data...
vf_aspect.c Loading commit data...
vf_blackframe.c Loading commit data...
vf_boxblur.c Loading commit data...
vf_copy.c Loading commit data...
vf_crop.c Loading commit data...
vf_cropdetect.c Loading commit data...
vf_delogo.c Loading commit data...
vf_drawbox.c Loading commit data...
vf_drawtext.c Loading commit data...
vf_fade.c Loading commit data...
vf_fieldorder.c Loading commit data...
vf_format.c Loading commit data...
vf_fps.c Loading commit data...
vf_frei0r.c Loading commit data...
vf_gradfun.c Loading commit data...
vf_hflip.c Loading commit data...
vf_hqdn3d.c Loading commit data...
vf_libopencv.c Loading commit data...
vf_lut.c Loading commit data...
vf_null.c Loading commit data...
vf_overlay.c Loading commit data...
vf_pad.c Loading commit data...
vf_pixdesctest.c Loading commit data...
vf_scale.c Loading commit data...
vf_select.c Loading commit data...
vf_setpts.c Loading commit data...
vf_settb.c Loading commit data...
vf_showinfo.c Loading commit data...
vf_slicify.c Loading commit data...
vf_transpose.c Loading commit data...
vf_unsharp.c Loading commit data...
vf_vflip.c Loading commit data...
vf_yadif.c Loading commit data...
video.c Loading commit data...
video.h Loading commit data...
vsink_nullsink.c Loading commit data...
vsrc_color.c Loading commit data...
vsrc_movie.c Loading commit data...
vsrc_nullsrc.c Loading commit data...
vsrc_testsrc.c Loading commit data...
yadif.h Loading commit data...