mesa/src
Ian Romanick 572e00dd66 intel/brw: Copy prop from raw integer moves with mismatched types
The specific pattern from the unit test was observed in ray tracing
trampoline shaders.

v2: Refactor the is_raw_move tests out to a utility function. Suggested
by Ken.

v3: Fix a regression caused by being too picky about source
modifiers. This was introduced somewhere between when I did initial
shader-db runs an v2.

v4: Fix typo in comment. Noticed by Caio.

shader-db:

All Intel platforms had similar results. (Meteor Lake shown)
total instructions in shared programs: 19734086 -> 19733997 (<.01%)
instructions in affected programs: 135388 -> 135299 (-0.07%)
helped: 76 / HURT: 2

total cycles in shared programs: 916290451 -> 916264968 (<.01%)
cycles in affected programs: 41046002 -> 41020519 (-0.06%)
helped: 32 / HURT: 29

fossil-db:

Meteor Lake, DG2, and Skylake had similar results. (Meteor Lake shown)
Totals:
Instrs: 151531355 -> 151513669 (-0.01%); split: -0.01%, +0.00%
Cycle count: 17209372399 -> 17208178205 (-0.01%); split: -0.01%, +0.00%
Max live registers: 32016490 -> 32016493 (+0.00%)

Totals from 17361 (2.75% of 630198) affected shaders:
Instrs: 2642048 -> 2624362 (-0.67%); split: -0.67%, +0.00%
Cycle count: 79803066 -> 78608872 (-1.50%); split: -1.75%, +0.25%
Max live registers: 421668 -> 421671 (+0.00%)

Tiger Lake and Ice Lake had similar results. (Tiger Lake shown)
Totals:
Instrs: 149995644 -> 149977326 (-0.01%); split: -0.01%, +0.00%
Cycle count: 15567293770 -> 15566524840 (-0.00%); split: -0.02%, +0.01%
Spill count: 61241 -> 61238 (-0.00%)
Fill count: 107304 -> 107301 (-0.00%)
Max live registers: 31993109 -> 31993112 (+0.00%)

Totals from 17813 (2.83% of 629912) affected shaders:
Instrs: 3738236 -> 3719918 (-0.49%); split: -0.49%, +0.00%
Cycle count: 4251157049 -> 4250388119 (-0.02%); split: -0.06%, +0.04%
Spill count: 28268 -> 28265 (-0.01%)
Fill count: 50377 -> 50374 (-0.01%)
Max live registers: 470648 -> 470651 (+0.00%)

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30251>
2024-08-30 03:39:31 +00:00
..
amd radeonsi/vcn: Rename transform_skip_disabled and remove hardcoded value for VCN5 2024-08-30 01:17:22 +00:00
android_stub vulkan/android: Add helper to probe AHB support 2024-05-14 14:53:44 +00:00
asahi asahi/clc: drop caps list 2024-08-26 15:04:00 +00:00
broadcom vulkan: Take a VkPipelineCreateFlags2KHR in vk_pipeline_*shader_stage*() 2024-08-29 03:30:31 +00:00
c11 build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
compiler nir/divergence: resource_intel is less divergent than you thought 2024-08-30 03:39:30 +00:00
drm-shim drm-shim: stub synobj_timeline_wait and query ioctl 2024-07-16 11:17:59 +02:00
egl egl/x11: pretend kopper is software with LIBGL_KOPPER_DRI2 2024-08-27 17:41:37 +00:00
etnaviv etnaviv: isa: Add conv instruction 2024-08-30 01:53:18 +00:00
freedreno tu: Simplify VK_EXT_sample_locations SampleCounts assignment 2024-08-30 00:34:54 +00:00
gallium d3d12: Video Encode HEVC - Use VPS information from frontend, specifically for vps_max_dec_pic_buffering_minus1 2024-08-30 02:12:28 +00:00
gbm gbm: depend on libdrm indepedent of dri2 setting 2024-08-20 04:55:58 +00:00
getopt build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
glx glx: Getting rid of the double assignment in __glXWireToEvent. 2024-08-26 23:19:56 +00:00
gtest build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
imagination pvr: emit tpu_tag_cdm_ctrl in compute stream when present 2024-08-14 18:07:41 +08:00
imgui
intel intel/brw: Copy prop from raw integer moves with mismatched types 2024-08-30 03:39:31 +00:00
loader gallium: move loader_dri_create_image to dri frontend 2024-08-01 15:28:03 +00:00
mapi mesa: add KHR_shader_subgroup extension 2024-08-26 10:46:16 +08:00
mesa glsl: set shader_info.subgroup_size for KHR_shader_subgroup 2024-08-26 10:46:20 +08:00
microsoft vulkan: Take a VkPipelineCreateFlags2KHR in vk_pipeline_*shader_stage*() 2024-08-29 03:30:31 +00:00
nouveau nvk: Advertise VK_KHR_maintenance7 2024-08-29 23:33:05 +00:00
panfrost ci: use v6.11-rc5 kernel for Mali V10 testing 2024-08-29 20:45:56 +00:00
tool perfetto: Add Panfrost data sources to system.cfg 2024-08-22 18:33:45 +00:00
util util: Remove Vulkan-only formats from get_plane_width/height 2024-08-29 15:57:52 +00:00
virtio venus/ci: add flake and skip timing out test 2024-08-29 19:21:52 +00:00
vulkan vulkan/screenshot-layer: Add Vulkan screenshot layer 2024-08-30 02:56:02 +00:00
x11 egl/glx: make detecting explicit modifier support more explicit 2024-08-19 15:00:51 +00:00
.clang-format bi: Add bi_foreach_ssa_dest 2024-08-20 10:02:45 +02:00
meson.build meson: Allow building lavapipe without specifying llvmpipe 2024-08-29 10:17:52 +02:00