diff options
author | Aaron Watry <awatry@gmail.com> | 2013-04-15 19:14:28 -0500 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2013-04-19 23:27:07 -0400 |
commit | 7a3adccc75676c9aef2af9c0a401a11b3c855dd2 (patch) | |
tree | 4e29689087482cd86447f13afc6bfe1546074dc7 | |
parent | 86ade207e7792d39ec7af60a6bc62106e2dd7f3c (diff) |
libclc: Rename [add|sub]_sat.ll to [add|sub]_sat_if.ll
configure.py allows overloading *.cl with *.ll, but will only ever build
the first file listed in SOURCES of ${file}.cl and ${file}.ll
add_sat, sub_sat, (and the soon to be submitted clz) all define interfaces in
${function_name}.ll which are implemented in ${function_name}_impl.ll.
Renaming the interface files is enough to get them to build again, fixing
CL usage of these functions.
Tested on clover/r600g.
-rw-r--r-- | generic/lib/SOURCES | 4 | ||||
-rw-r--r-- | generic/lib/integer/add_sat_if.ll (renamed from generic/lib/integer/add_sat.ll) | 0 | ||||
-rw-r--r-- | generic/lib/integer/sub_sat_if.ll (renamed from generic/lib/integer/sub_sat.ll) | 0 |
3 files changed, 2 insertions, 2 deletions
diff --git a/generic/lib/SOURCES b/generic/lib/SOURCES index 495b3e7..7f27ec4 100644 --- a/generic/lib/SOURCES +++ b/generic/lib/SOURCES @@ -6,11 +6,11 @@ geometric/normalize.cl integer/abs.cl integer/abs_diff.cl integer/add_sat.cl -integer/add_sat.ll +integer/add_sat_if.ll integer/add_sat_impl.ll integer/rotate.cl integer/sub_sat.cl -integer/sub_sat.ll +integer/sub_sat_if.ll integer/sub_sat_impl.ll math/fmax.cl math/fmin.cl diff --git a/generic/lib/integer/add_sat.ll b/generic/lib/integer/add_sat_if.ll index bcbe4c0..bcbe4c0 100644 --- a/generic/lib/integer/add_sat.ll +++ b/generic/lib/integer/add_sat_if.ll diff --git a/generic/lib/integer/sub_sat.ll b/generic/lib/integer/sub_sat_if.ll index 7252574..7252574 100644 --- a/generic/lib/integer/sub_sat.ll +++ b/generic/lib/integer/sub_sat_if.ll |