[gcc r15-6946] forwprop: Eliminate redundant calls to to_constant()

2025-01-16 Thread Christoph Mテシllner via Gcc-cvs
https://gcc.gnu.org/g:57de373426e27395c0ef581c8a8300ec74c1bb59 commit r15-6946-g57de373426e27395c0ef581c8a8300ec74c1bb59 Author: Christoph Müllner Date: Wed Jan 15 14:53:27 2025 +0100 forwprop: Eliminate redundant calls to to_constant() When extracting the amount of vector element

[gcc r15-6912] testsuite: i386: Fix expected vectoriziation in pr105493.c

2025-01-15 Thread Christoph Mテシllner via Gcc-cvs
https://gcc.gnu.org/g:120a37008222bf6fe17658af3d1ba1b384642905 commit r15-6912-g120a37008222bf6fe17658af3d1ba1b384642905 Author: Christoph Müllner Date: Tue Jan 14 13:20:50 2025 +0100 testsuite: i386: Fix expected vectoriziation in pr105493.c As reported in PR117079, commit ab1878

[gcc r15-6422] testsuite: Don't test pr118149.c on AArch64

2024-12-22 Thread Christoph Mテシllner via Gcc-cvs
https://gcc.gnu.org/g:b43bb6591f7f934f9807a2cae3b53fdbe8d27169 commit r15-6422-gb43bb6591f7f934f9807a2cae3b53fdbe8d27169 Author: Christoph Müllner Date: Sun Dec 22 23:02:03 2024 +0100 testsuite: Don't test pr118149.c on AArch64 Recently two test cases for PR118149 have been added.

[gcc r15-6396] testsuite: Add tests for PR118149

2024-12-20 Thread Christoph Mテシllner via Gcc-cvs
https://gcc.gnu.org/g:7c50564627e42c619cc64c09cce8a42fd7932166 commit r15-6396-g7c50564627e42c619cc64c09cce8a42fd7932166 Author: Christoph Müllner Date: Fri Dec 20 14:46:51 2024 +0100 testsuite: Add tests for PR118149 A recent bugfix (eee2891312) for PR117830 also addressed PR1181

[gcc r15-6387] forwprop: Fix lane handling for VEC_PERM sequence blending

2024-12-20 Thread Christoph Mテシllner via Gcc-cvs
https://gcc.gnu.org/g:eee2891312a9b42acabcc82739604c9fa8421757 commit r15-6387-geee2891312a9b42acabcc82739604c9fa8421757 Author: Christoph Müllner Date: Thu Dec 5 20:39:25 2024 +0100 forwprop: Fix lane handling for VEC_PERM sequence blending In PR117830 a miscompilation of 464.h26

[gcc r15-6386] RISC-V: List valid -mtune options only once

2024-12-20 Thread Christoph Mテシllner via Gcc-cvs
https://gcc.gnu.org/g:8af296c290216e03bc20e7291e64c19e0d94cfd6 commit r15-6386-g8af296c290216e03bc20e7291e64c19e0d94cfd6 Author: Christoph Müllner Date: Thu Dec 19 20:59:36 2024 +0100 RISC-V: List valid -mtune options only once This patch ensures that the list of valid -mtune opti

[gcc r15-5573] testsuite: tree-ssa: Limit targets for vec perm tests

2024-11-21 Thread Christoph Mテシllner via Gcc-cvs
https://gcc.gnu.org/g:ae0d842f3e7a119b21a000824b10920614088684 commit r15-5573-gae0d842f3e7a119b21a000824b10920614088684 Author: Christoph Müllner Date: Thu Nov 21 16:53:49 2024 +0100 testsuite: tree-ssa: Limit targets for vec perm tests Recently added test cases assume optimized

[gcc r15-5563] forwprop: Try to blend two isomorphic VEC_PERM sequences

2024-11-21 Thread Christoph Mテシllner via Gcc-cvs
https://gcc.gnu.org/g:1c4d39ada33d3655db088a0e5c90a296da794a55 commit r15-5563-g1c4d39ada33d3655db088a0e5c90a296da794a55 Author: Christoph Müllner Date: Wed Nov 13 00:44:43 2024 +0100 forwprop: Try to blend two isomorphic VEC_PERM sequences This extends forwprop by yet another VEC

[gcc r15-2825] RISC-V: testsuite: xtheadfmemidx: Rename test and add similar Zfa test

2024-08-08 Thread Christoph Mテシllner via Gcc-cvs
https://gcc.gnu.org/g:8e6bc6dd2bb476fa97586b477bc98c670a3fcaf0 commit r15-2825-g8e6bc6dd2bb476fa97586b477bc98c670a3fcaf0 Author: Christoph Müllner Date: Tue Aug 6 07:24:07 2024 +0200 RISC-V: testsuite: xtheadfmemidx: Rename test and add similar Zfa test Test file xtheadfmemidx-med

[gcc r15-2820] Rearrange SLP nodes with duplicate statements [PR98138]

2024-08-08 Thread Christoph Mテシllner via Gcc-cvs
https://gcc.gnu.org/g:ab18785840d7b8afd9f716bab9d1eab415bc4fe9 commit r15-2820-gab18785840d7b8afd9f716bab9d1eab415bc4fe9 Author: Manolis Tsamis Date: Tue Jun 25 08:00:04 2024 -0700 Rearrange SLP nodes with duplicate statements [PR98138] This change checks when a two_operators SLP

[gcc r14-10558] RISC-V: xtheadmemidx: Fix mode test for pre/post-modify addressing

2024-08-05 Thread Christoph Mテシllner via Gcc-cvs
https://gcc.gnu.org/g:eccf707e5ceb7e405ffe4edfbcae2f769b8386cf commit r14-10558-geccf707e5ceb7e405ffe4edfbcae2f769b8386cf Author: Christoph Müllner Date: Wed Jul 24 14:10:01 2024 +0200 RISC-V: xtheadmemidx: Fix mode test for pre/post-modify addressing auto_inc_dec (-O3) performs o

[gcc r15-2319] RISC-V: xtheadmemidx: Fix mode test for pre/post-modify addressing

2024-07-25 Thread Christoph Mテシllner via Gcc-cvs
https://gcc.gnu.org/g:a86c0cb9379e7b86625908a0250cf698276e9e02 commit r15-2319-ga86c0cb9379e7b86625908a0250cf698276e9e02 Author: Christoph Müllner Date: Wed Jul 24 14:10:01 2024 +0200 RISC-V: xtheadmemidx: Fix mode test for pre/post-modify addressing auto_inc_dec (-O3) performs op

[gcc r14-10506] RISC-V: Disable Zba optimization pattern if XTheadMemIdx is enabled

2024-07-24 Thread Christoph Mテシllner via Gcc-cvs
https://gcc.gnu.org/g:ab0386679fef35c544d139270436c63026e00ff2 commit r14-10506-gab0386679fef35c544d139270436c63026e00ff2 Author: Christoph Müllner Date: Tue Jul 23 14:48:02 2024 +0200 RISC-V: Disable Zba optimization pattern if XTheadMemIdx is enabled It is possible that the Zba

[gcc r15-2243] RISC-V: Disable Zba optimization pattern if XTheadMemIdx is enabled

2024-07-24 Thread Christoph Mテシllner via Gcc-cvs
https://gcc.gnu.org/g:9817d29cd66762893782a52b2c304c5083bc0023 commit r15-2243-g9817d29cd66762893782a52b2c304c5083bc0023 Author: Christoph Müllner Date: Tue Jul 23 14:48:02 2024 +0200 RISC-V: Disable Zba optimization pattern if XTheadMemIdx is enabled It is possible that the Zba o

[gcc r14-10428] RISC-V: testsuite: Properly gate LTO tests

2024-07-16 Thread Christoph Mテシllner via Gcc-cvs
https://gcc.gnu.org/g:ea5907d6d458b1c9318814c96ebb277c7c8505f5 commit r14-10428-gea5907d6d458b1c9318814c96ebb277c7c8505f5 Author: Christoph Müllner Date: Fri Jul 5 09:53:34 2024 +0200 RISC-V: testsuite: Properly gate LTO tests There are two test cases with the following skip direc

[gcc r15-2046] Revert "RISC-V: Attribute parser: Use alloca() instead of new + std::unique_ptr"

2024-07-15 Thread Christoph Mテシllner via Gcc-cvs
https://gcc.gnu.org/g:eb0c163aada970b8351067b17121f013fc58dbc9 commit r15-2046-geb0c163aada970b8351067b17121f013fc58dbc9 Author: Christoph Müllner Date: Mon Jul 15 23:42:39 2024 +0200 Revert "RISC-V: Attribute parser: Use alloca() instead of new + std::unique_ptr" This reverts co

[gcc r15-2043] RISC-V: Attribute parser: Use alloca() instead of new + std::unique_ptr

2024-07-15 Thread Christoph Mテシllner via Gcc-cvs
https://gcc.gnu.org/g:5040c273484d7123a40a99cdeb434cecbd17a2e9 commit r15-2043-g5040c273484d7123a40a99cdeb434cecbd17a2e9 Author: Christoph Müllner Date: Fri Jul 5 04:48:15 2024 +0200 RISC-V: Attribute parser: Use alloca() instead of new + std::unique_ptr Allocating an object on th

[gcc r15-1909] RISC-V: testsuite: Properly gate LTO tests

2024-07-09 Thread Christoph Mテシllner via Gcc-cvs
https://gcc.gnu.org/g:0717d50fc4ff983b79093bdef43b04e4584cc3cd commit r15-1909-g0717d50fc4ff983b79093bdef43b04e4584cc3cd Author: Christoph Müllner Date: Fri Jul 5 09:53:34 2024 +0200 RISC-V: testsuite: Properly gate LTO tests There are two test cases with the following skip direct

[gcc r14-10313] riscv: Allocate enough space to strcpy() string

