mesa/src
Jordan Justen eef7a117a1 intel/compiler: Support fmul_fsign opt for fp64 when int64 isn't supported
MTL support fp64, but not int64. The fsign(double(x))*FOO optimization
would try to use a 64-bit int xor operation to conditionally toggle
the sign bit off the result.

Since this only affects high bit of the result, we can do a 32-bit
move of the low dword, and a 32-bit xor on the high dword.

Fixes dEQP-VK.spirv_assembly.instruction.compute.float_controls.fp64.input_args.modf_denorm_flush_to_zero
on MTL.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22259>
2023-04-05 18:48:21 +00:00
..
amd radv/amdgpu: Remove can_patch and chained submit code path. 2023-04-05 17:10:25 +00:00
android_stub util/log: improve logger_android 2023-02-22 17:55:40 +00:00
asahi asahi: Convert to SPDX headers 2023-03-28 05:14:00 +00:00
broadcom vc4/ci: add another sync flake 2023-04-05 14:15:25 +00:00
c11 c11: Remove _MTX_INITIALIZER_NP for windows 2022-11-09 04:38:28 +00:00
compiler nir: add 2 new intel intrinsics for uniform ssbo/shared loads 2023-04-05 12:32:56 +00:00
drm-shim drm-shim: Use hide_drm_device_path() to hide other drm devices 2022-12-30 15:51:11 -08:00
egl dri2/android: Bypass throttling 2023-03-30 18:46:04 +00:00
etnaviv ci/etnaviv: Polish the gc2000 xfails a bit. 2023-03-29 07:52:45 +00:00
freedreno ci/zink: Disable godot-tps-gles3 on a630. 2023-04-04 15:37:14 +00:00
gallium r600/sfn: fix container allocators 2023-04-05 07:50:34 +00:00
gbm gbm: drop unnecessary vulkan dependency 2023-02-23 18:31:22 +00:00
getopt
glx glx: fix memory leak related to __glXCloseDisplay() 2023-03-20 21:12:54 +00:00
gtest
imagination pvr: Mark all normalized formats as supporting with_packed_usc_channel 2023-03-29 13:00:37 +00:00
imgui
intel intel/compiler: Support fmul_fsign opt for fp64 when int64 isn't supported 2023-04-05 18:48:21 +00:00
loader loader: Use libdrm shim 2023-03-05 16:31:51 +00:00
mapi mapi: add InternalInvalidateFramebufferAncillaryMESA 2023-03-30 05:06:47 +00:00
mesa glthread: use id 0 for internal buffer objects 2023-04-05 13:28:44 +00:00
microsoft Revert "microsoft/compiler: Use SRVs for read-only images" 2023-04-04 22:50:05 +00:00
nouveau nouveau: Make getSize return unsigned int 2023-03-17 16:08:33 +00:00
panfrost Uprev Piglit to 2391a83d1639a7ab7bbea02853b922878687b0e5 2023-04-04 15:37:14 +00:00
tool pps: Fix build errors. 2023-03-13 01:22:46 +00:00
util perfetto: Move intel's cmdbuf/queue annotation code to the shared util. 2023-03-30 02:19:35 +00:00
virtio venus/ci: Only run one crosvm instance 2023-03-31 12:39:49 +00:00
vulkan vulkan/wsi/display: set pDisplay to NULL on error 2023-04-05 06:21:26 +00:00
meson.build hgl: remove 2023-02-18 00:44:43 +00:00