mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-03 08:58:16 +02:00
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>
|
||
|---|---|---|
| .. | ||
| tests/hash_table | ||
| .gitignore | ||
| format_srgb.h | ||
| format_srgb.py | ||
| hash_table.c | ||
| hash_table.h | ||
| macros.h | ||
| Makefile.am | ||
| Makefile.sources | ||
| ralloc.c | ||
| ralloc.h | ||
| register_allocate.c | ||
| register_allocate.h | ||
| rgtc.c | ||
| rgtc.h | ||
| SConscript | ||
| texcompress_rgtc_tmp.h | ||