[libclc] r347668 - travis: Add cmake build

2018-11-27 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Tue Nov 27 08:07:21 2018 New Revision: 347668 URL: http://llvm.org/viewvc/llvm-project?rev=347668&view=rev Log: travis: Add cmake build Reviewer: Aaron Watry Signed-off-by: Jan Vesely Modified: libclc/trunk/.travis.yml Modified: libclc/trunk/.travis.yml URL: http://

[libclc] r356009 - travis: Use gcc-6 for llvm-7 build

2019-03-12 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Tue Mar 12 23:58:51 2019 New Revision: 356009 URL: http://llvm.org/viewvc/llvm-project?rev=356009&view=rev Log: travis: Use gcc-6 for llvm-7 build llvm does not expose -std=c++11 in cxx flags. gcc-6 switched default from c++98 to c++14 Reviewers: Aaron Watry, Tom Stellard S

[libclc] r356010 - travis: Deduplicate LLVM_CONFIG variable

2019-03-12 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Tue Mar 12 23:58:53 2019 New Revision: 356010 URL: http://llvm.org/viewvc/llvm-project?rev=356010&view=rev Log: travis: Deduplicate LLVM_CONFIG variable Reviewers: Aaron Watry, Tom Stellard Signed-off-by: Jan Vesely Modified: libclc/trunk/.travis.yml Modified: libclc/

[libclc] r356011 - mad: Convert to standard ternary header

2019-03-13 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Wed Mar 13 00:05:53 2019 New Revision: 356011 URL: http://llvm.org/viewvc/llvm-project?rev=356011&view=rev Log: mad: Convert to standard ternary header Reviewer: Aaron Watry Signed-off-by: Jan Vesely Removed: libclc/trunk/generic/include/clc/math/mad.inc Modified:

[libclc] r356013 - ceil: Remove llvm intrinsic from the header.

2019-03-13 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Wed Mar 13 00:05:58 2019 New Revision: 356013 URL: http://llvm.org/viewvc/llvm-project?rev=356013&view=rev Log: ceil: Remove llvm intrinsic from the header. Reviewer: Aaron Watry Signed-off-by: Jan Vesely Added: libclc/trunk/generic/lib/math/ceil.cl Modified: libcl

[libclc] r356012 - sqrt: Split function generation to a shared inc file.

2019-03-13 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Wed Mar 13 00:05:56 2019 New Revision: 356012 URL: http://llvm.org/viewvc/llvm-project?rev=356012&view=rev Log: sqrt: Split function generation to a shared inc file. This will be reused by other unary functions. Reviewer: Aaron Watry Signed-off-by: Jan Vesely Added: li

[libclc] r356017 - round: Remove llvm intrinsic from the header

2019-03-13 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Wed Mar 13 00:06:08 2019 New Revision: 356017 URL: http://llvm.org/viewvc/llvm-project?rev=356017&view=rev Log: round: Remove llvm intrinsic from the header Reviewer: Aaron Watry Signed-off-by: Jan Vesely Added: libclc/trunk/generic/lib/math/round.cl - copied, ch

[libclc] r356014 - fabs: Remove llvm intrinsic from the header.

2019-03-13 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Wed Mar 13 00:06:00 2019 New Revision: 356014 URL: http://llvm.org/viewvc/llvm-project?rev=356014&view=rev Log: fabs: Remove llvm intrinsic from the header. Reviewer: Aaron Watry Signed-off-by: Jan Vesely Added: libclc/trunk/generic/lib/math/fabs.cl Modified: libcl

[libclc] r356019 - Move ternary_intrinsic.h to private headers.

2019-03-13 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Wed Mar 13 00:06:13 2019 New Revision: 356019 URL: http://llvm.org/viewvc/llvm-project?rev=356019&view=rev Log: Move ternary_intrinsic.h to private headers. Reviewer: Aaron Watry Signed-off-by: Jan Vesely Added: libclc/trunk/generic/include/math/ternary_intrin.inc

[libclc] r356015 - floor: Remove llvm isntrinsic from the header.

2019-03-13 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Wed Mar 13 00:06:03 2019 New Revision: 356015 URL: http://llvm.org/viewvc/llvm-project?rev=356015&view=rev Log: floor: Remove llvm isntrinsic from the header. Reviewer: Aaron Watry Signed-off-by: Jan Vesely Added: libclc/trunk/generic/lib/math/floor.cl Modified: li

[libclc] r356016 - rint: Remove llvm intrinsic from the header.

2019-03-13 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Wed Mar 13 00:06:06 2019 New Revision: 356016 URL: http://llvm.org/viewvc/llvm-project?rev=356016&view=rev Log: rint: Remove llvm intrinsic from the header. Reviewer: Aaron Watry Signed-off-by: Jan Vesely Added: libclc/trunk/generic/lib/math/rint.cl Modified: libcl

[libclc] r356018 - trunc: Remove llvm intrinsic from the header.

2019-03-13 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Wed Mar 13 00:06:10 2019 New Revision: 356018 URL: http://llvm.org/viewvc/llvm-project?rev=356018&view=rev Log: trunc: Remove llvm intrinsic from the header. Reviewer: Aaron Watry Signed-off-by: Jan Vesely Added: libclc/trunk/generic/lib/math/trunc.cl - copied, c

[libclc] r356021 - Move unary_instrinsic.inc to private headers.

2019-03-13 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Wed Mar 13 00:06:19 2019 New Revision: 356021 URL: http://llvm.org/viewvc/llvm-project?rev=356021&view=rev Log: Move unary_instrinsic.inc to private headers. Reviewer: Aaron Watry Signed-off-by: Jan Vesely Added: libclc/trunk/generic/include/math/unary_intrin.inc

