mesa/src/gallium/auxiliary
Eric Anholt 463b7d0332 gallium: Enable ARM NEON CPU detection.
I wrote this code with reference to pixman, though I've only decided to
cover Linux (what I'm testing) and Android (seems obvious enough).  Linux
has getauxval() as a cleaner interface to the /proc entry, but it's more
glibc-specific and I didn't want to add detection for that.

This will be used to enable NEON at runtime on ARMv6 builds of vc4.

v2: Actually initialize the temp vars in the Android path (noticed by
    daniels)
v3: Actually pull in the cpufeatures library (change by robher).
    Use O_CLOEXEC.  Break out of the loop when we find our feature.
v4: Drop VFP code, which was confused about what it was detecting and not
    actually used yet.

Reviewed-by: Grazvydas Ignotas <notasas@gmail.com>
2017-05-02 13:35:23 -07:00
..
cso_cache gallium: s/uint/enum pipe_render_cond_flag/ for set_render_condition() 2017-03-08 08:50:20 -07:00
draw draw: whitespace fixes in draw_pipe_vbuf.c 2017-04-26 11:37:59 -06:00
gallivm gallium: add PIPE_SHADER_CAP_TGSI_SKIP_MERGE_REGISTERS 2017-04-26 19:15:34 +02:00
hud gallium/hud: set the dump file streams to line buffered 2017-04-13 12:38:49 +01:00
indices gallium: decrease the size of pipe_draw_info - 88 -> 80 bytes 2017-04-04 11:14:43 +02:00
nir nir: Rework conversion opcodes 2017-03-14 07:36:40 -07:00
os gallium/util: replace pipe_thread_setname() with u_thread_setname() 2017-03-12 17:49:04 +11:00
pipe-loader gallium/targets: fix bool setting on BE architectures 2017-04-29 14:32:20 +01:00
pipebuffer gallium/util: replace pipe_condvar with cnd_t 2017-03-07 09:07:33 +11:00
postprocess gallium/postprocess: Fix resource freeing 2016-09-01 07:59:49 +02:00
rbug gallium: decrease the size of pipe_resource - 64 -> 48 bytes 2017-04-04 11:14:43 +02:00
renderonly renderonly: use drmIoctl 2017-05-02 22:22:53 +02:00
rtasm gallium/util: replace pipe_mutex_unlock() with mtx_unlock() 2017-03-07 08:53:05 +11:00
target-helpers ilo: EOL unplumb unmaintained gallium drv from winsys 2017-02-03 16:13:32 +11:00
tgsi tgsi/scan: record compute shader system value usage 2017-04-28 21:47:35 +02:00
translate translate: fix start_instance parameter in sse version 2016-06-21 21:50:16 -04:00
util gallium: Enable ARM NEON CPU detection. 2017-05-02 13:35:23 -07:00
vl gallium: decrease the size of pipe_resource - 64 -> 48 bytes 2017-04-04 11:14:43 +02:00
Android.mk gallium: Enable ARM NEON CPU detection. 2017-05-02 13:35:23 -07:00
Makefile.am gallium/util: honour LIBUNWIND_CFLAGS 2017-04-05 18:42:56 +01:00
Makefile.sources gallium: remove u_caps.c/h interface 2017-04-25 23:26:44 +02:00
SConscript scons: whitespace cleanup 2016-05-25 12:23:12 -06:00