mesa/src
Job Noorman 9de628b65c ir3: fold and/or and negations into branches
Fold and/or into braa/brao when profitable. Only do this when the and/or
is not used for any non-branch instructions as this would increase total
instruction count.

Add an algebraic nir pass that performs the inverse DeMorgan's laws to
try to bring and/or in front of branches. Again, only do this when the
original inot in only used for branches. This should always decrease
instruction count since the extra inots can be folded into the branch.

Fold inot into branches by using the inv1/inv2 cat0 fields.

Signed-off-by: Job Noorman <jnoorman@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27411>
2024-03-01 13:45:11 +00:00
..
amd radv: fix initialization of radv_shader_layout->use_dynamic_descriptors 2024-03-01 09:06:33 +00:00
android_stub
asahi agx: add "is helper program?" key bit 2024-02-14 21:02:32 +00:00
broadcom v3dv/ci: remove crashes from expected list 2024-02-27 10:07:17 +01:00
c11
compiler nir: add search helper is_only_used_by_if 2024-03-01 13:45:11 +00:00
drm-shim compiler,vulkan,drm-shim: Remove unused include directories from meson.build 2023-10-27 01:35:10 +00:00
egl egl/wayland: Remove EGL_WL_create_wayland_buffer_from_image 2024-02-29 18:26:53 +00:00
etnaviv ci/etnaviv: update expectations 2024-02-12 01:25:24 +01:00
freedreno ir3: fold and/or and negations into branches 2024-03-01 13:45:11 +00:00
gallium panfrost: Add the gallium glue to get panfrost loaded when panthor is detected 2024-03-01 10:42:43 +00:00
gbm gbm: Remove hardcoded color-channel data 2024-02-27 10:51:03 +00:00
getopt
glx glx: only print zink failure-to-load messages if explicitly requested 2024-02-29 13:13:09 +00:00
gtest
imagination vulkan: Rework vk_render_pass_state::attachments 2024-02-27 22:17:09 +00:00
imgui
intel anv: fix non matching image/view format attachment resolve 2024-03-01 12:10:28 +00:00
loader loader/wayland: Add named queue fallback 2024-02-28 11:01:31 +00:00
mapi glthread: generate packed versions of gl*Pointer/Offset calls 2024-02-23 18:03:59 +00:00
mesa st/dri: Store pipe_format in gl_config 2024-02-27 10:51:03 +00:00
microsoft dzn: Fix conditions for barrier in texture-converting copy case 2024-02-29 19:56:59 +00:00
nouveau nvk: free leaked cmd_buffer descriptors state. 2024-02-29 22:51:56 +00:00
panfrost panvk: do not handle illegal null 2024-03-01 12:34:27 +00:00
tool perfetto/pps-producer: add optimized cpu/gpu timestamp correlation support 2023-11-09 13:22:48 +00:00
util util: Add timespec_sub_saturate to avoid negative time for deadlines 2024-02-27 13:10:13 +00:00
virtio venus: mandate a few venus capsets long required before 1.0 2024-02-29 00:05:13 +00:00
vulkan vulkan/wsi/wayland: More descriptive name for swapchain queue 2024-02-29 21:45:57 +00:00
.clang-format ir3: allow liveness calculation for different register types 2024-03-01 13:45:10 +00:00
meson.build loader/wayland: Add fallback wl_display_dispatch_queue_timeout 2024-02-27 13:10:13 +00:00