mesa/src/util
Eric Anholt 7a34a0e890 ra: Add a callback for selecting a register from what's available.
VC4 has had a tension, similar to pre-Sandybridge Intel, where we want to
use low-numbered registers (more parallelism on Intel, fewer delay slots
on vc4), but in order to give instruction scheduling the most freedom to
avoid delays we want to round-robin between registers of the same cost.
Our two heuristics so far have chosen one end or the other of that
tradeoff.

The callback, instead, hands the driver the set of registers that are
available, and the driver gets to make its own choice.  This will be used
in vc4 to round-robin between registers of the same cost, and might be
used in the future for improving bank selection.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2017-07-25 14:44:52 -07:00
..
sha1
tests/hash_table
.gitignore
Android.mk Android: correct libz dependency 2017-05-17 14:04:18 +01:00
bitscan.c
bitscan.h gallium: use "ull" number suffix to keep the QtCreator parser happy 2017-07-10 22:44:48 +02:00
bitset.h
build_id.c
build_id.h util: consistently use ifndef guards over pragma once 2017-03-22 16:55:22 +00:00
crc32.c
crc32.h
debug.c
debug.h
disk_cache.c util/u_queue: add an option to set the minimum thread priority 2017-06-07 18:43:42 +02:00
disk_cache.h util/disk_cache: fix a comment 2017-07-03 13:57:01 +02:00
format_r11g11b10f.h util: consistently use ifndef guards over pragma once 2017-03-22 16:55:22 +00:00
format_rgb9e5.h
format_srgb.h
format_srgb.py
half_float.c
half_float.h
hash_table.c util: fix warning/error on 32bit build 2017-07-25 12:54:33 +03:00
hash_table.h mesa/util: add a hash table wrapper which support 64-bit keys 2017-06-14 10:04:35 +02:00
list.h util: #include "c99_compat.h" to fix Windows build 2017-04-03 13:09:05 -06:00
macros.h util: Make CLAMP turn NaN into MIN. 2017-07-18 23:48:46 -07:00
Makefile.am
Makefile.sources util: Move u_dynarray to src/util 2017-06-07 21:07:24 +02:00
mesa-sha1.c util/sha1: harmonize _mesa_sha1_* wrappers 2017-03-22 11:33:51 +00:00
mesa-sha1.h util: #include "c99_compat.h" to fix Windows build 2017-04-03 13:09:05 -06:00
ralloc.c util: remove unneeded Android ifdef from ralloc.c 2017-05-25 15:02:12 -05:00
ralloc.h
rand_xor.c util/rand_xor: add missing include statements 2017-06-01 14:26:12 +01:00
rand_xor.h util/rand_xor: add function to seed rand 2017-03-23 08:16:29 +11:00
register_allocate.c ra: Add a callback for selecting a register from what's available. 2017-07-25 14:44:52 -07:00
register_allocate.h ra: Add a callback for selecting a register from what's available. 2017-07-25 14:44:52 -07:00
rgtc.c
rgtc.h
roundeven_test.c
rounding.h
SConscript
set.c util: make set's deleted_key_value declaration consistent with hash table one 2017-06-08 09:26:44 +02:00
set.h
simple_list.h
slab.c util: slab_destroy_child should check whether it's been initialized 2017-05-29 01:52:16 +02:00
slab.h
string_to_uint_map.cpp
string_to_uint_map.h
strndup.h util/strndup: move header inclusion as applicable 2017-03-22 16:55:23 +00:00
strtod.c
strtod.h
texcompress_rgtc_tmp.h
u_atomic.c util/u_atomic: provide 64bit atomics where they're missing 2017-04-03 10:52:41 -07:00
u_atomic.h
u_atomic_test.c
u_dynarray.h mesa/util: add util_dynarray_clear() helper 2017-06-18 14:10:32 +02:00
u_endian.h
u_queue.c util/u_queue: add an option to resize the queue when it's full 2017-07-17 10:57:20 -04:00
u_queue.h util/u_queue: add an option to resize the queue when it's full 2017-07-17 10:57:20 -04:00
u_string.h
u_thread.h util: move pipe_thread_is_self from gallium to src/util 2017-06-26 02:17:03 +02:00
u_vector.c util: Remove u_math from u_vector 2017-07-14 14:14:05 +01:00
u_vector.h util: Remove u_math from u_vector 2017-07-14 14:14:05 +01:00