Find a file
Trevor Gross d54896343c Introduce a select_implementation macro
Currently there is a macro called `llvm_intrinsically_optimized` that
uses an intrinsic rather than the function implementation if the
configuration is correct. Add a new macro `select_implementation` that
is somewhat cleaner to use.

In the future, we can update this macro with more fields to specify
other implementations that may be selected, such as something
architecture-specific or e.g. using a generic implementation for `f32`
routines, rather than those that convert to `f64`.

This introduces a `macros` module within `math/support`. We will be able
to move more things here later.
2024-10-28 19:40:32 -05:00
library/compiler-builtins/libm Introduce a select_implementation macro 2024-10-28 19:40:32 -05:00