Revision 11fbc531fd50ffd3130885f267e19a5fa6d8e491 authored by Andrew Adams on 29 April 2024, 17:56:07 UTC, committed by Andrew Adams on 29 April 2024, 17:56:07 UTC
The old pattern was min(u16(x8 + y8), any u16 constant at all), which is
wrong in several ways. I replaced that with all the variants of
saturating_add I could think of.

It would be nice to be able to call find_intrinsics here to normalize,
but that would require making find_intrinsics trigger on scalars, and I
wanted to make the minimal change here to fix things.
1 parent d55d82b
History
File Mode Size
BundleStatic.cmake -rw-r--r-- 7.8 KB
CheckFilesExist.cmake -rw-r--r-- 455 bytes
FindHalide.cmake -rw-r--r-- 292 bytes
FindHalide_WebGPU.cmake -rw-r--r-- 744 bytes
FindHexagonSDK.cmake -rw-r--r-- 2.5 KB
HalideGeneratorHelpers.cmake -rw-r--r-- 31.8 KB
HalideTargetHelpers.cmake -rw-r--r-- 2.3 KB
HalideTestHelpers.cmake -rw-r--r-- 4.9 KB
TargetExportScript.cmake -rw-r--r-- 2.3 KB
WipeStandardFlags.cmake -rw-r--r-- 702 bytes
toolchain.linux-aarch64.cmake -rw-r--r-- 689 bytes
toolchain.linux-arm32.cmake -rw-r--r-- 1.3 KB
toolchain.linux-i386.cmake -rw-r--r-- 612 bytes
toolchain.linux-x64-asan.cmake -rw-r--r-- 2.0 KB
toolchain.linux-x64-fuzzer.cmake -rw-r--r-- 1.4 KB

back to top