[gcc r15-6948] RISC-V: Update Xsfvfnrclip implementation.

2025-01-16 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:030aaea78c130a31d36d1dd56b0e8b90d973b522 commit r15-6948-g030aaea78c130a31d36d1dd56b0e8b90d973b522 Author: Jiawei Date: Fri Dec 13 20:38:28 2024 +0800 RISC-V: Update Xsfvfnrclip implementation. Update implementation of Xsfvfnrclip, using return type as iterat

[gcc r15-6949] RISC-V: Update Xsfvqmacc and Xsfvfnrclip's testcases

2025-01-16 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:8682fcbf3ced5a415d3ff9a27d6c1fa0392bb187 commit r15-6949-g8682fcbf3ced5a415d3ff9a27d6c1fa0392bb187 Author: Liao Shihua Date: Fri Dec 13 20:38:29 2024 +0800 RISC-V: Update Xsfvqmacc and Xsfvfnrclip's testcases Update Sifive Xsfvqmacc and Xsfvfnrclip extension'

[gcc r15-6906] RISC-V: Fix code gen for reduction with length 0 [PR118182]

2025-01-14 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:40ad10f708b19d3e88948ac820fbfb9f3c3689ae commit r15-6906-g40ad10f708b19d3e88948ac820fbfb9f3c3689ae Author: Kito Cheng Date: Mon Dec 23 23:23:44 2024 +0800 RISC-V: Fix code gen for reduction with length 0 [PR118182] `.MASK_LEN_FOLD_LEFT_PLUS`(or `mask_len_fold

[gcc r15-6564] RISC-V: Move fortran testcase to gfortran.target

2025-01-05 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:a35b89a20ed6ef697867e9149474bcdc584cd969 commit r15-6564-ga35b89a20ed6ef697867e9149474bcdc584cd969 Author: Kito Cheng Date: Mon Dec 23 21:27:46 2024 +0800 RISC-V: Move fortran testcase to gfortran.target gcc/testsuite/ChangeLog: * gcc.target/

[gcc r15-6301] RISC-V: Add new constraint R for register even-odd pairs

2024-12-17 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:fcbb8456a58ba073d4d5b10fcb9057b6e9a100db commit r15-6301-gfcbb8456a58ba073d4d5b10fcb9057b6e9a100db Author: Kito Cheng Date: Mon Dec 9 14:55:20 2024 +0800 RISC-V: Add new constraint R for register even-odd pairs Although this constraint is not currently used f

[gcc r15-6300] RISC-V: Implment N modifier for printing the register number rather than the register name

2024-12-17 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:2a22db391d1819f6068aa43e63632b350a0b4bec commit r15-6300-g2a22db391d1819f6068aa43e63632b350a0b4bec Author: Kito Cheng Date: Thu Nov 14 17:24:45 2024 +0800 RISC-V: Implment N modifier for printing the register number rather than the register name The modifier

[gcc r15-6299] RISC-V: Rename internal operand modifier N to n

2024-12-17 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:192790e994c9e15949e694e0a52010001b291611 commit r15-6299-g192790e994c9e15949e694e0a52010001b291611 Author: Kito Cheng Date: Thu Nov 14 16:41:52 2024 +0800 RISC-V: Rename internal operand modifier N to n Here is a purposal that using N for printing register en

[gcc r15-6298] RISC-V: Add cr and cf constraint

2024-12-17 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:46888571d242cf5623b7b0b74bb4490572f81cc9 commit r15-6298-g46888571d242cf5623b7b0b74bb4490572f81cc9 Author: Kito Cheng Date: Wed Nov 13 17:54:16 2024 +0800 RISC-V: Add cr and cf constraint gcc/ChangeLog: * config/riscv/constraints.md (cr): New

[gcc r15-6297] RISC-V: Rename constraint c0* to k0*

2024-12-17 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:1a2e0fcb857d82a7cb8909cf27a5dc833fecfa9a commit r15-6297-g1a2e0fcb857d82a7cb8909cf27a5dc833fecfa9a Author: Kito Cheng Date: Mon Dec 9 15:05:37 2024 +0800 RISC-V: Rename constraint c0* to k0* Rename those constraint since we want define other constraint start

[gcc r15-6006] Revert "RISC-V: Add const to function_shape::get_name [NFC]"

2024-12-06 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:567b0405e38b0336a4416628424c97c67d0e92b3 commit r15-6006-g567b0405e38b0336a4416628424c97c67d0e92b3 Author: Kito Cheng Date: Sat Dec 7 08:23:58 2024 +0800 Revert "RISC-V: Add const to function_shape::get_name [NFC]" This reverts commit 9bf4cad4e4e1ec92c320a619

[gcc r15-5967] RISC-V: Add --with-cmodel configure option

2024-12-06 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:feea589d78fd5ebe1c02cf937e184d2c66cd99ed commit r15-5967-gfeea589d78fd5ebe1c02cf937e184d2c66cd99ed Author: Hau Hsu Date: Fri Aug 2 13:11:51 2024 +0800 RISC-V: Add --with-cmodel configure option Sometimes we want to use default cmodel other than medlow. Add a

[gcc r15-5931] RISC-V: Add const to function_shape::get_name [NFC]

2024-12-04 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:9bf4cad4e4e1ec92c320a619c9bad35535596ced commit r15-5931-g9bf4cad4e4e1ec92c320a619c9bad35535596ced Author: Kito Cheng Date: Tue Dec 3 00:44:09 2024 -0800 RISC-V: Add const to function_shape::get_name [NFC] function_shape::get_name is the funciton for building

[gcc r15-5861] RISC-V: Add intrinsics testcases for SiFive Xsfvfnrclipxfqf extensions.

2024-12-02 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:275197057677406d575bfdbffa259ba7225e671f commit r15-5861-g275197057677406d575bfdbffa259ba7225e671f Author: yulong Date: Mon Dec 2 09:31:54 2024 +0800 RISC-V: Add intrinsics testcases for SiFive Xsfvfnrclipxfqf extensions. This commit adds testcases for Xsfvfn

[gcc r15-5860] RISC-V: Add intrinsics support for SiFive Xsfvfnrclipxfqf extensions.

2024-12-02 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:1352d4dd09293faf170072269fcef3aa6694d6ae commit r15-5860-g1352d4dd09293faf170072269fcef3aa6694d6ae Author: yulong Date: Mon Dec 2 09:31:53 2024 +0800 RISC-V: Add intrinsics support for SiFive Xsfvfnrclipxfqf extensions. This commit adds intrinsics support for

[gcc r15-5794] RISC-V: Add intrinsics testcases for SiFive Xsfvqmaccqoq/dod extensions.

2024-11-29 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:fe29b03825c9971ef1726bf9c7288de3389511b3 commit r15-5794-gfe29b03825c9971ef1726bf9c7288de3389511b3 Author: yulong Date: Thu Nov 28 10:36:05 2024 +0800 RISC-V: Add intrinsics testcases for SiFive Xsfvqmaccqoq/dod extensions. This commit adds testcases for Xsfv

[gcc r15-5793] RISC-V: Add intrinsics support for SiFive Xsfvqmaccqoq/dod extensions.

2024-11-29 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:356bfe8ca123954e524a9d09dd8bba5ae8474a2d commit r15-5793-g356bfe8ca123954e524a9d09dd8bba5ae8474a2d Author: yulong Date: Thu Nov 28 10:36:04 2024 +0800 RISC-V: Add intrinsics support for SiFive Xsfvqmaccqoq/dod extensions. This commit adds intrinsics support f

[gcc r15-5645] RISC-V: Use dynamic shadow offset

2024-11-24 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:c84a8a274af3163a4042bcfd77dd1988bd1eb0ce commit r15-5645-gc84a8a274af3163a4042bcfd77dd1988bd1eb0ce Author: Kito Cheng Date: Fri Nov 15 12:14:55 2024 +0800 RISC-V: Use dynamic shadow offset Switch to dynamic offset so that we can support Sv39, Sv48, and Sv57 a

[gcc r15-5644] asan: Support dynamic shadow offset

2024-11-24 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:63c68752768fd6d67c695e09c85e0e1ca59cd6d4 commit r15-5644-g63c68752768fd6d67c695e09c85e0e1ca59cd6d4 Author: Kito Cheng Date: Fri Nov 15 12:14:54 2024 +0800 asan: Support dynamic shadow offset AddressSanitizer has supported dynamic shadow offsets since 2016[1],

[gcc r15-5643] RISC-V: Minimal support for svvptc extension.

2024-11-24 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:e4f4b2dc08b6720acab563db48fd4b0427d2b0c6 commit r15-5643-ge4f4b2dc08b6720acab563db48fd4b0427d2b0c6 Author: Dongyan Chen Date: Fri Nov 22 13:13:46 2024 +0800 RISC-V: Minimal support for svvptc extension. This patch support svvptc extension[1]. To enable GC

[gcc r15-5483] RISC-V: Add the mini support for SiFive extensions.

2024-11-19 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:139bd3198a738a1d49cd27f37bab16c1916f3164 commit r15-5483-g139bd3198a738a1d49cd27f37bab16c1916f3164 Author: yulong Date: Sun Nov 17 17:55:30 2024 +0800 RISC-V: Add the mini support for SiFive extensions. This patch add the mini support for xsfvqmaccqoq, xsfvqm

[gcc r15-5199] RISC-V: Implement TARGET_GENERATE_VERSION_DISPATCHER_BODY and TARGET_GET_FUNCTION_VERSIONS_DISPATCHE

2024-11-13 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:917d03e4f366f7738684bed2eae02482b535b7fc commit r15-5199-g917d03e4f366f7738684bed2eae02482b535b7fc Author: Yangyu Chen Date: Tue Nov 5 11:23:07 2024 +0800 RISC-V: Implement TARGET_GENERATE_VERSION_DISPATCHER_BODY and TARGET_GET_FUNCTION_VERSIONS_DISPATCHER T

[gcc r15-5193] Introduce TARGET_CLONES_ATTR_SEPARATOR for RISC-V

2024-11-13 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:9bf0dbe67244fffc5cb939e51ead2876557c8c37 commit r15-5193-g9bf0dbe67244fffc5cb939e51ead2876557c8c37 Author: Yangyu Chen Date: Tue Nov 5 11:21:22 2024 +0800 Introduce TARGET_CLONES_ATTR_SEPARATOR for RISC-V Some architectures may use ',' in the attribute string

[gcc r15-5200] RISC-V: Add Multi-Versioning Test Cases

2024-11-13 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:f42f8dcf495e0a17df95a71c6a91093532cb9f3b commit r15-5200-gf42f8dcf495e0a17df95a71c6a91093532cb9f3b Author: Yangyu Chen Date: Tue Nov 5 11:23:16 2024 +0800 RISC-V: Add Multi-Versioning Test Cases This patch adds test cases for the Function Multi-Versioning (FM

[gcc r15-5197] RISC-V: Implement TARGET_COMPARE_VERSION_PRIORITY and TARGET_OPTION_FUNCTION_VERSIONS

2024-11-13 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:78753c75cf154e7432624e24c68aae3b81ed49f0 commit r15-5197-g78753c75cf154e7432624e24c68aae3b81ed49f0 Author: Yangyu Chen Date: Tue Nov 5 11:22:45 2024 +0800 RISC-V: Implement TARGET_COMPARE_VERSION_PRIORITY and TARGET_OPTION_FUNCTION_VERSIONS This patch implem

[gcc r15-5198] RISC-V: Implement TARGET_MANGLE_DECL_ASSEMBLER_NAME

2024-11-13 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:0c77c4b082bf110fd2fc9c800268ac58fa579d06 commit r15-5198-g0c77c4b082bf110fd2fc9c800268ac58fa579d06 Author: Yangyu Chen Date: Tue Nov 5 11:22:56 2024 +0800 RISC-V: Implement TARGET_MANGLE_DECL_ASSEMBLER_NAME This patch implements the TARGET_MANGLE_DECL_ASSEMBL

[gcc r15-5196] RISC-V: Implement TARGET_OPTION_VALID_VERSION_ATTRIBUTE_P

2024-11-13 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:bd975bd1ce5fdbe99901df9145ba40d7145fd066 commit r15-5196-gbd975bd1ce5fdbe99901df9145ba40d7145fd066 Author: Yangyu Chen Date: Tue Nov 5 11:22:29 2024 +0800 RISC-V: Implement TARGET_OPTION_VALID_VERSION_ATTRIBUTE_P This patch implements the TARGET_OPTION_VALID_

[gcc r15-5195] RISC-V: Implement riscv_minimal_hwprobe_feature_bits

2024-11-13 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:1f99a39da290291121d08701b218f23781a8 commit r15-5195-g1f99a39da290291121d08701b218f23781a8 Author: Yangyu Chen Date: Tue Nov 5 11:22:16 2024 +0800 RISC-V: Implement riscv_minimal_hwprobe_feature_bits This patch implements the riscv_minimal_hwprobe_fea

[gcc r15-5194] RISC-V: Implement Priority syntax parser for Function Multi-Versioning

2024-11-13 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:6b572d4eecc99c4a014ce1eab5e79976e30f4d9f commit r15-5194-g6b572d4eecc99c4a014ce1eab5e79976e30f4d9f Author: Yangyu Chen Date: Tue Nov 5 11:22:00 2024 +0800 RISC-V: Implement Priority syntax parser for Function Multi-Versioning This patch adds the priority synt

[gcc r15-5171] RISC-V: Add norelax function attribute

2024-11-12 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:4bee5252c1dedad044300ff89731ac26e27c9b21 commit r15-5171-g4bee5252c1dedad044300ff89731ac26e27c9b21 Author: yulong Date: Fri Nov 8 00:19:04 2024 +0800 RISC-V: Add norelax function attribute This patch adds norelax function attribute that be discussed in riscv

[gcc r15-5169] libsanitizer: Update LOCAL_PATCHES

2024-11-12 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:0256c8b4687080e17e32f525d362814f238c8d32 commit r15-5169-g0256c8b4687080e17e32f525d362814f238c8d32 Author: Kito Cheng Date: Fri Nov 1 21:23:43 2024 +0800 libsanitizer: Update LOCAL_PATCHES Diff: --- libsanitizer/LOCAL_PATCHES | 5 ++--- 1 file changed, 2 insertions(

[gcc r15-5166] libsanitizer: Improve FrameIsInternal

2024-11-12 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:4d2cd304714fddc8a995fc0311090fce7e70c122 commit r15-5166-g4d2cd304714fddc8a995fc0311090fce7e70c122 Author: Kito Cheng Date: Wed Nov 6 17:35:46 2024 +0800 libsanitizer: Improve FrameIsInternal `FrameIsInternal` is a function that improves report quality by fil

[gcc r15-5165] libsanitizer: Apply local patches

2024-11-12 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:b53f7de3e6205f76a794e159a282193e2afaad16 commit r15-5165-gb53f7de3e6205f76a794e159a282193e2afaad16 Author: Kito Cheng Date: Wed Nov 15 12:46:56 2023 +0100 libsanitizer: Apply local patches This patch just reapplies local patches (will be noted in LOCAL_PATCHE

[gcc r15-5167] libsanitizer: update test

2024-11-12 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:1b35b929354c41f3e2682aa7a30013e1bfe31bd4 commit r15-5167-g1b35b929354c41f3e2682aa7a30013e1bfe31bd4 Author: Kito Cheng Date: Wed Nov 6 11:47:03 2024 +0800 libsanitizer: update test gcc/testsuite/ChangeLog: * c-c++-common/ubsan/builtin-1.c: Upd

[gcc r15-4800] RISC-V: Do not inline when callee is versioned but caller is not

2024-10-31 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:eb828a1e380e7bb5a708c899081541ee9130ff87 commit r15-4800-geb828a1e380e7bb5a708c899081541ee9130ff87 Author: Yangyu Chen Date: Thu Oct 24 15:12:45 2024 +0800 RISC-V: Do not inline when callee is versioned but caller is not When the callee is versioned but the c

[gcc r15-4798] RISC-V: Split riscv_process_target_attr with const char *args argument

2024-10-31 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:a57c16e50d478cc413e3e530db21de693e4eb2ae commit r15-4798-ga57c16e50d478cc413e3e530db21de693e4eb2ae Author: Yangyu Chen Date: Thu Oct 24 15:10:57 2024 +0800 RISC-V: Split riscv_process_target_attr with const char *args argument This patch splits static bool ri

[gcc r15-4795] RISC-V: allow -fno-plt to disable PLT

2024-10-31 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:1f7b1c555c66cf55f9032ea14135f29d27d34811 commit r15-4795-g1f7b1c555c66cf55f9032ea14135f29d27d34811 Author: Yangyu Chen Date: Thu Oct 31 16:31:24 2024 +0800 RISC-V: allow -fno-plt to disable PLT Currently, the RISC-V target uses the target specific mplt option

[gcc r15-4325] RISC-V: Add detailed comments on processing implied extensions. [NFC]

2024-10-14 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:1c507a02f29c6ca735f40f4b16b341ce9d5aa1b1 commit r15-4325-g1c507a02f29c6ca735f40f4b16b341ce9d5aa1b1 Author: Yangyu Chen Date: Mon Oct 14 18:31:06 2024 +0800 RISC-V: Add detailed comments on processing implied extensions. [NFC] In some cases, we don't need to h

[gcc r15-4319] RISC-V: Implement __init_riscv_feature_bits, __riscv_feature_bits, and __riscv_vendor_feature_bits

2024-10-14 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:ca44eb7f6a33ff3b93e7685606b4fc286ce0fe80 commit r15-4319-gca44eb7f6a33ff3b93e7685606b4fc286ce0fe80 Author: Kito Cheng Date: Mon Oct 14 16:07:16 2024 +0800 RISC-V: Implement __init_riscv_feature_bits, __riscv_feature_bits, and __riscv_vendor_feature_bits This

[gcc r15-3918] RISC-V/libgcc: Save/Restore routines for E goes with ABI.

2024-09-27 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:bb01c9d6d280d7ffbaa8f09c36ae57908a4f6883 commit r15-3918-gbb01c9d6d280d7ffbaa8f09c36ae57908a4f6883 Author: Jim Lin Date: Fri Sep 27 14:44:12 2024 +0800 RISC-V/libgcc: Save/Restore routines for E goes with ABI. That Save/Restore routines for E can be used for

[gcc r15-3242] RISC-V: Add missing mode_idx for vrol and vror

2024-08-27 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:3cde331e9590944819621bcde41ddbffd9bbf0ba commit r15-3242-g3cde331e9590944819621bcde41ddbffd9bbf0ba Author: Kito Cheng Date: Tue Aug 27 21:27:02 2024 +0800 RISC-V: Add missing mode_idx for vrol and vror We add pattern for vector rotate, but seems like we forgo

[gcc r14-10585] [PATCH] RISC-V: Fix unresolved mcpu-[67].c tests

2024-08-14 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:d9bd361d893d3b62797f2962bca1b8d56521f3c3 commit r14-10585-gd9bd361d893d3b62797f2962bca1b8d56521f3c3 Author: Craig Blackmore Date: Sat Jun 22 22:07:06 2024 -0600 [PATCH] RISC-V: Fix unresolved mcpu-[67].c tests These tests check the sched2 dump, so skip them f

[gcc r14-10584] RISC-V: Make full-vec-move1.c test robust for optimization

2024-08-14 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:8c98f0601f7f0d8051eda47370939198f4e01fc4 commit r14-10584-g8c98f0601f7f0d8051eda47370939198f4e01fc4 Author: Pan Li Date: Thu May 9 10:56:46 2024 +0800 RISC-V: Make full-vec-move1.c test robust for optimization During investigate the support of early break aut

[gcc r14-10467] RISC-V: Bugfix vec_extract v mode iterator restriction mismatch

2024-07-19 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:4db38759dcae7426ea5ce4432afe97bdd2d87ac8 commit r14-10467-g4db38759dcae7426ea5ce4432afe97bdd2d87ac8 Author: Pan Li Date: Fri Jun 14 14:54:22 2024 +0800 RISC-V: Bugfix vec_extract v mode iterator restriction mismatch We have vec_extract pattern which takes ZVF

[gcc r14-10473] RISC-V: Split vwadd.wx and vwsub.wx and add helpers.

2024-07-19 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:0abce4116a5ac58fdf1b8839b7db8ce04dd8a55a commit r14-10473-g0abce4116a5ac58fdf1b8839b7db8ce04dd8a55a Author: Robin Dapp Date: Thu May 16 12:43:43 2024 +0200 RISC-V: Split vwadd.wx and vwsub.wx and add helpers. vwadd.wx and vwsub.wx have the same problem vfwadd

[gcc r14-10472] RISC-V: Do not allow v0 as dest when merging [PR115068].

2024-07-19 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:937713a5235bf9a9b8960635315882e8cee2706e commit r14-10472-g937713a5235bf9a9b8960635315882e8cee2706e Author: Robin Dapp Date: Mon May 13 13:49:57 2024 +0200 RISC-V: Do not allow v0 as dest when merging [PR115068]. This patch splits the vfw...wf pattern so we d

[gcc r14-10470] RISC-V: Fix parsing of Zic* extensions

2024-07-19 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:92003fad999edfeb98edfd6e3e5bbe1254389127 commit r14-10470-g92003fad999edfeb98edfd6e3e5bbe1254389127 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* e

[gcc r14-10468] RISC-V: Fix missing boolean_expression in zmmul extension

2024-07-19 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:c38dbfc1ce7e827c4386c4b2595a5327a92b89d2 commit r14-10468-gc38dbfc1ce7e827c4386c4b2595a5327a92b89d2 Author: Liao Shihua Date: Fri May 24 13:03:57 2024 +0800 RISC-V: Fix missing boolean_expression in zmmul extension Update v1->v2 Add testcase for this

[gcc r14-10466] RISC-V: Bugfix vec_extract vls mode iterator restriction mismatch

2024-07-19 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:87346ed74cc069d133918e28761fa8ef3c8ec874 commit r14-10466-g87346ed74cc069d133918e28761fa8ef3c8ec874 Author: Pan Li Date: Thu Jun 13 15:26:59 2024 +0800 RISC-V: Bugfix vec_extract vls mode iterator restriction mismatch We have vec_extract pattern which takes Z

[gcc r14-10471] RISC-V: Add -X to link spec

2024-07-18 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:3a7e796b48b9d8e37ec142abd9c20b1847535f7e commit r14-10471-g3a7e796b48b9d8e37ec142abd9c20b1847535f7e Author: Fangrui Song Date: Fri Apr 26 18:14:33 2024 -0700 RISC-V: Add -X to link spec --discard-locals (-X) instructs the linker to remove local .L* symbols,

[gcc r14-10469] RISC-V: Bugfix ICE for RVV intrinisc vfw on _Float16 scalar

2024-07-18 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:68ef0c321a7df5899e1fbc3e20e75cce4233d6f7 commit r14-10469-g68ef0c321a7df5899e1fbc3e20e75cce4233d6f7 Author: Pan Li Date: Sat May 11 15:25:28 2024 +0800 RISC-V: Bugfix ICE for RVV intrinisc vfw on _Float16 scalar For the vfw vx format RVV intrinsic, the scalar

[gcc r14-10465] [PATCH] RISC-V: Fix unrecognizable pattern in riscv_expand_conditional_move()

2024-07-18 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:c32995c4453fa4e04d27fda1597e31e6664f5eb4 commit r14-10465-gc32995c4453fa4e04d27fda1597e31e6664f5eb4 Author: Artemiy Volkov Date: Sun Jun 23 14:54:00 2024 -0600 [PATCH] RISC-V: Fix unrecognizable pattern in riscv_expand_conditional_move() Presently, the code

[gcc r14-10464] RISC-V: Use tu policy for first-element vec_set [PR115725].

2024-07-18 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:2d7dda84730e0e364b3b1776d387c9ceb85385ea commit r14-10464-g2d7dda84730e0e364b3b1776d387c9ceb85385ea Author: Robin Dapp Date: Mon Jul 1 13:37:17 2024 +0200 RISC-V: Use tu policy for first-element vec_set [PR115725]. This patch changes the tail policy for vmv.s

[gcc r14-10463] [RISC-V] add implied extension repeatly until stable

2024-07-18 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:b218c425328cd54994f717aaaca757b852df6aa9 commit r14-10463-gb218c425328cd54994f717aaaca757b852df6aa9 Author: Fei Gao Date: Fri Jul 5 09:56:30 2024 + [RISC-V] add implied extension repeatly until stable Call handle_implied_ext repeatly until there's no

[gcc r15-1992] RISC-V: Add SiFive extensions, xsfvcp and xsfcease

2024-07-12 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:3ea47ea1fcab95fd1b80acc724fdbb27fc436985 commit r15-1992-g3ea47ea1fcab95fd1b80acc724fdbb27fc436985 Author: Kito Cheng Date: Tue Jul 9 15:50:57 2024 +0800 RISC-V: Add SiFive extensions, xsfvcp and xsfcease We have already upstreamed these extensions into binut

[gcc r15-845] RISC-V: Fix missing boolean_expression in zmmul extension

2024-05-26 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:06bb125521dec5648b725ddee4345b00decfdc77 commit r15-845-g06bb125521dec5648b725ddee4345b00decfdc77 Author: Liao Shihua Date: Fri May 24 13:03:57 2024 +0800 RISC-V: Fix missing boolean_expression in zmmul extension Update v1->v2 Add testcase for this pa

[gcc r15-356] RISC-V: Fix typos in code or comment [NFC]

2024-05-09 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:d83070aebdb810e38f12d008e7a10acf1063f456 commit r15-356-gd83070aebdb810e38f12d008e7a10acf1063f456 Author: Kito Cheng Date: Tue May 7 10:18:58 2024 +0800 RISC-V: Fix typos in code or comment [NFC] Just found some typo when fixing bugs and then use aspell to fi

[gcc r13-8701] RISC-V: Fix vsetvli local eliminate [PR114747]

2024-05-06 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:c4c0b0be87b4e08dab0e5e62c6f38a610a7423e7 commit r13-8701-gc4c0b0be87b4e08dab0e5e62c6f38a610a7423e7 Author: Kito Cheng Date: Mon May 6 23:45:22 2024 +0800 RISC-V: Fix vsetvli local eliminate [PR114747] vsetvli local eliminate is only consider the current deman

[gcc r13-8663] [PATCH v3] RISC-V: Add split pattern to generate SFB instructions. [PR113095]

2024-04-30 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:6335baaf31c0f1f0952d1a3f507b0e5655b1136f commit r13-8663-g6335baaf31c0f1f0952d1a3f507b0e5655b1136f Author: Monk Chiang Date: Wed Jan 24 10:19:28 2024 -0700 [PATCH v3] RISC-V: Add split pattern to generate SFB instructions. [PR113095] Since the match.pd trans

[gcc r13-8659] RISC-V: Fix vsetvl pass ICE

2024-04-29 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:129b64b0c2766d66d97be68a36f7d72685a9d29e commit r13-8659-g129b64b0c2766d66d97be68a36f7d72685a9d29e Author: Lehua Ding Date: Wed Aug 30 17:48:00 2023 +0800 RISC-V: Fix vsetvl pass ICE This patch fix pr111234 (a vsetvl pass ICE) when fuse a mask any vlmax v

[gcc r13-8644] RISC-V: Fix recursive vsetvli checking [PR114172]

2024-04-24 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:67e50daa5bd05f16d98c2dc651af2d6fa8335186 commit r13-8644-g67e50daa5bd05f16d98c2dc651af2d6fa8335186 Author: Kito Cheng Date: Wed Apr 24 16:54:44 2024 +0800 RISC-V: Fix recursive vsetvli checking [PR114172] extract_single_source will recursive checking the sour

[gcc r11-11317] RISC-V: Fix __atomic_compare_exchange with 32 bit value on RV64

2024-04-12 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:cb68221c59e8f98e107bb5842d319bee3a66b8dc commit r11-11317-gcb68221c59e8f98e107bb5842d319bee3a66b8dc Author: Kito Cheng Date: Wed Feb 28 16:01:52 2024 +0800 RISC-V: Fix __atomic_compare_exchange with 32 bit value on RV64 atomic_compare_and_swapsi will use lr.w

[gcc r12-10319] RISC-V: Fix __atomic_compare_exchange with 32 bit value on RV64

2024-04-10 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:d37be5c0413783c5459c5664b6ffb9f47acfca4e commit r12-10319-gd37be5c0413783c5459c5664b6ffb9f47acfca4e Author: Kito Cheng Date: Wed Feb 28 16:01:52 2024 +0800 RISC-V: Fix __atomic_compare_exchange with 32 bit value on RV64 atomic_compare_and_swapsi will use lr.w

[gcc r13-8598] RISC-V: Fix __atomic_compare_exchange with 32 bit value on RV64

2024-04-10 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:fb6ec6df54317ed3f6e6f878b6ea29dbef6bfe2d commit r13-8598-gfb6ec6df54317ed3f6e6f878b6ea29dbef6bfe2d Author: Kito Cheng Date: Wed Feb 28 16:01:52 2024 +0800 RISC-V: Fix __atomic_compare_exchange with 32 bit value on RV64 atomic_compare_and_swapsi will use lr.w

[gcc r14-9835] RISC-V: Implement TLS Descriptors.

2024-04-08 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:97069657c4e40b209c7b774e12faaca13812a86c commit r14-9835-g97069657c4e40b209c7b774e12faaca13812a86c Author: Tatsuyuki Ishi Date: Fri Mar 29 14:52:39 2024 +0900 RISC-V: Implement TLS Descriptors. This implements TLS Descriptors (TLSDESC) as specified in [1].

[gcc r14-9700] RISC-V: Add vxsat as a register

2024-03-27 Thread Kito Cheng via Gcc-cvs
https://gcc.gnu.org/g:f6d7ff4796709c0639317bfd8fa58a2957a1e299 commit r14-9700-gf6d7ff4796709c0639317bfd8fa58a2957a1e299 Author: Palmer Dabbelt Date: Wed Mar 27 12:54:04 2024 -0700 RISC-V: Add vxsat as a register We aren't doing anything with vxsat right now, but I'd like to add i