2024-06-15 Thread Christoph Mテシllner via Gcc-cvs
https://gcc.gnu.org/g:3fe255fd3f9b7f93c69d11d4bb0963793fc5edd4 commit r14-10313-g3fe255fd3f9b7f93c69d11d4bb0963793fc5edd4 Author: Christoph Müllner Date: Fri Jun 14 20:37:04 2024 +0200 riscv: Allocate enough space to strcpy() string I triggered an ICE on Ubuntu 24.04 when compilin

[gcc r15-1351] riscv: Allocate enough space to strcpy() string

2024-06-15 Thread Christoph Mテシllner via Gcc-cvs
https://gcc.gnu.org/g:6762d5738b02d84ad3f51e89979b48acb68db65b commit r15-1351-g6762d5738b02d84ad3f51e89979b48acb68db65b Author: Christoph Müllner Date: Fri Jun 14 20:37:04 2024 +0200 riscv: Allocate enough space to strcpy() string I triggered an ICE on Ubuntu 24.04 when compiling

[gcc r15-572] RISC-V: testsuite: Drop march-string in cmpmemsi/cpymemsi tests

2024-05-16 Thread Christoph Mテシllner via Gcc-cvs
https://gcc.gnu.org/g:b8b82bb05c10544da05cd0d3d39e6bc3763a8d9f commit r15-572-gb8b82bb05c10544da05cd0d3d39e6bc3763a8d9f Author: Christoph Müllner Date: Thu May 16 09:53:47 2024 +0200 RISC-V: testsuite: Drop march-string in cmpmemsi/cpymemsi tests The tests cmpmemsi-1.c and cpymems

[gcc r15-514] RISC-V: Test cbo.zero expansion for rv32

2024-05-15 Thread Christoph Mテシllner via Gcc-cvs
https://gcc.gnu.org/g:5609d77e683944439fae38323ecabc44a1eb4671 commit r15-514-g5609d77e683944439fae38323ecabc44a1eb4671 Author: Christoph Müllner Date: Wed May 15 01:34:54 2024 +0200 RISC-V: Test cbo.zero expansion for rv32 We had an issue when expanding via cmo-zero for RV32.

[gcc r15-505] RISC-V: Add test cases for cpymem expansion

2024-05-15 Thread Christoph Mテシllner via Gcc-cvs
https://gcc.gnu.org/g:00029408387e9cc64e135324c22d15cd5a70e946 commit r15-505-g00029408387e9cc64e135324c22d15cd5a70e946 Author: Christoph Müllner Date: Wed May 1 16:54:42 2024 +0200 RISC-V: Add test cases for cpymem expansion We have two mechanisms in the RISC-V backend that expan

[gcc r15-338] RISC-V: Add tests for cpymemsi expansion

2024-05-09 Thread Christoph Mテシllner via Gcc-cvs
https://gcc.gnu.org/g:4d38e88227ea48e559a2f354c0e62d372e181b82 commit r15-338-g4d38e88227ea48e559a2f354c0e62d372e181b82 Author: Christoph Müllner Date: Thu Apr 11 12:07:10 2024 +0200 RISC-V: Add tests for cpymemsi expansion cpymemsi expansion was available for RISC-V since the ini

[gcc r15-323] RISC-V: Add test for sraiw-31 special case

2024-05-08 Thread Christoph Mテシllner via Gcc-cvs
https://gcc.gnu.org/g:dd388198b8be52ab378c935fc517a269e0ba741c commit r15-323-gdd388198b8be52ab378c935fc517a269e0ba741c Author: Christoph Müllner Date: Tue May 7 22:59:44 2024 +0200 RISC-V: Add test for sraiw-31 special case We already optimize a sign-extension of a right-shift by

[gcc r15-44] RISC-V: Fix parsing of Zic* extensions

2024-04-29 Thread Christoph Mテシllner via Gcc-cvs
https://gcc.gnu.org/g:285300eb928b171236e895f28c960ad02dcb0d67 commit r15-44-g285300eb928b171236e895f28c960ad02dcb0d67 Author: Christoph Müllner Date: Mon Apr 29 00:46:06 2024 +0200 RISC-V: Fix parsing of Zic* extensions The extension parsing table entries for a range of Zic* exte

[gcc r14-9607] RISC-V: Don't add fractional LMUL types to V_VLS for XTheadVector

2024-03-21 Thread Christoph Mテシllner via Gcc-cvs
https://gcc.gnu.org/g:fd5e5dda8d79d62396f56d4fdd628b4bc5f9fa24 commit r14-9607-gfd5e5dda8d79d62396f56d4fdd628b4bc5f9fa24 Author: Christoph Müllner Date: Thu Mar 21 15:40:49 2024 +0100 RISC-V: Don't add fractional LMUL types to V_VLS for XTheadVector The expansion of `memset` (via

[gcc r13-8462] riscv: xtheadmempair: Fix CFA reg notes

2024-03-18 Thread Christoph Mテシllner via Gcc-cvs
https://gcc.gnu.org/g:d9d51e0552693bf1bcf6f23d53d058d60d72416e commit r13-8462-gd9d51e0552693bf1bcf6f23d53d058d60d72416e Author: Christoph Müllner Date: Mon Apr 24 23:09:06 2023 +0200 riscv: xtheadmempair: Fix CFA reg notes The current implementation triggers an assertion in d