[libclc] r356020 - Move binary_intrinsic.h to private headers.

2019-03-13 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Wed Mar 13 00:06:15 2019 New Revision: 356020 URL: http://llvm.org/viewvc/llvm-project?rev=356020&view=rev Log: Move binary_intrinsic.h to private headers. Reviewer: Aaron Watry Signed-off-by: Jan Vesely Added: libclc/trunk/generic/include/math/binary_intrin.inc

[libclc] r356022 - hypot: Use binary_decl_tt.inc instead of custom inc file

2019-03-13 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Wed Mar 13 00:13:22 2019 New Revision: 356022 URL: http://llvm.org/viewvc/llvm-project?rev=356022&view=rev Log: hypot: Use binary_decl_tt.inc instead of custom inc file Reviewer: Aaron Watry Signed-off-by: Jan Vesely Removed: libclc/trunk/generic/include/clc/math/hypot

[libclc] r356026 - nextafter: Use binary_decl_tt.inc instead of custom inc file.

2019-03-13 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Wed Mar 13 00:13:30 2019 New Revision: 356026 URL: http://llvm.org/viewvc/llvm-project?rev=356026&view=rev Log: nextafter: Use binary_decl_tt.inc instead of custom inc file. Reviewer: Aaron Watry Signed-off-by: Jan Vesely Removed: libclc/trunk/generic/include/clc/math/

[libclc] r356025 - copysign: Use binary_decl_tt.inc instead of custom inc file.

2019-03-13 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Wed Mar 13 00:13:28 2019 New Revision: 356025 URL: http://llvm.org/viewvc/llvm-project?rev=356025&view=rev Log: copysign: Use binary_decl_tt.inc instead of custom inc file. Reviewer: Aaron Watry Signed-off-by: Jan Vesely Removed: libclc/trunk/generic/include/clc/math/c

[libclc] r356027 - fdim: Use binary_decl_tt.inc instead of custom inc file.

2019-03-13 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Wed Mar 13 00:13:32 2019 New Revision: 356027 URL: http://llvm.org/viewvc/llvm-project?rev=356027&view=rev Log: fdim: Use binary_decl_tt.inc instead of custom inc file. Reviewer: Aaron Watry Signed-off-by: Jan Vesely Removed: libclc/trunk/generic/include/clc/math/fdim.

[libclc] r356023 - atan2: Use binary_decl_tt.inc instead of custom inc file.

2019-03-13 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Wed Mar 13 00:13:24 2019 New Revision: 356023 URL: http://llvm.org/viewvc/llvm-project?rev=356023&view=rev Log: atan2: Use binary_decl_tt.inc instead of custom inc file. Reviewer: Aaron Watry Signed-off-by: Jan Vesely Removed: libclc/trunk/generic/include/clc/math/atan

[libclc] r356024 - atan2pi: Use binary_decl_tt.inc instead of custom inc file.

2019-03-13 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Wed Mar 13 00:13:26 2019 New Revision: 356024 URL: http://llvm.org/viewvc/llvm-project?rev=356024&view=rev Log: atan2pi: Use binary_decl_tt.inc instead of custom inc file. Reviewer: Aaron Watry Signed-off-by: Jan Vesely Removed: libclc/trunk/generic/include/clc/math/at

[libclc] r356028 - sincos: Simplify declaration headers.

2019-03-13 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Wed Mar 13 00:13:34 2019 New Revision: 356028 URL: http://llvm.org/viewvc/llvm-project?rev=356028&view=rev Log: sincos: Simplify declaration headers. This follows the same pattern as modf and fract. Reviewer: Aaron Watry Signed-off-by: Jan Vesely Modified: libclc/trunk

[libclc] r357125 - travis: Add LLVM-8 build

2019-03-27 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Wed Mar 27 14:28:31 2019 New Revision: 357125 URL: http://llvm.org/viewvc/llvm-project?rev=357125&view=rev Log: travis: Add LLVM-8 build Reviewer: Tom Stellard Signed-off-by: Jan Vesely Modified: libclc/trunk/.travis.yml Modified: libclc/trunk/.travis.yml URL: http:/

[libclc] r342337 - .travis: Use source whitelist alias for llvm-6 repository

2018-09-15 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Sat Sep 15 13:00:12 2018 New Revision: 342337 URL: http://llvm.org/viewvc/llvm-project?rev=342337&view=rev Log: .travis: Use source whitelist alias for llvm-6 repository Fixes issue with unauthenticated packages. Signed-off-by: Jan Vesely Reviewer: Aaron Watry Modified:

[libclc] r342338 - .travis: Add llvm-7 build

2018-09-15 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Sat Sep 15 13:00:37 2018 New Revision: 342338 URL: http://llvm.org/viewvc/llvm-project?rev=342338&view=rev Log: .travis: Add llvm-7 build Signed-off-by: Jan Vesely Reviewer: Aaron Watry Modified: libclc/trunk/.travis.yml Modified: libclc/trunk/.travis.yml URL: http:/

[libclc] r342341 - configure: Rework support for gfx9+ devices that were added post LLVM 3.9

2018-09-15 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Sat Sep 15 15:02:01 2018 New Revision: 342341 URL: http://llvm.org/viewvc/llvm-project?rev=342341&view=rev Log: configure: Rework support for gfx9+ devices that were added post LLVM 3.9 v2: Fix reference to Vega12/20 enabling commit Signed-off-by: Jan Vesely Reviewer: Aaro

[libclc] r312493 - amdgcn,waitcnt: Add datalayout info

2017-09-04 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Mon Sep 4 08:52:07 2017 New Revision: 312493 URL: http://llvm.org/viewvc/llvm-project?rev=312493&view=rev Log: amdgcn,waitcnt: Add datalayout info This file is only compiled for GCN which all share the same layout Signed-off-by: Jan Vesely Reviewed-by: Aaron Watry Modif

