diff options
| author | Jan Vesely <jan.vesely@rutgers.edu> | 2018-03-19 01:01:10 +0000 |
|---|---|---|
| committer | Jan Vesely <jan.vesely@rutgers.edu> | 2018-03-19 01:01:10 +0000 |
| commit | 5b10494fa8a305370ba6bc150dba5038188bcf50 (patch) | |
| tree | 9a86e88463058ad97534407a7663503ca5f277a2 /libclc/generic/include/math | |
| parent | 793733a6c832455c939667bf1845655fe1fc44b4 (diff) | |
| download | bcm5719-llvm-5b10494fa8a305370ba6bc150dba5038188bcf50.tar.gz bcm5719-llvm-5b10494fa8a305370ba6bc150dba5038188bcf50.zip | |
remainder: Port from amd builtins
Mostly ported from amd_builtins, uses only denormal path for fp32.
Passes CTS on carrizo and turks
Reviewer: Aaron Watry <awatry@gmail.com>
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 327818
Diffstat (limited to 'libclc/generic/include/math')
| -rw-r--r-- | libclc/generic/include/math/clc_remainder.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libclc/generic/include/math/clc_remainder.h b/libclc/generic/include/math/clc_remainder.h new file mode 100644 index 00000000000..db084cf1c26 --- /dev/null +++ b/libclc/generic/include/math/clc_remainder.h @@ -0,0 +1,4 @@ +#define __CLC_FUNCTION __clc_remainder +#define __CLC_BODY <clc/math/binary_decl_tt.inc> +#include <clc/math/gentype.inc> +#undef __CLC_FUNCTION |

