| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Unnecessary, and doesn't even guarantee size.
|
| |
|
|
|
|
|
|
|
|
| |
This solution avoids the issue of how to run the initializers and
also allows those pages (and the parts of them in processor caches)
to be shared between multiple processes.
The drawback is slightly higher library size.
|
|
|
|
|
|
|
|
| |
Switch from auto-init to explicit init for util_half per Brian Paul's
indication.
NOTE: this is probably broken because not enough things call util_format_init.
Will be fixed shortly
|
|
|
|
| |
Sorry, forgout about that.
|
|
|
|
| |
This reverts commit 950300eb255f0e3507bf2757d16c3b5bc8ff3471.
|
|
|
|
| |
Gets rid of unnecessary delays on startup and compiler-specific hax.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
NOTE: this commit will cause Gallium to fail to build on any compiler
except GCC, the Microsoft C compiler and compatible compilers that
claim to be one of those.
This commit removes the u_gctors.cpp mechanism, in favor of using
compiler-specific syntax to add global constructors from C files.
This solves the problem of u_gctors.o not being pulled from static
libraries and avoids using C++.
However, it needs compiler-specific support for every compiler.
The Microsoft C compiler support has not been tested.
|
| |
|
| |
|
|
This adds a fast half float conversion facility to Gallium.
Mesa already contains such a facility, but using a much worse algorithm.
This one is an implementation of
www.fox-toolkit.org/ftp/fasthalffloatconversion.pdf
and uses a branch-less algorithm with some lookup tables small enough
to fit in the L1 cache.
Ideally, Mesa should start using these functions too, but I'm not sure
how to arrange that with the current build system.
A new "u_gctors.cpp" is added that defines a global C++ constructor
allowing to initialize to conversion lookup tables at library init.
|