[libclc] r312492 - r600: Cleanup barrier implementation.

2017-09-04 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Mon Sep 4 08:52:05 2017 New Revision: 312492 URL: http://llvm.org/viewvc/llvm-project?rev=312492&view=rev Log: r600: Cleanup barrier implementation. We don't have memory fences for r600 so just call group barrier directly Make sure that barrier is called even with 0 flags

[libclc] r312491 - Fixup clc.h comment

2017-09-04 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Mon Sep 4 08:52:03 2017 New Revision: 312491 URL: http://llvm.org/viewvc/llvm-project?rev=312491&view=rev Log: Fixup clc.h comment Signed-off-by: Jan Vesely Modified: libclc/trunk/generic/include/clc/clc.h Modified: libclc/trunk/generic/include/clc/clc.h URL: http:/

r312742 - [OpenCL] Add half load and store builtins

2017-09-07 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Thu Sep 7 12:39:10 2017 New Revision: 312742 URL: http://llvm.org/viewvc/llvm-project?rev=312742&view=rev Log: [OpenCL] Add half load and store builtins This enables load/stores of half type, without half being a legal type. Differential Revision: https://reviews.llvm.org/

[libclc] r312837 - configure.py: Simplify compatibility sources

2017-09-08 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Fri Sep 8 16:58:53 2017 New Revision: 312837 URL: http://llvm.org/viewvc/llvm-project?rev=312837&view=rev Log: configure.py: Simplify compatibility sources Just add the SOURCE_X.Y list to the list of sources if X.Y is the current llvm version. Signed-off-by: Jan Vesely R

[libclc] r312839 - Implement vload_half{,n} and vload(half)

2017-09-08 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Fri Sep 8 16:59:00 2017 New Revision: 312839 URL: http://llvm.org/viewvc/llvm-project?rev=312839&view=rev Log: Implement vload_half{,n} and vload(half) v2: add vload(half) as well make helpers amdgpu specific (NVPTX uses different private AS numbering) use clang bui

[libclc] r312838 - vstore: Cleanup and add vstore(half)

2017-09-08 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Fri Sep 8 16:58:57 2017 New Revision: 312838 URL: http://llvm.org/viewvc/llvm-project?rev=312838&view=rev Log: vstore: Cleanup and add vstore(half) Add missing undefs Make helpers amdgpu specific (NVPTX uses different numbering for private AS) Use clang builtins on clang >=

[libclc] r313773 - Add travis CI configuration file

2017-09-20 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Wed Sep 20 10:28:58 2017 New Revision: 313773 URL: http://llvm.org/viewvc/llvm-project?rev=313773&view=rev Log: Add travis CI configuration file Signed-off-by: Jan Vesely Added: libclc/trunk/.travis.yml Added: libclc/trunk/.travis.yml URL: http://llvm.org/viewvc/llvm

[libclc] r313810 - Implement cl_khr_int64_base_atomics builtins

2017-09-20 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Wed Sep 20 13:42:14 2017 New Revision: 313810 URL: http://llvm.org/viewvc/llvm-project?rev=313810&view=rev Log: Implement cl_khr_int64_base_atomics builtins Signed-off-by: Jan Vesely Reviewed-by: Aaron Watry Tested-by: Aaron Watry Added: libclc/trunk/generic/include/

[libclc] r313811 - Implement cl_khr_int64_extended_atomics builtins

2017-09-20 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Wed Sep 20 13:42:19 2017 New Revision: 313811 URL: http://llvm.org/viewvc/llvm-project?rev=313811&view=rev Log: Implement cl_khr_int64_extended_atomics builtins Signed-off-by: Jan Vesely Reviewed-by: Aaron Watry Tested-by: Aaron Watry Added: libclc/trunk/amdgcn/lib/c

[libclc] r367893 - Revert "Rename F_{None, Text, Append} to OF_{None, Text, Append}. NFC"

2019-08-05 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Mon Aug 5 10:23:23 2019 New Revision: 367893 URL: http://llvm.org/viewvc/llvm-project?rev=367893&view=rev Log: Revert "Rename F_{None,Text,Append} to OF_{None,Text,Append}. NFC" This reverts commit 58c814614d2ac69bcf79b09543505fac80ada4e6. Fixes build breakage using LLVM<7.

Re: [libclc] r367800 - Rename F_{None, Text, Append} to OF_{None, Text, Append}. NFC

2019-08-05 Thread Jan Vesely via cfe-commits
I've reverted this change. It breaks libclc build using older LLVM version (which is still supported) and it was committed without review on phabricator or libclc mailing list. Please don't do that. Jan On Mon, Aug 5, 2019 at 1:43 AM Fangrui Song via cfe-commits < cfe-commits@lists.llvm.org> wrot

[libclc] r350565 - cmake: Install libraries to DATADIR from GNUInstallDirs

2019-01-07 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Mon Jan 7 12:20:37 2019 New Revision: 350565 URL: http://llvm.org/viewvc/llvm-project?rev=350565&view=rev Log: cmake: Install libraries to DATADIR from GNUInstallDirs This moves default installation location to /usr/share to match libclc.pc. Signed-off-by: Jan Vesely Revie

[libclc] r373047 - travis: Add LLVM 9 build

2019-09-26 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Thu Sep 26 22:58:15 2019 New Revision: 373047 URL: http://llvm.org/viewvc/llvm-project?rev=373047&view=rev Log: travis: Add LLVM 9 build Reviewer: tstellar Signed-off-by: Jan Vesely Modified: libclc/trunk/.travis.yml Modified: libclc/trunk/.travis.yml URL: http://llv

