- 01 Oct, 2015 1 commit
-
-
Henrik Gramner authored
Makes it possible to use them in arithmetic expressions.
-
- 18 Sep, 2015 1 commit
-
-
James Almer authored
Reviewed-by:
Michael Niedermayer <michaelni@gmx.at> Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 12 Sep, 2015 1 commit
-
-
James Almer authored
Reviewed-by:
Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 22 Aug, 2015 1 commit
-
-
Ganesh Ajjanagadde authored
REG_SP is defined by Solaris system headers. This fixes a sea of warnings while building on Solaris: http://fate.ffmpeg.org/report.cgi?time=20150820233505&slot=x86-opensolaris-gcc4.3Signed-off-by:
Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 13 Aug, 2015 1 commit
-
-
Henrik Gramner authored
Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
- 11 Aug, 2015 6 commits
-
-
Henrik Gramner authored
The .text section is already 16-byte aligned by default on all supported platforms so `SECTION_TEXT` isn't any different from `SECTION .text`. Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
Henrik Gramner authored
The bug was fixed in 1.3.0, so only perform the workaround in earlier versions. Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
Christophe Gisquet authored
Signed-off-by:
Henrik Gramner <henrik@gramner.com> Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
Anton Mitrofanov authored
Signed-off-by:
Henrik Gramner <henrik@gramner.com> Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
Henrik Gramner authored
Change ALLOC_STACK to always align the stack before allocating stack space for consistency. Previously alignment would occur either before or after allocating stack space depending on whether manual alignment was required or not. Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
Anton Mitrofanov authored
Emulation requires a temporary register if arguments 1 and 4 are the same; this doesn't obey the semantics of the original instruction, so we can't emulate that in x86inc. Also add pmacsdql emulation. Signed-off-by:
Henrik Gramner <henrik@gramner.com> Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
- 05 Aug, 2015 1 commit
-
-
Anton Mitrofanov authored
Signed-off-by:
Henrik Gramner <henrik@gramner.com>
-
- 04 Aug, 2015 2 commits
-
-
Henrik Gramner authored
The .text section is already 16-byte aligned by default on all supported platforms so `SECTION_TEXT` isn't any different from `SECTION .text`.
-
Henrik Gramner authored
Change ALLOC_STACK to always align the stack before allocating stack space for consistency. Previously alignment would occur either before or after allocating stack space depending on whether manual alignment was required or not.
-
- 03 Aug, 2015 3 commits
-
-
James Almer authored
Only two functions that use xop multiply-accumulate instructions where the first operand is the same as the fourth actually took advantage of the macros. This further reduces differences with x264's x86inc. Reviewed-by:
Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by:
James Almer <jamrial@gmail.com>
-
Henrik Gramner authored
Reviewed-by:
"Ronald S. Bultje" <rsbultje@gmail.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Henrik Gramner authored
The bug was fixed in 1.3.0, so only perform the workaround in earlier versions. Reviewed-by:
"Ronald S. Bultje" <rsbultje@gmail.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 26 Jul, 2015 1 commit
-
-
James Almer authored
Silences warnings with Nasm Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 18 Jul, 2015 1 commit
-
-
James Almer authored
Recent ICC versions that define GCC as >= 4.5 (like ICC 13) apparently can't optimize the generic C versions of av_bswap*() on their own. Reviewed-by:
Michael Niedermayer <michaelni@gmx.at> Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 08 Jul, 2015 1 commit
-
-
Henrik Gramner authored
Improves the accuracy of measurements, especially in short sections. To quote the Intel 64 and IA-32 Architectures Software Developer's Manual: "The RDTSC instruction is not a serializing instruction. It does not necessarily wait until all previous instructions have been executed before reading the counter. Similarly, subsequent instructions may begin execution before the read operation is performed. If software requires RDTSC to be executed only after all previous instructions have completed locally, it can either use RDTSCP (if the processor supports that instruction) or execute the sequence LFENCE;RDTSC." SSE2 is a requirement for lfence so only use it on SSE2-capable systems. Prefer lfence;rdtsc over rdtscp since rdtscp is supported on fewer systems. Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
- 27 Jun, 2015 2 commits
-
-
James Almer authored
Signed-off-by:
James Almer <jamrial@gmail.com>
-
James Almer authored
Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 31 May, 2015 4 commits
-
-
James Almer authored
Signed-off-by:
James Almer <jamrial@gmail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
James Almer authored
Signed-off-by:
James Almer <jamrial@gmail.com> Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
James Almer authored
Signed-off-by:
James Almer <jamrial@gmail.com> Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
James Almer authored
Signed-off-by:
James Almer <jamrial@gmail.com> Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
- 28 May, 2015 1 commit
-
-
Timothy Gu authored
Silences warning(s) like: libavcodec/x86/fft.asm:93: warning: section flags ignored on section redeclaration The cause of this warning is that because `struc` and `endstruc` attempts to revert to the previous section state [1]. The section state is stored in the macro __SECT__, defined by x86inc.asm to be `.note.GNU-stack ...`, through the `SECTION` directive [2]. Thus, the `.note.GNU-stack` section is defined twice (once in x86inc.asm, once during `endstruc`), causing the warning. That is the first part of the commit: using the primitive `[section]` format for .note.GNU-stack etc., which does not update `__SECT__` [2]. That fixes only half of the problem. Even without any `SECTION` directives, `__SECT__` is predefined as `.text`, which conflicting with the later `SECTION_TEXT` (which expands to `.text align=16`). [1]: http://www.nasm.us/doc/nasmdoc6.html#section-6.4 [2]: http://www.nasm.us/doc/nasmdoc6.html#section-6.3Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
- 27 May, 2015 2 commits
-
-
Timothy Gu authored
This commit silences warning(s) like: libavcodec/x86/fft.asm:93: warning: section flags ignored on section redeclaration The cause of this warning is that because `struc` and `endstruc` attempts to revert to the previous section state [1]. The section state is stored in the macro __SECT__, defined by x86inc.asm to be `.note.GNU-stack ...`, through the `SECTION` directive [2]. Thus, the `.note.GNU-stack` section is defined twice (once in x86inc.asm, once during `endstruc`), causing the warning. That is the first part of the commit: using the primitive `[section]` format for .note.GNU-stack etc., which does not update `__SECT__` [2]. That fixes only half of the problem. Even without any `SECTION` directives, `__SECT__` is predefined as `.text`, which conflicting with the later `SECTION_TEXT` (which expands to `.text align=16`). [1]: http://www.nasm.us/doc/nasmdoc6.html#section-6.4 [2]: http://www.nasm.us/doc/nasmdoc6.html#section-6.3Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
James Almer authored
Reviewed-by:
Michael Niedermayer <michaelni@gmx.at> Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 08 Apr, 2015 2 commits
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Ronald S. Bultje authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 20 Mar, 2015 1 commit
-
-
James Almer authored
Reviewed-by:
Michael Niedermayer <michaelni@gmx.at> Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 04 Mar, 2015 1 commit
-
-
Peter Cordes authored
Signed-off-by:
Peter Cordes <peter@cordes.ca>
-
- 25 Feb, 2015 1 commit
-
-
James Almer authored
Reviewed-by:
Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 17 Feb, 2015 1 commit
-
-
Christophe Gisquet authored
SSE2 instructions that are XMM-implementations of pre-existing MMX/MMX2 instructions did not issue warnings when used in SSE functions. Handle it by also checking the register type when such instructions are used. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 03 Feb, 2015 1 commit
-
-
Christophe Gisquet authored
This mimicks what is done for the other instruction sets. Tested-by:
James Almer <jamrial@gmail.com> Tested-by:
Mickaël Raulet <mraulet@gmail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 02 Feb, 2015 1 commit
-
-
James Darnley authored
The same can be done with INIT_XMM avx Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 01 Feb, 2015 1 commit
-
-
Anton Mitrofanov authored
Requested-by:
Christophe Gisquet <christophe.gisquet@gmail.com> Requested-by:
"Ronald S. Bultje" <rsbultje@gmail.com>
-
- 31 Dec, 2014 1 commit
-
-
James Almer authored
Reviewed-by:
Michael Niedermayer <michaelni@gmx.at> Reviewed-by:
Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 05 Dec, 2014 1 commit
-
-
Kieran Kunhya authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> Signed-off-by:
Vittorio Giovara <vittorio.giovara@gmail.com>
-