Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
llvm-epi-0.8
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Roger Ferrer
llvm-epi-0.8
Commits
49b4d8cc
Commit
49b4d8cc
authored
12 years ago
by
Peter Collingbourne
Browse files
Options
Downloads
Patches
Plain Diff
Fix declarations of __clc_add_sat_*. Patch by Lei Mou!
llvm-svn: 161311
parent
3fadbb54
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libclc/generic/lib/integer/add_sat.cl
+8
-8
8 additions, 8 deletions
libclc/generic/lib/integer/add_sat.cl
with
8 additions
and
8 deletions
libclc/generic/lib/integer/add_sat.cl
+
8
−
8
View file @
49b4d8cc
#
include
<clc/clc.h>
#
include
<clc/clc.h>
//
From
add_sat.ll
//
From
add_sat.ll
_CLC_DECL
char
__clc_add_sat_s8
(
char,
char
)
;
_CLC_DECL
char
__clc_add_sat_s8
(
char,
char
)
;
_CLC_DECL
char
__clc_add_sat_u8
(
uchar,
uchar
)
;
_CLC_DECL
u
char
__clc_add_sat_u8
(
uchar,
uchar
)
;
_CLC_DECL
char
__clc_add_sat_s16
(
short,
short
)
;
_CLC_DECL
short
__clc_add_sat_s16
(
short,
short
)
;
_CLC_DECL
char
__clc_add_sat_u16
(
ushort,
ushort
)
;
_CLC_DECL
ushort
__clc_add_sat_u16
(
ushort,
ushort
)
;
_CLC_DECL
char
__clc_add_sat_s32
(
int,
int
)
;
_CLC_DECL
int
__clc_add_sat_s32
(
int,
int
)
;
_CLC_DECL
char
__clc_add_sat_u32
(
uint,
uint
)
;
_CLC_DECL
uint
__clc_add_sat_u32
(
uint,
uint
)
;
_CLC_DECL
char
__clc_add_sat_s64
(
long,
long
)
;
_CLC_DECL
long
__clc_add_sat_s64
(
long,
long
)
;
_CLC_DECL
char
__clc_add_sat_u64
(
ulong,
ulong
)
;
_CLC_DECL
ulong
__clc_add_sat_u64
(
ulong,
ulong
)
;
_CLC_OVERLOAD
_CLC_DEF
char
add_sat
(
char
x,
char
y
)
{
_CLC_OVERLOAD
_CLC_DEF
char
add_sat
(
char
x,
char
y
)
{
return
__clc_add_sat_s8
(
x,
y
)
;
return
__clc_add_sat_s8
(
x,
y
)
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment