Age | Commit message (Collapse) | Author |
|
'-fvisibility=hidden' only applies to definitions, not declarations,
so the compiler has to be conservative about how references to global
data symbols are performed.
Explicitly specifying the visibility allows for better code generation.
|
|
When compiling with asm enabled there's no point in compiling
C versions of DSP functions that have asm implementations using
instruction sets that the compiler can unconditionally use.
E.g. when compiling with -mssse3 we can remove the C version
of all functions with SSSE3 implementations.
This is accomplished using the compiler's dead code elimination
functionality.
Can be configured using the new 'trim_dsp' meson option, which
by default is enabled when compiling in release mode.
|
|
|
|
This fixes building with MSVC (and probably old GCC too) after
9636af88b892703ed13ce9216723c63029b6dd1a.
That commit made src/cpu.h include src/internal.h. src/internal.h
includes stdatomic.h and thus requires declaring the dependency on
stdatomic_dependencies.
Instead of adding that dependency in all other build targets that
include src/cpu.h (most tests and tools), avoid leaking the dependency
in this particular header.
|
|
Supports Linux, MacOS, and Windows.
|
|
|
|
Limited to PowerPC64 LE for now.
|
|
|
|
A symbol starting with two leading underscores is reserved for
the compiler/standard library implementation.
Also remove the trailing two double underscores for consistency
and symmetry.
|
|
|
|
|
|
Some of the code originally written by, or based by code written by,
the following authors who have agreed to relicense it to 2-clause BSD:
Anton Mitrofanov
Diego Biurrun
Janne Grunau
Loren Merritt
Luca Barbato
Martin Storsjö
Michael Niedermayer
|