summaryrefslogtreecommitdiff
path: root/generic/include
diff options
context:
space:
mode:
Diffstat (limited to 'generic/include')
-rw-r--r--generic/include/clc/clc.h1
-rw-r--r--generic/include/clc/integer/sub_sat.h2
-rw-r--r--generic/include/clc/integer/sub_sat.inc1
3 files changed, 4 insertions, 0 deletions
diff --git a/generic/include/clc/clc.h b/generic/include/clc/clc.h
index b0cbd4a..8b41523 100644
--- a/generic/include/clc/clc.h
+++ b/generic/include/clc/clc.h
@@ -57,6 +57,7 @@
#include <clc/integer/abs.h>
#include <clc/integer/abs_diff.h>
#include <clc/integer/add_sat.h>
+#include <clc/integer/sub_sat.h>
/* 6.11.5 Geometric Functions */
#include <clc/geometric/cross.h>
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);