llvm-project/libclc/generic/include/clc/integer
Aaron Watry 23faa5a1f9 integer: remove explicit casts from _MIN definitions
The spec says (section 6.12.3, CL version 1.2):
  The macro names given in the following list must use the values
  specified. The values shall all be constant expressions suitable
  for use in #if preprocessing directives.

This commit addresses the second part of that statement.

Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Tom Stellard <tom@stellard.net>
CC: Moritz Pflanzer <moritz.pflanzer14@imperial.ac.uk>
CC: Serge Martin <edb+libclc@sigluy.net>
llvm-svn: 249445
2015-10-06 19:12:12 +00:00
..
abs.h Add __CLC_ prefix to all macro definitions in headers 2013-07-08 17:27:02 +00:00
abs.inc Add __CLC_ prefix to all macro definitions in headers 2013-07-08 17:27:02 +00:00
abs_diff.h Add __CLC_ prefix to all macro definitions in headers 2013-07-08 17:27:02 +00:00
abs_diff.inc Add __CLC_ prefix to all macro definitions in headers 2013-07-08 17:27:02 +00:00
add_sat.h Add __CLC_ prefix to all macro definitions in headers 2013-07-08 17:27:02 +00:00
add_sat.inc Add __CLC_ prefix to all macro definitions in headers 2013-07-08 17:27:02 +00:00
clz.h Add __CLC_ prefix to all macro definitions in headers 2013-07-08 17:27:02 +00:00
clz.inc Add __CLC_ prefix to all macro definitions in headers 2013-07-08 17:27:02 +00:00
definitions.h integer: remove explicit casts from _MIN definitions 2015-10-06 19:12:12 +00:00
gentype.inc Add __CLC_ prefix to all macro definitions in headers 2013-07-08 17:27:02 +00:00
hadd.h Add hadd builtin 2013-08-15 19:21:07 +00:00
hadd.inc Add hadd builtin 2013-08-15 19:21:07 +00:00
integer-gentype.inc Add int3/uint3 to integer-gentype.inc 2014-08-23 14:04:36 +00:00
mad24.h Implement mad24() and mul24() builtins 2013-07-08 17:27:13 +00:00
mad24.inc Implement mad24() and mul24() builtins 2013-07-08 17:27:13 +00:00
mad_hi.h Parenthesize arguments for mad_hi 2013-09-09 14:36:21 +00:00
mad_sat.h Implement generic mad_sat 2014-09-02 17:55:02 +00:00
mad_sat.inc Implement generic mad_sat 2014-09-02 17:55:02 +00:00
mul24.h Implement mad24() and mul24() builtins 2013-07-08 17:27:13 +00:00
mul24.inc Implement mad24() and mul24() builtins 2013-07-08 17:27:13 +00:00
mul_hi.h Add mul_hi implementation [v2] 2013-08-19 18:31:49 +00:00
mul_hi.inc Add mul_hi implementation [v2] 2013-08-19 18:31:49 +00:00
rhadd.h Add rhadd builtin 2013-08-15 19:21:10 +00:00
rhadd.inc Add rhadd builtin 2013-08-15 19:21:10 +00:00
rotate.h Add __CLC_ prefix to all macro definitions in headers 2013-07-08 17:27:02 +00:00
rotate.inc Add __CLC_ prefix to all macro definitions in headers 2013-07-08 17:27:02 +00:00
sub_sat.h Add __CLC_ prefix to all macro definitions in headers 2013-07-08 17:27:02 +00:00
sub_sat.inc Add __CLC_ prefix to all macro definitions in headers 2013-07-08 17:27:02 +00:00
upsample.h Remove unneeded semi-colons 2013-09-05 16:04:07 +00:00