Diego Biurrun
26301caaa1
x86: mmx2 ---> mmxext in asm constructs
12 years ago
Diego Biurrun
04581c8c77
x86: yasm: Use complete source path for macro helper %includes
...
This is more consistent with the way we handle C #includes and
it simplifies the build system.
12 years ago
Diego Biurrun
6860b4081d
x86: include x86inc.asm in x86util.asm
...
This is necessary to allow refactoring some x86util macros with cpuflags.
12 years ago
Dave Yeo
197439c1ef
x86: pngdsp: Fix assembly for OS/2
...
The a.out object format does not allow aligning sections.
On OS/2 LD aligns sections to 16 bytes.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Reimar Döffinger
394d41ee30
Partially revert "Fix png decoding on x86."
...
This partially reverts commit 58dabf7bf2
.
It is no longer necessary to use unaligned mov.
The swapped mov argument fix remains though.
13 years ago
Ronald S. Bultje
4ff6dea390
pngdsp: swap argument inversion.
13 years ago
Reimar Döffinger
58dabf7bf2
Fix png decoding on x86.
...
Line sizes are only 8-byte aligned, so use unaliged loads
for add_bytes_l2 pointers.
Increasing the alignment requirement to 16 seemed a bit extreme
(png may be used for rather small sizes).
Also fix a mov that had its arguments swapped, leading
add_bytes_l2 being applied on up to 8 bytes too few.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
KO Myung-Hun
c853124fb0
Use SECTION_TEXT instead of section .text for the compatibility
...
aout does not support 'align='.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Ronald S. Bultje
af79a0c48a
png: add support for bpp>4 to paeth x86 SIMD code.
...
This fixes playback of e.g. RGB48 (bpp=6) content on x86 CPUs. Fixes
bug 214.
13 years ago
Ronald S. Bultje
f91c4b7824
png: add SSE2 version for add_bytes_l2.
13 years ago
Ronald S. Bultje
59f474b49d
png: convert DSP functions to yasm.
13 years ago