[gcc/devel/omp/gcc-14] openmp: Fix error reporting in parsing of C++ OpenMP to/from clause

2024-12-06 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:9e3aeec74092e91b7f66d2cc5dc5885ef728d5b6 commit 9e3aeec74092e91b7f66d2cc5dc5885ef728d5b6 Author: Kwok Cheung Yeung Date: Mon Oct 7 16:19:39 2024 +0100 openmp: Fix error reporting in parsing of C++ OpenMP to/from clause The final 'else' when checking the motio

[gcc r15-5459] amdgcn: Fix build failure (PR117657)

2024-11-19 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:234da38a0e68a204a59562fcca2aa6d297bc21ed commit r15-5459-g234da38a0e68a204a59562fcca2aa6d297bc21ed Author: Andrew Stubbs Date: Tue Nov 19 12:01:22 2024 + amdgcn: Fix build failure (PR117657) The last patch did the right thing to the wrong parameter, which

[gcc r15-5010] openmp: Fix max_vf testcases with -march=cascadelake

2024-11-07 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:4e91d0587200cf801b42abd74a837e0b3ce635d5 commit r15-5010-g4e91d0587200cf801b42abd74a837e0b3ce635d5 Author: Andrew Stubbs Date: Thu Nov 7 11:23:41 2024 + openmp: Fix max_vf testcases with -march=cascadelake Apparently we need to explicitly disable AVX, not

[gcc r15-4989] openmp: Fix signed/unsigned warning

2024-11-06 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:345eb9b795d9728733bd0e472529e259ce796ff6 commit r15-4989-g345eb9b795d9728733bd0e472529e259ce796ff6 Author: Andrew Stubbs Date: Wed Nov 6 17:50:00 2024 + openmp: Fix signed/unsigned warning My previous patch broke things when building with Werror.

[gcc r15-4988] openmp: Add testcases for omp_max_vf

2024-11-06 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:d334f729e53867b838e867375b3f475ba793d96e commit r15-4988-gd334f729e53867b838e867375b3f475ba793d96e Author: Andrew Stubbs Date: Wed Nov 6 12:26:08 2024 + openmp: Add testcases for omp_max_vf Ensure that the GOMP_MAX_VF does the right thing for explicit sch

[gcc r15-4987] openmp: Add IFN_GOMP_MAX_VF

2024-11-06 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:2a2e6e9894f42fef9315aaad80c36843718ca0cb commit r15-4987-g2a2e6e9894f42fef9315aaad80c36843718ca0cb Author: Andrew Stubbs Date: Fri Nov 1 15:00:25 2024 + openmp: Add IFN_GOMP_MAX_VF Delay omp_max_vf call until after the host and device compilers have dive

[gcc r15-4986] openmp: use offload max_vf for chunk_size

2024-11-06 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:896c6c28939f0b1eb6582231d24ea07ce01d071e commit r15-4986-g896c6c28939f0b1eb6582231d24ea07ce01d071e Author: Andrew Stubbs Date: Fri Nov 1 13:53:34 2024 + openmp: use offload max_vf for chunk_size The chunk size for SIMD loops should be right for the curren

[gcc r15-4985] openmp: Tune omp_max_vf for offload targets

2024-11-06 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:5c9de3df8547682bfb3d484d7d28a27776bf979c commit r15-4985-g5c9de3df8547682bfb3d484d7d28a27776bf979c Author: Andrew Stubbs Date: Mon Oct 21 12:29:54 2024 + openmp: Tune omp_max_vf for offload targets If requested, return the vectorization factor appropriate

[gcc r15-4540] amdgcn: Refactor device settings into a def file

2024-10-22 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:a6b26e5ea09779bf276dff52a6692f3bb655d230 commit r15-4540-ga6b26e5ea09779bf276dff52a6692f3bb655d230 Author: Andrew Stubbs Date: Tue Sep 17 15:26:04 2024 + amdgcn: Refactor device settings into a def file Almost all device-specific settings are now centrali

[gcc r15-4519] amdgcn: silence warning

2024-10-21 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:0b6d94ce72b2f35dbee7c42774d6972671c86f97 commit r15-4519-g0b6d94ce72b2f35dbee7c42774d6972671c86f97 Author: Andrew Stubbs Date: Mon Sep 16 12:31:59 2024 + amdgcn: silence warning FIRST_SGPR_REG is register zero so the compiler always claims this compariso

[gcc r15-3383] amdgcn: Remove TARGET_GCN5_PLUS

