[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-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 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-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-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 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-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-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 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

[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-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-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-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-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-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 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-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/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/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 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 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-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-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-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-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-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-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-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-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/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 r16-134] OpenMP, GCN: Add interop-hsa testcase

2025-04-25 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:8d84ea28510054fbbb8a2b7441916bd75e29163f commit r16-134-g8d84ea28510054fbbb8a2b7441916bd75e29163f Author: Andrew Stubbs Date: Thu Apr 24 16:50:08 2025 + OpenMP, GCN: Add interop-hsa testcase This testcase ensures that the interop HSA support is sufficient

[gcc/devel/omp/gcc-14] OpenMP, GCN: Add interop-hsa testcase

2025-04-28 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:33e01148ab0ed5fba2a5ac380bbba2e90629d7fd commit 33e01148ab0ed5fba2a5ac380bbba2e90629d7fd Author: Andrew Stubbs Date: Thu Apr 24 16:50:08 2025 + OpenMP, GCN: Add interop-hsa testcase This testcase ensures that the interop HSA support is sufficient to run

[gcc/devel/omp/gcc-14] libgomp.texi: Document supported OpenMP 'interop' types for nvptx and gcn

2025-04-28 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:0572eb1918b4de3a27a24cf0a21c9b71aea7c5f7 commit 0572eb1918b4de3a27a24cf0a21c9b71aea7c5f7 Author: Tobias Burnus Date: Wed Mar 26 11:27:56 2025 +0100 libgomp.texi: Document supported OpenMP 'interop' types for nvptx and gcn Note that this commit also updates th

[gcc/devel/omp/gcc-14] libgomp.texi: For HIP interop, mention cpp defines to set

2025-04-28 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:fd91f571f6e986f84f09f35139ff0650caa669d6 commit fd91f571f6e986f84f09f35139ff0650caa669d6 Author: Tobias Burnus Date: Thu Apr 17 10:21:05 2025 +0200 libgomp.texi: For HIP interop, mention cpp defines to set The HIP header files recognize the used compiler, def

[gcc/devel/omp/gcc-14] OpenMP: Silence uninitialized variable warning in C++ front end.

2025-04-28 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:a9f1e49fa11de85cdc55ee22ea3c021157e07719 commit a9f1e49fa11de85cdc55ee22ea3c021157e07719 Author: Sandra Loosemore Date: Sat Feb 22 16:54:50 2025 + OpenMP: Silence uninitialized variable warning in C++ front end. There's no actual problem with the code her

[gcc r16-1593] amdgcn: allow SImode in VCC_HI [PR120722]

2025-06-20 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:95752870fb5c51868a084b94705a83d728be52c8 commit r16-1593-g95752870fb5c51868a084b94705a83d728be52c8 Author: Andrew Stubbs Date: Fri Jun 20 16:43:37 2025 + amdgcn: allow SImode in VCC_HI [PR120722] This patch isn't fully tested yet, but it fixes the build f

[gcc r16-2293] amdgcn: Fix various unrecognized pattern issues with add3_vcc_dup

2025-07-16 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:4a0967f7509b5fad1c9bda432f71deb0d342a879 commit r16-2293-g4a0967f7509b5fad1c9bda432f71deb0d342a879 Author: Andrew Stubbs Date: Wed Jul 9 15:00:43 2025 + amdgcn: Fix various unrecognized pattern issues with add3_vcc_dup The patterns did not accept inline i

[gcc r16-2241] amdgcn: fix vec_ucmp infinite recursion

2025-07-14 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:d8680bac95c68002d7e4b13ae1dab1116fdfefc6 commit r16-2241-gd8680bac95c68002d7e4b13ae1dab1116fdfefc6 Author: Andrew Stubbs Date: Wed Jul 9 14:59:20 2025 + amdgcn: fix vec_ucmp infinite recursion I suppose this pattern doesn't get used much! The unsigned com

[gcc r16-2237] amdgcn: Don't clobber VCC if we don't need to

2025-07-14 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:0eee2dd2865faf61d9d74425510421e20434ec03 commit r16-2237-g0eee2dd2865faf61d9d74425510421e20434ec03 Author: Andrew Stubbs Date: Fri Jul 11 13:41:19 2025 + amdgcn: Don't clobber VCC if we don't need to This is a hold-over from GCN3 where v_add always wrote

[gcc r16-2348] amdgcn, libgomp: Remove unused variable (PR121156)

2025-07-18 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:6f275d36288814b09c3d30b51903d29e1ada377c commit r16-2348-g6f275d36288814b09c3d30b51903d29e1ada377c Author: Andrew Stubbs Date: Thu Jul 17 13:30:04 2025 + amdgcn, libgomp: Remove unused variable (PR121156) There's a new compiler warning breaking the build.

[gcc r16-2378] amdgcn: Add ashlvNm, mulvNm macros

2025-07-21 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:f194924984c4eb9c8be5310f78b191b35e576ab8 commit r16-2378-gf194924984c4eb9c8be5310f78b191b35e576ab8 Author: Andrew Stubbs Date: Thu Jun 12 16:54:01 2025 + amdgcn: Add ashlvNm, mulvNm macros I need some extra shift varieties in the mode-independent code, bu

[gcc r16-2377] amdgcn: add more insn patterns using vec_duplicate

2025-07-21 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:bdc4062a0796788e44d5e6ecd753268a8b453cc7 commit r16-2377-gbdc4062a0796788e44d5e6ecd753268a8b453cc7 Author: Andrew Stubbs Date: Thu Jun 12 16:57:23 2025 + amdgcn: add more insn patterns using vec_duplicate These new insns allow more efficient use of scalar

[gcc r16-2379] amdgcn: add DImode offsets for gather/scatter

2025-07-21 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:351fa55c58a036f148d13bca972e687a0bacd113 commit r16-2379-g351fa55c58a036f148d13bca972e687a0bacd113 Author: Andrew Stubbs Date: Thu Jun 12 16:58:33 2025 + amdgcn: add DImode offsets for gather/scatter Add new variant of he gather_load and scatter_store ins

[gcc r16-2637] Don't pass vector params through to offload targets

2025-07-30 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:b31fa1ce19542e14bea10f46240f39cb37277b80 commit r16-2637-gb31fa1ce19542e14bea10f46240f39cb37277b80 Author: Andrew Stubbs Date: Thu Jul 24 12:58:31 2025 + Don't pass vector params through to offload targets The optimization options are deliberately passed

[gcc r16-2638] vect: Add target hook to prefer gather/scatter instructions

2025-07-30 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:36c5a7aa9a6dbaed07e3a2482c66743ddcb3e776 commit r16-2638-g36c5a7aa9a6dbaed07e3a2482c66743ddcb3e776 Author: Andrew Stubbs Date: Mon Jul 28 13:58:03 2025 + vect: Add target hook to prefer gather/scatter instructions For AMD GCN, the instructions available f

[gcc/devel/omp/gcc-15] amdgcn: Don't clobber VCC if we don't need to

2025-08-08 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:476ff6a043c3aad033e9b450172dbe7621ff3157 commit 476ff6a043c3aad033e9b450172dbe7621ff3157 Author: Andrew Stubbs Date: Fri Jul 11 13:41:19 2025 + amdgcn: Don't clobber VCC if we don't need to This is a hold-over from GCN3 where v_add always wrote to the con

[gcc/devel/omp/gcc-15] amdgcn: add more insn patterns using vec_duplicate

2025-08-08 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:f4763a23c78d861356150168dbbaf7e315e88b98 commit f4763a23c78d861356150168dbbaf7e315e88b98 Author: Andrew Stubbs Date: Thu Jun 12 16:57:23 2025 + amdgcn: add more insn patterns using vec_duplicate These new insns allow more efficient use of scalar inputs to

[gcc/devel/omp/gcc-15] amdgcn: add DImode offsets for gather/scatter

2025-08-08 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:4ff3d0d40af181140ecad42fb23047e374967f4d commit 4ff3d0d40af181140ecad42fb23047e374967f4d Author: Andrew Stubbs Date: Thu Jun 12 16:58:33 2025 + amdgcn: add DImode offsets for gather/scatter Add new variant of he gather_load and scatter_store instructions

[gcc/devel/omp/gcc-15] Don't pass vector params through to offload targets

2025-08-08 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:6847a222ba5f411584e20f5ed2e946ca19c9fcb4 commit 6847a222ba5f411584e20f5ed2e946ca19c9fcb4 Author: Andrew Stubbs Date: Thu Jul 24 12:58:31 2025 + Don't pass vector params through to offload targets The optimization options are deliberately passed through to

[gcc/devel/omp/gcc-15] vect: Add target hook to prefer gather/scatter instructions

2025-08-08 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:49cb093be7f293bbceb9c822ca3034c55bd95e4d commit 49cb093be7f293bbceb9c822ca3034c55bd95e4d Author: Andrew Stubbs Date: Mon Jul 28 13:58:03 2025 + vect: Add target hook to prefer gather/scatter instructions For AMD GCN, the instructions available for loading

[gcc/devel/omp/gcc-15] amdgcn: Fix various unrecognized pattern issues with add3_vcc_dup

2025-08-08 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:37b44f7743e65f0e514810780f041bb07470c641 commit 37b44f7743e65f0e514810780f041bb07470c641 Author: Andrew Stubbs Date: Wed Jul 9 15:00:43 2025 + amdgcn: Fix various unrecognized pattern issues with add3_vcc_dup The patterns did not accept inline immediate c

[gcc/devel/omp/gcc-15] amdgcn: fix vec_ucmp infinite recursion

2025-08-08 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:f29755bd903a1234cff76066fb24793451b06524 commit f29755bd903a1234cff76066fb24793451b06524 Author: Andrew Stubbs Date: Wed Jul 9 14:59:20 2025 + amdgcn: fix vec_ucmp infinite recursion I suppose this pattern doesn't get used much! The unsigned compare was

[gcc/devel/omp/gcc-15] amdgcn: Add ashlvNm, mulvNm macros

2025-08-08 Thread Andrew Stubbs via Gcc-cvs
https://gcc.gnu.org/g:9ebe1b5d26fda4fffb014d55c84db4239a955e27 commit 9ebe1b5d26fda4fffb014d55c84db4239a955e27 Author: Andrew Stubbs Date: Thu Jun 12 16:54:01 2025 + amdgcn: Add ashlvNm, mulvNm macros I need some extra shift varieties in the mode-independent code, but the mac