[libclc] r373046 - travis: Switch to Ubuntu 16.04 (xenial)

2019-09-26 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Thu Sep 26 22:57:38 2019 New Revision: 373046 URL: http://llvm.org/viewvc/llvm-project?rev=373046&view=rev Log: travis: Switch to Ubuntu 16.04 (xenial) Use native packages up to llvm-6. Reviewer: tstellar Signed-off-by: Jan Vesely Modified: libclc/trunk/.travis.yml M

[libclc] r330197 - exp10: Port from amd builtins

2018-04-17 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Tue Apr 17 11:08:08 2018 New Revision: 330197 URL: http://llvm.org/viewvc/llvm-project?rev=330197&view=rev Log: exp10: Port from amd builtins Passes CTS on carrizo and turks. Signed-off-by: Jan Vesely Reviewed and Tested (on RX 580) by: Aaron Watry Added: libclc/trunk

[libclc] r330198 - amdgcn/fmin: Fix typos that reduced precision

2018-04-17 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Tue Apr 17 11:11:29 2018 New Revision: 330198 URL: http://llvm.org/viewvc/llvm-project?rev=330198&view=rev Log: amdgcn/fmin: Fix typos that reduced precision Not sure how these sneaked in. Fixes fminD and few other tests(fractD, cosD) on carrizo Signed-off-by: Jan Vesely Re

[libclc] r330207 - powr: Use denormal path only

2018-04-17 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Tue Apr 17 12:35:32 2018 New Revision: 330207 URL: http://llvm.org/viewvc/llvm-project?rev=330207&view=rev Log: powr: Use denormal path only It's OK to either flush to 0 or return denormal result if the device does not support denormals. See sec 7.2 and 7.5.3 of OCL specs Fi

[libclc] r330206 - pown: Use denormal path only

2018-04-17 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Tue Apr 17 12:35:30 2018 New Revision: 330206 URL: http://llvm.org/viewvc/llvm-project?rev=330206&view=rev Log: pown: Use denormal path only It's OK to either flush to 0 or return denormal result if the device does not support denormals. See sec 7.2 and 7.5.3 of OCL specs Fi

[libclc] r330205 - pow: Use denormal path only

2018-04-17 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Tue Apr 17 12:35:28 2018 New Revision: 330205 URL: http://llvm.org/viewvc/llvm-project?rev=330205&view=rev Log: pow: Use denormal path only It's OK to either flush to 0 or return denormal result if the device does not support denormals. See sec 7.2 and 7.5.3 of OCL specs Fix

[libclc] r330649 - log10: Use sw implementation from amd builtins

2018-04-23 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Mon Apr 23 14:10:42 2018 New Revision: 330649 URL: http://llvm.org/viewvc/llvm-project?rev=330649&view=rev Log: log10: Use sw implementation from amd builtins Add missing table. Fixes log10d CTS on carrizo. Signed-off-by: Jan Vesely Acked-by: Aaron Watry Tested-by: Aaron W

[libclc] r330851 - relational/select: Condition types for half are short/ushort, not char/uchar

2018-04-25 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Wed Apr 25 10:36:36 2018 New Revision: 330851 URL: http://llvm.org/viewvc/llvm-project?rev=330851&view=rev Log: relational/select: Condition types for half are short/ushort, not char/uchar Signed-off-by: Jan Vesely Reviewed-by: Aaron Watry Modified: libclc/trunk/gener

[libclc] r331366 - clc_sqrt: Reuse unary_decl.inc

2018-05-02 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Wed May 2 09:06:52 2018 New Revision: 331366 URL: http://llvm.org/viewvc/llvm-project?rev=331366&view=rev Log: clc_sqrt: Reuse unary_decl.inc Signed-off-by: Jan Vesely Reviewed-by: Aaron Watry Tested-by: Aaron Watry Removed: libclc/trunk/generic/include/math/clc_sqr

[libclc] r331434 - remquo: Port from amd builtins

2018-05-02 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Wed May 2 22:44:26 2018 New Revision: 331434 URL: http://llvm.org/viewvc/llvm-project?rev=331434&view=rev Log: remquo: Port from amd builtins double version passes on carrizo. float version fails on denormals. Signed-off-by: Jan Vesely Reviewer: Aaron Watry Added: l

[libclc] r331433 - math: Add helper function to flush denormals if not supported.

2018-05-02 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Wed May 2 22:44:22 2018 New Revision: 331433 URL: http://llvm.org/viewvc/llvm-project?rev=331433&view=rev Log: math: Add helper function to flush denormals if not supported. Signed-off-by: Jan Vesely Reviewer: Aaron Watry Modified: libclc/trunk/generic/lib/math/math.

[libclc] r331435 - remquo: Flush denormals if not supported

2018-05-02 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Wed May 2 22:44:28 2018 New Revision: 331435 URL: http://llvm.org/viewvc/llvm-project?rev=331435&view=rev Log: remquo: Flush denormals if not supported It's OK to either flush to 0 or return denormal result if the device does not support denormals. See sec 7.2 and 7.5.3 of

[libclc] cccdd05 - libclc: Don't pass linker flags to CLC/LLAsm

2020-04-14 Thread Jan Vesely via cfe-commits
Author: Daniel Stone Date: 2020-04-14T10:03:27-04:00 New Revision: cccdd0579b5027d0a21fd2dbc0a6a50330134976 URL: https://github.com/llvm/llvm-project/commit/cccdd0579b5027d0a21fd2dbc0a6a50330134976 DIFF: https://github.com/llvm/llvm-project/commit/cccdd0579b5027d0a21fd2dbc0a6a50330134976.diff

