gallium/util: pregenerate half float tables
authorLuca Barbieri <luca@luca-barbieri.com>
Fri, 2 Apr 2010 01:48:59 +0000 (03:48 +0200)
committerLuca Barbieri <luca@luca-barbieri.com>
Fri, 2 Apr 2010 04:16:18 +0000 (06:16 +0200)
commitc476305cdeb1ca9d755983e2058cb44f5b9109f0
tree4cf81a1cd1a8648400a7281e811601822231fce2
parent2ae66e9b97e9864367c26fc5f9cb86896bc83b45
gallium/util: pregenerate half float tables

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.
src/gallium/auxiliary/Makefile
src/gallium/auxiliary/SConscript
src/gallium/auxiliary/util/u_format.c
src/gallium/auxiliary/util/u_half.c [deleted file]
src/gallium/auxiliary/util/u_half.h
src/gallium/auxiliary/util/u_half.py [new file with mode: 0644]