repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[flang] Accept polymorphic component element in storage_size
[llvm-project.git]
/
libclc
/
generic
/
lib
/
math
/
clc_sw_binary.inc
blob
7741475c23717cbc583a5fd3ff7bd830d80ef41e
1
#include <utils.h>
2
3
#define __CLC_SW_FUNC(x) __CLC_CONCAT(__clc_, x)
4
5
// TODO: Enable half precision when the sw routine is implemented
6
#if __CLC_FPSIZE > 16
7
_CLC_OVERLOAD _CLC_DEF __CLC_GENTYPE __CLC_FUNC(__CLC_GENTYPE x, __CLC_GENTYPE y) {
8
return __CLC_SW_FUNC(__CLC_FUNC)(x, y);
9
}
10
#endif
11
12
#undef __CLC_SW_FUNC