[libclc] 24fad72 - libclc: Use temporary files rather than a pipe

2020-04-14 Thread Jan Vesely via cfe-commits
Author: Daniel Stone Date: 2020-04-14T10:03:27-04:00 New Revision: 24fad7278a391c6f8af664f4ac691c1719008a09 URL: https://github.com/llvm/llvm-project/commit/24fad7278a391c6f8af664f4ac691c1719008a09 DIFF: https://github.com/llvm/llvm-project/commit/24fad7278a391c6f8af664f4ac691c1719008a09.diff

[libclc] acf0790 - libclc: Use echo rather than true for try_compile

2020-04-14 Thread Jan Vesely via cfe-commits
Author: Daniel Stone Date: 2020-04-14T10:03:27-04:00 New Revision: acf079006e6dbdd23300e9289cc8d8197aab5fb5 URL: https://github.com/llvm/llvm-project/commit/acf079006e6dbdd23300e9289cc8d8197aab5fb5 DIFF: https://github.com/llvm/llvm-project/commit/acf079006e6dbdd23300e9289cc8d8197aab5fb5.diff

[libclc] e6bb1d6 - libclc: Fix LLVM library linking on Windows

2020-04-14 Thread Jan Vesely via cfe-commits
Author: Daniel Stone Date: 2020-04-14T10:03:27-04:00 New Revision: e6bb1d69eccc612e54fd1a0b63ca3dcc84c3a6fa URL: https://github.com/llvm/llvm-project/commit/e6bb1d69eccc612e54fd1a0b63ca3dcc84c3a6fa DIFF: https://github.com/llvm/llvm-project/commit/e6bb1d69eccc612e54fd1a0b63ca3dcc84c3a6fa.diff

[libclc] r282106 - Provide vstore_half helper to workaround clc restrictions

2016-09-21 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Wed Sep 21 15:15:55 2016 New Revision: 282106 URL: http://llvm.org/viewvc/llvm-project?rev=282106&view=rev Log: Provide vstore_half helper to workaround clc restrictions clang won't accept half precision loads and stores without cl_khr_fp16 since r281904 Added: libclc/

[libclc] r309820 - configure.py: Make python3 friendly

2017-08-02 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Wed Aug 2 08:00:59 2017 New Revision: 309820 URL: http://llvm.org/viewvc/llvm-project?rev=309820&view=rev Log: configure.py: Make python3 friendly mostly prints and exceptions. Few behavioral changes are documented in the text Generated Makefile is identical between python2

[libclc] r310968 - configure.py: Drop explicit import of int builtin

2017-08-15 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Tue Aug 15 15:24:05 2017 New Revision: 310968 URL: http://llvm.org/viewvc/llvm-project?rev=310968&view=rev Log: configure.py: Drop explicit import of int builtin I can't reproduce the error that made me add this. Reported-by: Kim Gräsman Signed-off-by: Jan Vesely Reviewed

[libclc] r311021 - amdgcn: Implement {read_, write_, }mem_fence builtin

2017-08-16 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Wed Aug 16 10:08:56 2017 New Revision: 311021 URL: http://llvm.org/viewvc/llvm-project?rev=311021&view=rev Log: amdgcn: Implement {read_,write_,}mem_fence builtin v2: add more detailed comment about waitcnt instruction Signed-off-by: Jan Vesely Reviewed-by: Aaron Watry Te

[libclc] r311022 - amdgcn: rewrite barrier() using fence and clang __builtin_amdgcn_s_barrier

2017-08-16 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Wed Aug 16 10:09:00 2017 New Revision: 311022 URL: http://llvm.org/viewvc/llvm-project?rev=311022&view=rev Log: amdgcn: rewrite barrier() using fence and clang __builtin_amdgcn_s_barrier Specs require using fences when barrier() is invoked: "The barrier function will either

[libclc] 16ba78e - libclc/spirv: Add missing files from D85911

2020-09-10 Thread Jan Vesely via cfe-commits
Author: Jan Vesely Date: 2020-09-10T23:41:38-04:00 New Revision: 16ba78ee627c3fe66906349e8c90ee8cc1224298 URL: https://github.com/llvm/llvm-project/commit/16ba78ee627c3fe66906349e8c90ee8cc1224298 DIFF: https://github.com/llvm/llvm-project/commit/16ba78ee627c3fe66906349e8c90ee8cc1224298.diff LO

[libclc] 291bfff - libclc: Add a __builtin to let SPIRV targets select between SW and HW FMA

2020-09-15 Thread Jan Vesely via cfe-commits
Author: Daniel Stone Date: 2020-09-16T01:37:22-04:00 New Revision: 291bfff5dbb70360730e91b4019f8080e4e3d7f5 URL: https://github.com/llvm/llvm-project/commit/291bfff5dbb70360730e91b4019f8080e4e3d7f5 DIFF: https://github.com/llvm/llvm-project/commit/291bfff5dbb70360730e91b4019f8080e4e3d7f5.diff

[libclc] 060c8e0 - libclc/spirv: Add various functions

2020-09-09 Thread Jan Vesely via cfe-commits
Author: Daniel Stone Date: 2020-09-10T01:59:10-04:00 New Revision: 060c8e083dd637866854acb6a0823c45b2ef68ef URL: https://github.com/llvm/llvm-project/commit/060c8e083dd637866854acb6a0823c45b2ef68ef DIFF: https://github.com/llvm/llvm-project/commit/060c8e083dd637866854acb6a0823c45b2ef68ef.diff

[libclc] 21427b8 - libclc: Add clspv target to libclc

