diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2012-08-05 22:25:12 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2012-08-05 22:25:12 +0000 |
commit | 3b230ffdb7c8c312e327d18f23e3d91ec8ae0511 (patch) | |
tree | 239f2ecb4a64917ca6ffa817702fe35119ad6107 /generic/include/clc/integer | |
parent | 05edc47f68b94fb1fc6a6e6f2a5baabb2abd9b59 (diff) |
Implement sub_sat builtin. Patch by Lei Mou!
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@161312 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'generic/include/clc/integer')
-rw-r--r-- | generic/include/clc/integer/sub_sat.h | 2 | ||||
-rw-r--r-- | generic/include/clc/integer/sub_sat.inc | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/generic/include/clc/integer/sub_sat.h b/generic/include/clc/integer/sub_sat.h new file mode 100644 index 0000000..942274d --- /dev/null +++ b/generic/include/clc/integer/sub_sat.h @@ -0,0 +1,2 @@ +#define BODY <clc/integer/sub_sat.inc> +#include <clc/integer/gentype.inc> diff --git a/generic/include/clc/integer/sub_sat.inc b/generic/include/clc/integer/sub_sat.inc new file mode 100644 index 0000000..3e0f8f9 --- /dev/null +++ b/generic/include/clc/integer/sub_sat.inc @@ -0,0 +1 @@ +_CLC_OVERLOAD _CLC_DECL GENTYPE sub_sat(GENTYPE x, GENTYPE y); |