mesa/src/util
Matt Turner 4a96df73e7 mesa: Replace a priori knowledge of gcc builtins with configure tests.
Presumbly this will let clang and other compilers use the built-ins as
well.

Notice two changes specifically:
   - in _mesa_next_pow_two_64(), always use __builtin_clzll and add a
     static assertion that this is safe.
   - in macros.h, remove the clang-specific definition since it should
     be able to detect __builtin_unreachable in configure.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com> [C bits]
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2014-09-25 13:52:55 -07:00
..
tests/hash_table util: remove ralloc_test 2014-08-08 19:23:25 +01:00
.gitignore util: add src/util/format_srgb.c to .gitignore 2014-08-08 09:49:52 +03:00
format_srgb.h util: include c99_compat.h in format_srgb.h to get 'inline' definition 2014-08-04 14:06:13 -06:00
format_srgb.py gallium: Move sRGB <-> RGB handling to libmesautil 2014-08-04 11:07:15 -07:00
hash_table.c util: Gather some common macros 2014-08-04 11:07:10 -07:00
hash_table.h util: include c99_compat.h in hash_table.h to get 'inline' definition 2014-08-04 14:06:13 -06:00
macros.h mesa: Replace a priori knowledge of gcc builtins with configure tests. 2014-09-25 13:52:55 -07:00
Makefile.am mesa: Move register_allocate.c to util. 2014-09-23 13:40:10 -07:00
Makefile.sources mesa: Move register_allocate.c to util. 2014-09-23 13:40:10 -07:00
ralloc.c util: Move ralloc to a new src/util directory. 2014-08-04 11:06:58 -07:00
ralloc.h util: Gather some common macros 2014-08-04 11:07:10 -07:00
register_allocate.c mesa: Move register_allocate.c to util. 2014-09-23 13:40:10 -07:00
register_allocate.h mesa: Move register_allocate.c to util. 2014-09-23 13:40:10 -07:00
rgtc.c util: move shared rgtc code to util (v2) 2014-09-17 11:27:25 +10:00
rgtc.h util: move shared rgtc code to util (v2) 2014-09-17 11:27:25 +10:00
SConscript util: fix SCons build 2014-09-23 16:33:17 -06:00
texcompress_rgtc_tmp.h util: move shared rgtc code to util (v2) 2014-09-17 11:27:25 +10:00