2021-03-03 Thread Jan Vesely via cfe-commits
Author: Alan Baker Date: 2021-03-04T00:19:10-05:00 New Revision: 21427b8eb8e773789bdb4cd8911bee6631910a37 URL: https://github.com/llvm/llvm-project/commit/21427b8eb8e773789bdb4cd8911bee6631910a37 DIFF: https://github.com/llvm/llvm-project/commit/21427b8eb8e773789bdb4cd8911bee6631910a37.diff LO

[libclc] efeafa1 - libclc: Use acos implementation from amd_builtins

2020-02-20 Thread Jan Vesely via cfe-commits
Author: Jan Vesely Date: 2020-02-20T23:36:14-05:00 New Revision: efeafa1bdaa715733fc100bcd9d21f93c7272368 URL: https://github.com/llvm/llvm-project/commit/efeafa1bdaa715733fc100bcd9d21f93c7272368 DIFF: https://github.com/llvm/llvm-project/commit/efeafa1bdaa715733fc100bcd9d21f93c7272368.diff LO

[libclc] 814fb65 - libclc: cmake configure should depend on file list

2020-02-25 Thread Jan Vesely via cfe-commits
Author: Jan Vesely Date: 2020-02-25T04:43:14-05:00 New Revision: 814fb658ca262f5c2df47f11d47f91fac188e0d6 URL: https://github.com/llvm/llvm-project/commit/814fb658ca262f5c2df47f11d47f91fac188e0d6 DIFF: https://github.com/llvm/llvm-project/commit/814fb658ca262f5c2df47f11d47f91fac188e0d6.diff LO

[libclc] 00eca0b - libclc: Drop travis

2019-11-08 Thread Jan Vesely via cfe-commits
Author: Jan Vesely Date: 2019-11-08T09:58:27-05:00 New Revision: 00eca0bf0bd9a70735a4d6d39ab3776c858d915c URL: https://github.com/llvm/llvm-project/commit/00eca0bf0bd9a70735a4d6d39ab3776c858d915c DIFF: https://github.com/llvm/llvm-project/commit/00eca0bf0bd9a70735a4d6d39ab3776c858d915c.diff LO

[libclc] 64a8e1b - libclc/asin: Switch to amd builtins version of asin

2020-02-04 Thread Jan Vesely via cfe-commits
Author: Aaron Watry Date: 2020-02-04T14:29:20-05:00 New Revision: 64a8e1b83e14836f97dab4d28dae498e897804e6 URL: https://github.com/llvm/llvm-project/commit/64a8e1b83e14836f97dab4d28dae498e897804e6 DIFF: https://github.com/llvm/llvm-project/commit/64a8e1b83e14836f97dab4d28dae498e897804e6.diff L

[libclc] 85e2fa4 - libclc/r600: Use target specific builtins to implement rsqrt and native_rsqrt

2020-02-09 Thread Jan Vesely via cfe-commits
Author: Jan Vesely Date: 2020-02-09T14:42:15-05:00 New Revision: 85e2fa44c64e1edd2f675c990ecc60f5fadb4686 URL: https://github.com/llvm/llvm-project/commit/85e2fa44c64e1edd2f675c990ecc60f5fadb4686 DIFF: https://github.com/llvm/llvm-project/commit/85e2fa44c64e1edd2f675c990ecc60f5fadb4686.diff LO

[libclc] 4b23a2e - libclc: Move rsqrt implementation to a .cl file

2020-02-09 Thread Jan Vesely via cfe-commits
Author: Jan Vesely Date: 2020-02-09T14:42:09-05:00 New Revision: 4b23a2e8e971876d075d3ae322754dbc0495413d URL: https://github.com/llvm/llvm-project/commit/4b23a2e8e971876d075d3ae322754dbc0495413d DIFF: https://github.com/llvm/llvm-project/commit/4b23a2e8e971876d075d3ae322754dbc0495413d.diff LO

[libclc] r329290 - amdgcn: Update datalayout after LLVM r328656

2018-04-05 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Thu Apr 5 07:47:44 2018 New Revision: 329290 URL: http://llvm.org/viewvc/llvm-project?rev=329290&view=rev Log: amdgcn: Update datalayout after LLVM r328656 Signed-off-by: Jan Vesely Reviewed-by: Aaron Watry Modified: libclc/trunk/amdgcn/lib/cl_khr_int64_extended_atom

[libclc] r329291 - r600: Update datalayout after LLVM r328656

2018-04-05 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Thu Apr 5 07:47:57 2018 New Revision: 329291 URL: http://llvm.org/viewvc/llvm-project?rev=329291&view=rev Log: r600: Update datalayout after LLVM r328656 Signed-off-by: Jan Vesely Reviewed-by: Aaron Watry Modified: libclc/trunk/r600/lib/synchronization/barrier_impl.l

[libclc] r329433 - fmod: Port from amd_builtins

2018-04-06 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Fri Apr 6 10:43:08 2018 New Revision: 329433 URL: http://llvm.org/viewvc/llvm-project?rev=329433&view=rev Log: fmod: Port from amd_builtins Uses only denormal path for fp32. Passes CTS on carrizo and turks. v2: whitespace fix Signed-off-by: Jan Vesely Reviewer: Aaron Wat

[libclc] r329462 - select: simplify implementation and fix fp16

2018-04-06 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Fri Apr 6 15:00:00 2018 New Revision: 329462 URL: http://llvm.org/viewvc/llvm-project?rev=329462&view=rev Log: select: simplify implementation and fix fp16 Fix half precision implementation Vector ?: operator should behave exactly as select Passes CTS on carrizo Signed-off

[libclc] r329647 - hypot: Port from amd builtins

2018-04-09 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Mon Apr 9 17:11:58 2018 New Revision: 329647 URL: http://llvm.org/viewvc/llvm-project?rev=329647&view=rev Log: hypot: Port from amd builtins v2: Fix whitespace errors Use only subnormal path. Passes CTS on carrizo and turks. Signed-off-by: Jan Vesely Reviewer: Aaron Watry

