Fraser Cormack
c8eb865747
[libclc] Move mad to the CLC library ( #123607 )
...
All targets build `__clc_mad` -- even SPIR-V targets -- since it
compiles to the optimal `llvm.fmuladd` intrinsic. There is no change to
the bytecode generated for non-SPIR-V targets.
The `mix` builtin, which is implemented as a wrapper around `mad`, is
left as an OpenCL-layer wrapper of `__clc_mad`. I don't know if it's
worth having a specific CLC version of `mix`.
The changes to the other CLC files/functions are moving uses of `mad` to
`__clc_mad`, and reformatting. There is an additional instance of
`trunc` becoming `__clc_trunc`, which was missed before.
2025-01-20 16:27:51 +00:00
..
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-12-13 08:47:13 +00:00
2025-01-20 16:27:51 +00:00
2024-11-06 19:28:44 +00:00
2024-11-06 09:16:36 +00:00
2025-01-20 16:27:51 +00:00
2024-11-06 19:28:44 +00:00
2024-11-06 19:28:44 +00:00
2025-01-20 16:27:51 +00:00
2025-01-20 16:27:51 +00:00
2025-01-20 16:27:51 +00:00
2024-11-06 09:16:36 +00:00
2024-11-12 16:23:52 +00:00
2025-01-20 16:27:51 +00:00
2024-11-04 16:35:14 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-11-06 19:28:44 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-12-13 08:47:13 +00:00
2024-07-18 12:00:41 +01:00
2024-12-13 08:47:13 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-07-18 12:00:41 +01:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-07-18 12:00:41 +01:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2025-01-20 16:27:51 +00:00
2024-10-31 16:45:37 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-07-18 12:00:41 +01:00
2024-07-18 12:00:41 +01:00
2024-12-13 08:47:13 +00:00
2024-07-18 12:00:41 +01:00
2024-12-13 08:47:13 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2025-01-20 16:27:51 +00:00
2024-07-18 12:00:41 +01:00
2025-01-20 16:27:51 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-12-13 08:47:13 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-11-04 22:00:01 +00:00
2024-12-13 08:47:13 +00:00