2024-09-02 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:b9bf0c3f54d4e36ca40598600d6e87107204c4c6 commit r15-3383-gb9bf0c3f54d4e36ca40598600d6e87107204c4c6 Author: Andrew Stubbs Date: Tue Aug 6 16:00:21 2024 + amdgcn: Remove TARGET_GCN5_PLUS Now that GCN3 support is gone, TARGET_GCN5_PLUS always evaluates to tr

[gcc r15-3382] amdgcn: Remove TARGET_GCN3

2024-09-02 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:023641d97c5139bfcf8d468442a4e9782e90a467 commit r15-3382-g023641d97c5139bfcf8d468442a4e9782e90a467 Author: Andrew Stubbs Date: Tue Aug 6 15:37:36 2024 + amdgcn: Remove TARGET_GCN3 The only GCN3 ISA device was remove (Fiji, gfx803) so all the GCN3-specific

[gcc r15-3381] amdgcn: remove gfx803 "Fiji" support

2024-09-02 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:57af0022073f11bc300709b3717069f6d616c6ac commit r15-3381-g57af0022073f11bc300709b3717069f6d616c6ac Author: Andrew Stubbs Date: Mon Aug 5 15:14:17 2024 + amdgcn: remove gfx803 "Fiji" support The gfx803 "Fiji" device was deprecated in GCC 14, removed from L

[gcc/devel/omp/gcc-13] gensupport: drop suppport for define_cond_exec from compact syntac

2024-08-29 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:737b8f383563e5d1b10b85a7bc93ce359111be88 commit 737b8f383563e5d1b10b85a7bc93ce359111be88 Author: Tamar Christina Date: Tue Jun 20 23:31:40 2023 +0100 gensupport: drop suppport for define_cond_exec from compact syntac define_cond_exec does not support the spec

[gcc r15-2846] amdgcn: Add padding to trampoline

2024-08-09 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:b5a09a68bf0feaf0b0678d8f3433f776238d3896 commit r15-2846-gb5a09a68bf0feaf0b0678d8f3433f776238d3896 Author: Andrew Stubbs Date: Fri Aug 9 11:45:42 2024 + amdgcn: Add padding to trampoline This avoids a -Wpadded warning (testcase gcc.dg/20050607-1.c).

[gcc/devel/omp/gcc-14] amdgcn: Fix VGPR max count

2024-08-08 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:6d3c68ff05cf2b681c68db8dd0e2936cc34f2c40 commit 6d3c68ff05cf2b681c68db8dd0e2936cc34f2c40 Author: Andrew Stubbs Date: Wed Aug 7 15:35:18 2024 + amdgcn: Fix VGPR max count The metadata for RDNA3 kernels allocates VGPRs in blocks of 12, which means the

[gcc/devel/omp/gcc-14] amdgcn: Re-enable trampolines

2024-08-08 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:ffc69480ea3eca06f6e445025b839d23848ee148 commit ffc69480ea3eca06f6e445025b839d23848ee148 Author: Andrew Stubbs Date: Thu Aug 8 13:12:43 2024 + amdgcn: Re-enable trampolines The stacks are executable since the reverse-offload features were added, so tr

[gcc r15-2835] amdgcn: Fix VGPR max count

2024-08-08 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:715317331994d3d69395056f77bfe7ac613af009 commit r15-2835-g715317331994d3d69395056f77bfe7ac613af009 Author: Andrew Stubbs Date: Wed Aug 7 15:35:18 2024 + amdgcn: Fix VGPR max count The metadata for RDNA3 kernels allocates VGPRs in blocks of 12, which means

[gcc r15-2822] amdgcn: Re-enable trampolines

2024-08-08 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:6f71e050a51378e1811b90fe9c16cd37bf4c48ec commit r15-2822-g6f71e050a51378e1811b90fe9c16cd37bf4c48ec Author: Andrew Stubbs Date: Thu Aug 8 13:12:43 2024 + amdgcn: Re-enable trampolines The stacks are executable since the reverse-offload features were added,

[gcc r15-1769] amdgcn: invent target feature flags

2024-07-02 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:68e034920bab9abd547503967f73b81cc37cfbf4 commit r15-1769-g68e034920bab9abd547503967f73b81cc37cfbf4 Author: Andrew Stubbs Date: Fri Jun 28 15:13:59 2024 + amdgcn: invent target feature flags This is a first step towards having a device table so we can add

[gcc r15-1748] libgomp, openmp: Add ompx_gnu_pinned_mem_alloc