[libclc] r317232 - acos: Use unary_decl instead of custom inc file

2017-11-02 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Thu Nov 2 12:48:06 2017 New Revision: 317232 URL: http://llvm.org/viewvc/llvm-project?rev=317232&view=rev Log: acos: Use unary_decl instead of custom inc file Signed-off-by: Jan Vesely Reviewed-By: Aaron Watry Removed: libclc/trunk/generic/include/clc/math/acos.inc M

[libclc] r317233 - acosh: Use unary_decl instead of custom inc file

2017-11-02 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Thu Nov 2 12:48:11 2017 New Revision: 317233 URL: http://llvm.org/viewvc/llvm-project?rev=317233&view=rev Log: acosh: Use unary_decl instead of custom inc file Signed-off-by: Jan Vesely Reviewed-By: Aaron Watry Removed: libclc/trunk/generic/include/clc/math/acosh.inc

[libclc] r317239 - atanh: Use unary_decl instead of custom inc file

2017-11-02 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Thu Nov 2 12:48:22 2017 New Revision: 317239 URL: http://llvm.org/viewvc/llvm-project?rev=317239&view=rev Log: atanh: Use unary_decl instead of custom inc file Signed-off-by: Jan Vesely Reviewed-By: Aaron Watry Removed: libclc/trunk/generic/include/clc/math/atanh.inc

[libclc] r317236 - asinh: Use unary_dec instead of custom inc file

2017-11-02 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Thu Nov 2 12:48:16 2017 New Revision: 317236 URL: http://llvm.org/viewvc/llvm-project?rev=317236&view=rev Log: asinh: Use unary_dec instead of custom inc file Signed-off-by: Jan Vesely Reviewed-By: Aaron Watry Removed: libclc/trunk/generic/include/clc/math/asinh.inc

[libclc] r317238 - atan: Use unary_decl instead of custom inc file

2017-11-02 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Thu Nov 2 12:48:20 2017 New Revision: 317238 URL: http://llvm.org/viewvc/llvm-project?rev=317238&view=rev Log: atan: Use unary_decl instead of custom inc file Signed-off-by: Jan Vesely Reviewed-By: Aaron Watry Removed: libclc/trunk/generic/include/clc/math/atan.inc M

[libclc] r317235 - asin: Use unary_decl instead of custom inc file

2017-11-02 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Thu Nov 2 12:48:15 2017 New Revision: 317235 URL: http://llvm.org/viewvc/llvm-project?rev=317235&view=rev Log: asin: Use unary_decl instead of custom inc file Signed-off-by: Jan Vesely Reviewed-By: Aaron Watry Removed: libclc/trunk/generic/include/clc/math/asin.inc M

[libclc] r317237 - asinpi: Use unary_decl instead of custom inc file

2017-11-02 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Thu Nov 2 12:48:18 2017 New Revision: 317237 URL: http://llvm.org/viewvc/llvm-project?rev=317237&view=rev Log: asinpi: Use unary_decl instead of custom inc file Signed-off-by: Jan Vesely Reviewed-By: Aaron Watry Removed: libclc/trunk/generic/include/clc/math/asinpi.i

[libclc] r317241 - cbrt: Use unary_decl instead of custom inc file

2017-11-02 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Thu Nov 2 12:48:25 2017 New Revision: 317241 URL: http://llvm.org/viewvc/llvm-project?rev=317241&view=rev Log: cbrt: Use unary_decl instead of custom inc file Signed-off-by: Jan Vesely Reviewed-By: Aaron Watry Removed: libclc/trunk/generic/include/clc/math/cbrt.inc M

[libclc] r317234 - acospi: Use unary_decl instead of custom inc file

2017-11-02 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Thu Nov 2 12:48:13 2017 New Revision: 317234 URL: http://llvm.org/viewvc/llvm-project?rev=317234&view=rev Log: acospi: Use unary_decl instead of custom inc file Signed-off-by: Jan Vesely Reviewed-By: Aaron Watry Removed: libclc/trunk/generic/include/clc/math/acospi.i

[libclc] r317240 - atanpi: Use unary_decl instead of custom inc file

2017-11-02 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Thu Nov 2 12:48:23 2017 New Revision: 317240 URL: http://llvm.org/viewvc/llvm-project?rev=317240&view=rev Log: atanpi: Use unary_decl instead of custom inc file Signed-off-by: Jan Vesely Reviewed-By: Aaron Watry Removed: libclc/trunk/generic/include/clc/math/atanpi.i

[libclc] r317244 - cospi: Use unary_decl instead of custom inc file

2017-11-02 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Thu Nov 2 12:48:31 2017 New Revision: 317244 URL: http://llvm.org/viewvc/llvm-project?rev=317244&view=rev Log: cospi: Use unary_decl instead of custom inc file Signed-off-by: Jan Vesely Reviewed-By: Aaron Watry Removed: libclc/trunk/generic/include/clc/math/cospi.inc

[libclc] r317243 - cosh: Use unary_decl instead of custom inc file

2017-11-02 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Thu Nov 2 12:48:30 2017 New Revision: 317243 URL: http://llvm.org/viewvc/llvm-project?rev=317243&view=rev Log: cosh: Use unary_decl instead of custom inc file Signed-off-by: Jan Vesely Reviewed-By: Aaron Watry Removed: libclc/trunk/generic/include/clc/math/cosh.inc M

[libclc] r317245 - exp2: Use unary_decl instead of custom inc file

