git://git.jankratochvil.net
/
lldb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Implement sub_sat builtin. Patch by Lei Mou!
[lldb.git]
/
libclc
/
test
/
subsat.cl
1
__kernel void test_subsat_char(char *a, char x, char y) {
2
*a = sub_sat(x, y);
3
return;
4
}
5
6
__kernel void test_subsat_uchar(uchar *a, uchar x, uchar y) {
7
*a = sub_sat(x, y);
8
return;
9
}
10
11
__kernel void test_subsat_long(long *a, long x, long y) {
12
*a = sub_sat(x, y);
13
return;
14
}
15
16
__kernel void test_subsat_ulong(ulong *a, ulong x, ulong y) {
17
*a = sub_sat(x, y);
18
return;
19
}