2024-07-01 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:64001441ec99b80e457188ce50bb6c59c757d3c6 commit r15-1748-g64001441ec99b80e457188ce50bb6c59c757d3c6 Author: Andrew Stubbs Date: Wed Jun 12 11:09:33 2024 + libgomp, openmp: Add ompx_gnu_pinned_mem_alloc This creates a new predefined allocator as a shortcut

[gcc r15-1747] libgomp: change alloc-pinned tests failure mode

2024-07-01 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:90efaebf95c93244f6b1eda5cb8724e52047cecd commit r15-1747-g90efaebf95c93244f6b1eda5cb8724e52047cecd Author: Andrew Stubbs Date: Wed Jun 12 08:43:53 2024 + libgomp: change alloc-pinned tests failure mode The feature doesn't work on non-Linux hosts, at prese

[gcc r15-1705] amdgcn: Fix RDNA V32 permutations [PR115640]

2024-06-28 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:ef0b30212f7756db15d7507bfd871bf377d7d648 commit r15-1705-gef0b30212f7756db15d7507bfd871bf377d7d648 Author: Andrew Stubbs Date: Fri Jun 28 10:47:50 2024 + amdgcn: Fix RDNA V32 permutations [PR115640] There was an off-by-one error in the RDNA validation che

[gcc r14-9627] amdgcn: Adjust GFX10/GFX11 cache coherency

2024-03-22 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:e194503b6f2cf5f1b819f4a8af9d16311a07e4f5 commit r14-9627-ge194503b6f2cf5f1b819f4a8af9d16311a07e4f5 Author: Andrew Stubbs Date: Wed Mar 6 15:54:46 2024 + amdgcn: Adjust GFX10/GFX11 cache coherency The RDNA devices have different cache architectures to the

[gcc r14-9626] amdgcn: Prefer V32 on RDNA devices

2024-03-22 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:6dedafe166cc02ae87b6a0699ad61ce3ffc46803 commit r14-9626-g6dedafe166cc02ae87b6a0699ad61ce3ffc46803 Author: Andrew Stubbs Date: Thu Feb 22 11:41:19 2024 + amdgcn: Prefer V32 on RDNA devices We run these devices in wavefrontsize64 for compatibility, but the

[gcc r14-9623] amdgcn: Add gfx1103 target

2024-03-22 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:1bf18629c54adf4893c8db5227a36e1952ee69a3 commit r14-9623-g1bf18629c54adf4893c8db5227a36e1952ee69a3 Author: Andrew Stubbs Date: Fri Mar 15 14:26:15 2024 + amdgcn: Add gfx1103 target Add support for the gfx1103 RDNA3 APU integrated graphics devices. The RO

[gcc r14-9621] vect: more oversized bitmask fixups

2024-03-22 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:e4e02c07d93559a037608c73e8153549b5104fbb commit r14-9621-ge4e02c07d93559a037608c73e8153549b5104fbb Author: Andrew Stubbs Date: Fri Mar 15 14:21:15 2024 + vect: more oversized bitmask fixups These patches fix up a failure in testcase vect/tsvc/vect-tsvc-s2

[gcc r14-9595] amdgcn: Comment correction

2024-03-21 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:a2fe34e0b993d5fb879d75ddb42b24b45c4b7242 commit r14-9595-ga2fe34e0b993d5fb879d75ddb42b24b45c4b7242 Author: Andrew Stubbs Date: Mon Mar 4 15:52:00 2024 + amdgcn: Comment correction The location of the marker was changed, but the comment wasn't updated.

[gcc r14-9594] amdgcn: Ensure gfx11 is running in cumode

2024-03-21 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:69dc2dc7e0e853856b84b1bcc89d0241d8a570aa commit r14-9594-g69dc2dc7e0e853856b84b1bcc89d0241d8a570aa Author: Andrew Stubbs Date: Mon Mar 4 15:48:47 2024 + amdgcn: Ensure gfx11 is running in cumode CUmode "on" is the setting for compatibility with GCN and CD

[gcc r14-9593] amdgcn: Clean up device memory in gcn-run

2024-03-21 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:c3fb8a4d150586459a9fa177cb2aeeac5e4c0464 commit r14-9593-gc3fb8a4d150586459a9fa177cb2aeeac5e4c0464 Author: Andrew Stubbs Date: Wed Mar 20 12:49:24 2024 + amdgcn: Clean up device memory in gcn-run gcc/ChangeLog: * config/gcn/gcn-run.cc (ma