2017-11-02 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Thu Nov 2 12:48:33 2017 New Revision: 317245 URL: http://llvm.org/viewvc/llvm-project?rev=317245&view=rev Log: exp2: Use unary_decl instead of custom inc file Signed-off-by: Jan Vesely Reviewed-By: Aaron Watry Removed: libclc/trunk/generic/include/clc/math/exp2.inc M

[libclc] r317242 - cos: Use unary_decl instead of custom inc file

2017-11-02 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Thu Nov 2 12:48:27 2017 New Revision: 317242 URL: http://llvm.org/viewvc/llvm-project?rev=317242&view=rev Log: cos: Use unary_decl instead of custom inc file Signed-off-by: Jan Vesely Reviewed-By: Aaron Watry Removed: libclc/trunk/generic/include/clc/math/cos.inc Mod

[libclc] r317247 - log1p: Use unary_decl instead of custom inc file

2017-11-02 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Thu Nov 2 12:48:37 2017 New Revision: 317247 URL: http://llvm.org/viewvc/llvm-project?rev=317247&view=rev Log: log1p: Use unary_decl instead of custom inc file Signed-off-by: Jan Vesely Reviewed-By: Aaron Watry Removed: libclc/trunk/generic/include/clc/math/log1p.inc

[libclc] r317248 - log2: Use unary_decl instead of custom inc file

2017-11-02 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Thu Nov 2 12:48:39 2017 New Revision: 317248 URL: http://llvm.org/viewvc/llvm-project?rev=317248&view=rev Log: log2: Use unary_decl instead of custom inc file Signed-off-by: Jan Vesely Reviewed-By: Aaron Watry Removed: libclc/trunk/generic/include/clc/math/log2.inc M

[libclc] r317246 - lgamma: Use unary_decl instead of custom inc file

2017-11-02 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Thu Nov 2 12:48:35 2017 New Revision: 317246 URL: http://llvm.org/viewvc/llvm-project?rev=317246&view=rev Log: lgamma: Use unary_decl instead of custom inc file Signed-off-by: Jan Vesely Reviewed-By: Aaron Watry Removed: libclc/trunk/generic/include/clc/math/lgamma.i

[libclc] r317250 - log: Use unary_decl instead of custom inc file

2017-11-02 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Thu Nov 2 12:48:43 2017 New Revision: 317250 URL: http://llvm.org/viewvc/llvm-project?rev=317250&view=rev Log: log: Use unary_decl instead of custom inc file Signed-off-by: Jan Vesely Reviewed-By: Aaron Watry Removed: libclc/trunk/generic/include/clc/math/log.inc Mod

[libclc] r317249 - logb: Use unary_decl instead of custom inc file

2017-11-02 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Thu Nov 2 12:48:41 2017 New Revision: 317249 URL: http://llvm.org/viewvc/llvm-project?rev=317249&view=rev Log: logb: Use unary_decl instead of custom inc file Signed-off-by: Jan Vesely Reviewed-By: Aaron Watry Removed: libclc/trunk/generic/include/clc/math/logb.inc M

[libclc] r317251 - native_log10: Use unary_decl instead of custom inc file

2017-11-02 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Thu Nov 2 12:48:44 2017 New Revision: 317251 URL: http://llvm.org/viewvc/llvm-project?rev=317251&view=rev Log: native_log10: Use unary_decl instead of custom inc file Signed-off-by: Jan Vesely Reviewed-By: Aaron Watry Removed: libclc/trunk/generic/include/clc/math/na

[libclc] r317253 - native_log: Use unary_decl instead of custom inc file

2017-11-02 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Thu Nov 2 12:48:48 2017 New Revision: 317253 URL: http://llvm.org/viewvc/llvm-project?rev=317253&view=rev Log: native_log: Use unary_decl instead of custom inc file Signed-off-by: Jan Vesely Reviewed-By: Aaron Watry Removed: libclc/trunk/generic/include/clc/math/nati

[libclc] r317254 - sin: Use unary_decl instead of custom inc file

2017-11-02 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Thu Nov 2 12:48:50 2017 New Revision: 317254 URL: http://llvm.org/viewvc/llvm-project?rev=317254&view=rev Log: sin: Use unary_decl instead of custom inc file Signed-off-by: Jan Vesely Reviewed-By: Aaron Watry Removed: libclc/trunk/generic/include/clc/math/sin.inc Mod

[libclc] r317255 - sinh: Use unary_decl instead of custom inc file

2017-11-02 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Thu Nov 2 12:48:51 2017 New Revision: 317255 URL: http://llvm.org/viewvc/llvm-project?rev=317255&view=rev Log: sinh: Use unary_decl instead of custom inc file Signed-off-by: Jan Vesely Reviewed-By: Aaron Watry Removed: libclc/trunk/generic/include/clc/math/sinh.inc M

[libclc] r317252 - native_log2: Use unary_decl instead of custom inc file

2017-11-02 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Thu Nov 2 12:48:46 2017 New Revision: 317252 URL: http://llvm.org/viewvc/llvm-project?rev=317252&view=rev Log: native_log2: Use unary_decl instead of custom inc file Signed-off-by: Jan Vesely Reviewed-By: Aaron Watry Removed: libclc/trunk/generic/include/clc/math/nat

[libclc] r317258 - tan: Use unary_decl instead of custom inc file

2017-11-02 Thread Jan Vesely via cfe-commits
Author: jvesely Date: Thu Nov 2 12:48:57 2017 New Revision: 317258 URL: http://llvm.org/viewvc/llvm-project?rev=317258&view=rev Log: tan: Use unary_decl instead of custom inc file Signed-off-by: Jan Vesely Reviewed-By: Aaron Watry Removed: libclc/trunk/generic/include/clc/math/tan.inc Mod

<    1   2   3   4   >