RE: [PATCH v2] RISC-V: Legitimise the const0_rtx for RVV indexed load/store

2023-05-05 Thread Li, Pan2 via Gcc-patches
Thank you! -Original Message- From: Kito Cheng Sent: Friday, May 5, 2023 10:52 PM To: Li, Pan2 Cc: gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; kito.ch...@sifive.com; Wang, Yanzhang Subject: Re: [PATCH v2] RISC-V: Legitimise the const0_rtx for RVV indexed load/store pushed

RE: [PATCH] RISC-V: Allow RVV VMS{Compare}(V1, V1) simplify to VMSET

2023-05-05 Thread Li, Pan2 via Gcc-patches
Ok, sounds good. Thank you! Pan -Original Message- From: Kito Cheng Sent: Friday, May 5, 2023 8:37 PM To: Li, Pan2 Cc: gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; Wang, Yanzhang Subject: Re: [PATCH] RISC-V: Allow RVV VMS{Compare}(V1, V1) simplify to VMSET I will take V1

RE: [PATCH] machine_mode type size: Extend enum size from 8-bit to 16-bit

2023-05-08 Thread Li, Pan2 via Gcc-patches
Oops. Actually I am patching a version as you mentioned like storage allocation. Thank you Richard, will try your suggestion and keep you posted. Pan -Original Message- From: Richard Biener Sent: Monday, May 8, 2023 2:30 PM To: Jeff Law Cc: Li, Pan2 ; Kito Cheng ; juzhe.zh

RE: [PATCH] machine_mode type size: Extend enum size from 8-bit to 16-bit

2023-05-08 Thread Li, Pan2 via Gcc-patches
> 12 bits. tree_base code 16 => 12 bits. Pan -Original Message- From: Richard Biener Sent: Monday, May 8, 2023 3:38 PM To: Li, Pan2 Cc: Jeff Law ; Kito Cheng ; juzhe.zh...@rivai.ai; richard.sandiford ; gcc-patches ; palmer ; jakub Subject: RE: [PATCH] machine_mode type size: E

RE: [PATCH] machine_mode type size: Extend enum size from 8-bit to 16-bit

2023-05-08 Thread Li, Pan2 via Gcc-patches
essage- From: Li, Pan2 Sent: Monday, May 8, 2023 2:42 PM To: Richard Biener ; Jeff Law Cc: Kito Cheng ; juzhe.zh...@rivai.ai; richard.sandiford ; gcc-patches ; palmer ; jakub Subject: RE: [PATCH] machine_mode type size: Extend enum size from 8-bit to 16-bit Oops. Actually I am patching a v

RE: [PATCH] machine_mode type size: Extend enum size from 8-bit to 16-bit

2023-05-10 Thread Li, Pan2 via Gcc-patches
Filed the PATCH with var-tracking only as below, please help to review. Thanks! https://gcc.gnu.org/pipermail/gcc-patches/2023-May/617973.html Pan -Original Message- From: Gcc-patches On Behalf Of Li, Pan2 via Gcc-patches Sent: Wednesday, May 10, 2023 1:09 PM To: Richard Biener

RE: [PATCH] machine_mode type size: Extend enum size from 8-bit to 16-bit

2023-05-09 Thread Li, Pan2 via Gcc-patches
% | 3967897551 +1.1% 483.xalancbmk | 165897692838 | 166818255397 +0.6%| 166819397831 +0.6% Pan -Original Message- From: Li, Pan2 Sent: Monday, May 8, 2023 4:06 PM To: Richard Biener Cc: Jeff Law ; Kito Cheng ; juzhe.zh...@rivai.ai; richard.sandiford ; gcc-patches

RE: [PATCH] machine_mode type size: Extend enum size from 8-bit to 16-bit

2023-05-09 Thread Li, Pan2 via Gcc-patches
Message- From: Li, Pan2 Sent: Tuesday, May 9, 2023 7:51 PM To: Richard Biener ; Richard Sandiford Cc: Jeff Law ; Kito Cheng ; juzhe.zh...@rivai.ai; gcc-patches ; palmer ; jakub Subject: RE: [PATCH] machine_mode type size: Extend enum size from 8-bit to 16-bit Sure thing, I will have a try

RE: [PATCH v2] Var-Tracking: Typedef pointer_mux as decl_or_value

2023-05-10 Thread Li, Pan2 via Gcc-patches
I see, will try to get rid of dv_as_opaque everywhere. Thank you all! Pan -Original Message- From: Richard Sandiford Sent: Wednesday, May 10, 2023 8:53 PM To: Jakub Jelinek Cc: Li, Pan2 ; gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; kito.ch...@sifive.com; Wang, Yanzhang ; jeffreya

RE: [PATCH] Var-Tracking: Leverage pointer_mux for decl_or_value

2023-05-10 Thread Li, Pan2 via Gcc-patches
Jelinek Sent: Wednesday, May 10, 2023 4:14 PM To: Li, Pan2 Cc: gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; kito.ch...@sifive.com; Wang, Yanzhang ; jeffreya...@gmail.com; rguent...@suse.de; richard.sandif...@arm.com Subject: Re: [PATCH] Var-Tracking: Leverage pointer_mux for decl_or_value On Wed

RE: [PATCH] RISC-V: Update RVV integer compare simplification comments

2023-05-10 Thread Li, Pan2 via Gcc-patches
Hi Jeff, Thanks a lot. If no more comments, I can commit it to trunk later, . Pan -Original Message- From: Jeff Law Sent: Tuesday, May 9, 2023 6:06 AM To: Li, Pan2 ; gcc-patches@gcc.gnu.org Cc: juzhe.zh...@rivai.ai; kito.ch...@sifive.com; Wang, Yanzhang Subject: Re: [PATCH] RISC-V

RE: [PATCH v3] Var-Tracking: Typedef pointer_mux as decl_or_value

2023-05-11 Thread Li, Pan2 via Gcc-patches
Yes, you are right. The decl_or_value take first works well, missed this detail in previous and updated the PATCH v5 for this. Thank you! Pan -Original Message- From: Richard Sandiford Sent: Thursday, May 11, 2023 12:43 PM To: Li, Pan2 Cc: gcc-patches@gcc.gnu.org; juzhe.zh

RE: [PATCH v3] Var-Tracking: Typedef pointer_mux as decl_or_value

2023-05-10 Thread Li, Pan2 via Gcc-patches
decl_or_value' {aka 'pointer_mux'}). Pan -Original Message- From: Richard Sandiford Sent: Wednesday, May 10, 2023 11:56 PM To: Li, Pan2 Cc: gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; kito.ch...@sifive.com; Wang, Yanzhang ; jeffreya...@gmail.com; ja...@redhat.com; rguent...@su

RE: [PATCH V6] VECT: Add tree_code into "creat_iv" and allow it can handle MINUS_EXPR IV.

2023-05-11 Thread Li, Pan2 via Gcc-patches
Passed the regression and bootstrap test in X86, will commit v6 as approved. Pan -Original Message- From: juzhe.zh...@rivai.ai Sent: Thursday, May 11, 2023 5:39 PM To: gcc-patches@gcc.gnu.org Cc: Li, Pan2 ; Ju-Zhe Zhong Subject: [PATCH V6] VECT: Add tree_code into "creat_iv"

RE: [PATCH v5] Var-Tracking: Typedef pointer_mux as decl_or_value

2023-05-11 Thread Li, Pan2 via Gcc-patches
Thanks Richard Sandiford. There is one interesting thing that the change from v4 to v5 (Aka, remove the case and put dv as first arg) makes some ICE, will have a try for fixing. Pan -Original Message- From: Richard Sandiford Sent: Thursday, May 11, 2023 3:17 PM To: Li, Pan2 Cc: gcc

RE: [PATCH] Machine_Mode: Extend machine_mode from 8 to 16 bits

2023-05-13 Thread Li, Pan2 via Gcc-patches
-Original Message- From: Kito Cheng Sent: Saturday, May 13, 2023 4:45 PM To: Bernhard Reutner-Fischer Cc: Richard Biener ; Richard Biener via Gcc-patches ; Li, Pan2 ; juzhe.zh...@rivai.ai; Wang, Yanzhang ; jeffreya...@gmail.com; richard.sandif...@arm.com Subject: Re: [PATCH] Machine_Mode

RE: [PATCH] RISC-V: Refactor the or pattern to switch cases

2023-05-14 Thread Li, Pan2 via Gcc-patches
Committed, thank you kito! Pan -Original Message- From: Kito Cheng Sent: Sunday, May 14, 2023 4:45 PM To: Li, Pan2 Cc: gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; kito.ch...@sifive.com; Wang, Yanzhang Subject: Re: [PATCH] RISC-V: Refactor the or pattern to switch cases OK

RE: [PATCH] RISC-V: Support RVV VREINTERPRET from v{u}int*_t to vbool1_t

2023-05-14 Thread Li, Pan2 via Gcc-patches
Thanks Juzhe. Let's wait kito's suggestion. Pan From: juzhe.zh...@rivai.ai Sent: Monday, May 15, 2023 11:20 AM To: Li, Pan2 ; gcc-patches Cc: Kito.cheng ; Li, Pan2 ; Wang, Yanzhang Subject: Re: [PATCH] RISC-V: Support RVV VREINTERPRET from v{u}int*_t to vbool1_t The implementation LGTM

RE: [PATCH V2] RISC-V: Support TARGET_VECTORIZE_PREFERRED_VECTOR_ALIGNMENT to optimize codegen of both VLA && VLS auto-vectorization.

2023-05-15 Thread Li, Pan2 via Gcc-patches
Committed, thanks kito. Pan -Original Message- From: Gcc-patches On Behalf Of Kito Cheng via Gcc-patches Sent: Monday, May 15, 2023 1:01 PM To: 钟居哲 Cc: GCC Patches ; Kito Cheng ; Palmer Dabbelt ; Palmer Dabbelt ; Jeff Law ; rdapp@gmail.co Subject: Re: [PATCH V2] RISC-V: Support

RE: [PATCH] RISC-V: Optimize vsetvl AVL for VLS VLMAX auto-vectorization

2023-05-15 Thread Li, Pan2 via Gcc-patches
Hi kito, Per off-line sync with Juzhe, I can help the rest part of this PATCH, will try the suggested approach and keep you posted. Pan -Original Message- From: Gcc-patches On Behalf Of Kito Cheng via Gcc-patches Sent: Saturday, May 13, 2023 11:14 AM To: juzhe.zh...@rivai.ai Cc:

RE: [PATCH v2] RISC-V: Optimize vsetvl AVL for VLS VLMAX auto-vectorization

2023-05-15 Thread Li, Pan2 via Gcc-patches
Committed. Thank you, Kito. Pan -Original Message- From: Kito Cheng Sent: Monday, May 15, 2023 4:35 PM To: Li, Pan2 Cc: gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; kito.ch...@sifive.com; Wang, Yanzhang Subject: Re: [PATCH v2] RISC-V: Optimize vsetvl AVL for VLS VLMAX auto

RE: [PATCH V3] RISC-V: Add rounding mode operand for fixed-point patterns

2023-05-15 Thread Li, Pan2 via Gcc-patches
Committed, thanks Jeff. Pan -Original Message- From: Gcc-patches On Behalf Of Jeff Law via Gcc-patches Sent: Monday, May 15, 2023 9:42 PM To: juzhe.zh...@rivai.ai; gcc-patches@gcc.gnu.org Cc: kito.ch...@gmail.com; kito.ch...@sifive.com; pal...@dabbelt.com; pal...@rivosinc.com;

RE: [PATCH] RISC-V: Support RVV VREINTERPRET from v{u}int*_t to vbool1_t

2023-05-15 Thread Li, Pan2 via Gcc-patches
Kindly ping for this PATCH, . Pan From: Li, Pan2 Sent: Monday, May 15, 2023 11:25 AM To: juzhe.zh...@rivai.ai; gcc-patches Cc: Kito.cheng ; Wang, Yanzhang Subject: RE: [PATCH] RISC-V: Support RVV VREINTERPRET from v{u}int*_t to vbool1_t Thanks Juzhe. Let’s wait kito’s suggestion. Pan From

RE: [PATCH v3] Machine_Mode: Extend machine_mode from 8 to 16 bits

2023-05-16 Thread Li, Pan2 via Gcc-patches
I see, thanks Richard for reminding. I am sorry I failed to locate anywhere(doc or something else) mentioned such convention about ping, will follow the below convention in future. Pan -Original Message- From: Richard Sandiford Sent: Tuesday, May 16, 2023 3:30 PM To: Li, Pan2 Cc

RE: [PATCH V2] RISC-V: Add FRM and rounding mode operand into floating point intrinsics

2023-05-15 Thread Li, Pan2 via Gcc-patches
Committed, thanks Jeff. Pan -Original Message- From: Gcc-patches On Behalf Of Jeff Law via Gcc-patches Sent: Tuesday, May 16, 2023 11:27 AM To: juzhe.zh...@rivai.ai; gcc-patches Cc: Kito.cheng ; palmer ; Robin Dapp Subject: Re: [PATCH V2] RISC-V: Add FRM and rounding mode operand

RE: [PATCH] RISC-V: Adjust stdint.h to stdint-gcc.h for rvv tests

2023-05-16 Thread Li, Pan2 via Gcc-patches
Got it, thanks, will commit to trunk after pass the rvv test. Pan -Original Message- From: Robin Dapp Sent: Tuesday, May 16, 2023 3:11 PM To: Li, Pan2 ; gcc-patches@gcc.gnu.org Cc: rdapp@gmail.com; juzhe.zh...@rivai.ai; kito.ch...@sifive.com; Wang, Yanzhang ; jeffreya...@gmail.com

RE: [PATCH v3] Machine_Mode: Extend machine_mode from 8 to 16 bits

2023-05-16 Thread Li, Pan2 via Gcc-patches
Got it. Thank you! Pan -Original Message- From: Xi Ruoyao Sent: Tuesday, May 16, 2023 4:04 PM To: Li, Pan2 ; Richard Sandiford Cc: gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; kito.ch...@sifive.com; Wang, Yanzhang ; jeffreya...@gmail.com; rguent...@suse.de Subject: Re: [PATCH v3

RE: [PATCH v3] Machine_Mode: Extend machine_mode from 8 to 16 bits

2023-05-15 Thread Li, Pan2 via Gcc-patches
Kindly ping for this PATCH v3. Pan -Original Message- From: Li, Pan2 Sent: Saturday, May 13, 2023 9:13 PM To: gcc-patches@gcc.gnu.org Cc: juzhe.zh...@rivai.ai; kito.ch...@sifive.com; Li, Pan2 ; Wang, Yanzhang ; jeffreya...@gmail.com; rguent...@suse.de; richard.sandif...@arm.com

RE: [PATCH] RISC-V: Adjust stdint.h to stdint-gcc.h for rvv tests

2023-05-16 Thread Li, Pan2 via Gcc-patches
Committed, thanks all. Pan -Original Message- From: Li, Pan2 Sent: Tuesday, May 16, 2023 3:17 PM To: Robin Dapp ; gcc-patches@gcc.gnu.org Cc: juzhe.zh...@rivai.ai; kito.ch...@sifive.com; Wang, Yanzhang ; jeffreya...@gmail.com Subject: RE: [PATCH] RISC-V: Adjust stdint.h to stdint-gcc.h

RE: [PATCH v3] Machine_Mode: Extend machine_mode from 8 to 16 bits

2023-05-16 Thread Li, Pan2 via Gcc-patches
will take a look into it and keep you posted. Pan -Original Message- From: Richard Sandiford Sent: Tuesday, May 16, 2023 5:09 PM To: Li, Pan2 Cc: gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; kito.ch...@sifive.com; Wang, Yanzhang ; jeffreya...@gmail.com; rguent...@suse.de Subject: Re

RE: [PATCH v3] Machine_Mode: Extend machine_mode from 8 to 16 bits

2023-05-16 Thread Li, Pan2 via Gcc-patches
Update the PATCH v4 (I am sorry, missed the v4 in subject) as below with x86 bootstrap test passed. https://gcc.gnu.org/pipermail/gcc-patches/2023-May/618742.html Pan -Original Message- From: Gcc-patches On Behalf Of Li, Pan2 via Gcc-patches Sent: Tuesday, May 16, 2023 8:17 PM

RE: [PATCH] OPTABS: Extend the number of expanding instructions pattern.

2023-05-15 Thread Li, Pan2 via Gcc-patches
Committed, thanks Richard. Pan -Original Message- From: Gcc-patches On Behalf Of Richard Biener via Gcc-patches Sent: Monday, May 15, 2023 8:52 PM To: Juzhe-Zhong Cc: gcc-patches@gcc.gnu.org; richard.guent...@gmail.com Subject: Re: [PATCH] OPTABS: Extend the number of expanding

RE: [PATCH] RISC-V: Support RVV VREINTERPRET from v{u}int*_t to vbool1_t

2023-05-17 Thread Li, Pan2 via Gcc-patches
Committed, thanks kito. Pan -Original Message- From: Kito Cheng Sent: Wednesday, May 17, 2023 3:00 PM To: Li, Pan2 Cc: juzhe.zh...@rivai.ai; gcc-patches ; Kito.cheng ; Wang, Yanzhang Subject: Re: [PATCH] RISC-V: Support RVV VREINTERPRET from v{u}int*_t to vbool1_t ok, and also ok

RE: Re: [PATCH] machine_mode type size: Extend enum size from 8-bit to 16-bit

2023-05-05 Thread Li, Pan2 via Gcc-patches
data structure. I think the only problem is the mode in tree data structure. juzhe.zh...@rivai.ai<mailto:juzhe.zh...@rivai.ai> From: Kito Cheng<mailto:kito.ch...@gmail.com> Date: 2023-05-06 09:53 To: Li, Pan2<mailto:pan2...@intel.com>

RE: Re: [PATCH] machine_mode type size: Extend enum size from 8-bit to 16-bit

2023-05-05 Thread Li, Pan2 via Gcc-patches
Picked all changes mentioned in previous to single patch as attachment. Please help to review if any mistake. Pan -Original Message- From: Li, Pan2 Sent: Saturday, May 6, 2023 10:20 AM To: Kito Cheng Cc: juzhe.zh...@rivai.ai; rguenther ; richard.sandiford ; jeffreyalaw ; gcc-patches

RE: Re: [PATCH] machine_mode type size: Extend enum size from 8-bit to 16-bit

2023-05-05 Thread Li, Pan2 via Gcc-patches
Yes, that makes sense, will have a try and keep you posted. Pan -Original Message- From: Kito Cheng Sent: Saturday, May 6, 2023 10:19 AM To: Li, Pan2 Cc: juzhe.zh...@rivai.ai; rguenther ; richard.sandiford ; jeffreyalaw ; gcc-patches ; palmer ; jakub Subject: Re: Re: [PATCH

RE: Re: [PATCH] machine_mode type size: Extend enum size from 8-bit to 16-bit

2023-05-05 Thread Li, Pan2 via Gcc-patches
, 2023 2:25 PM To: Li, Pan2 Cc: 钟居哲 ; kito.cheng ; richard.sandiford ; Jeff Law ; gcc-patches ; palmer ; jakub Subject: RE: Re: [PATCH] machine_mode type size: Extend enum size from 8-bit to 16-bit On Fri, 5 May 2023, Li, Pan2 wrote: > I tried the memory profiling by valgrind --tool=memch

RE: Re: [PATCH] machine_mode type size: Extend enum size from 8-bit to 16-bit

2023-05-06 Thread Li, Pan2 via Gcc-patches
its. rtx_def mode 8 => 12 bits. tree_base code 16 => 12 bits. Pan -----Original Message- From: Li, Pan2 Sent: Saturday, May 6, 2023 10:49 AM To: 'Kito Cheng' Cc: 'juzhe.zh...@rivai.ai' ; 'rguenther' ; 'richard.sandiford' ; 'jeffreyalaw' ; 'gcc-patches' ; 'palmer' ; 'jakub' Subjec

RE: [PATCH] RISC-V: Legitimise the const0_rtx for RVV indexed load/store

2023-05-05 Thread Li, Pan2 via Gcc-patches
Updated the PATCH v2 with x86 bootstrap and regression test passed. https://gcc.gnu.org/pipermail/gcc-patches/2023-May/617449.html Pan -Original Message- From: Gcc-patches On Behalf Of Li, Pan2 via Gcc-patches Sent: Thursday, May 4, 2023 4:44 PM To: juzhe.zh...@rivai.ai; gcc-patches

RE: [PATCH] machine_mode type size: Extend enum size from 8-bit to 16-bit

2023-05-07 Thread Li, Pan2 via Gcc-patches
I see. Thank you, will have a try soon. Pan -Original Message- From: Jeff Law Sent: Sunday, May 7, 2023 11:24 PM To: Li, Pan2 ; Kito Cheng Cc: juzhe.zh...@rivai.ai; rguenther ; richard.sandiford ; gcc-patches ; palmer ; jakub Subject: Re: [PATCH] machine_mode type size: Extend enum

RE: Re: [PATCH] machine_mode type size: Extend enum size from 8-bit to 16-bit

2023-05-07 Thread Li, Pan2 via Gcc-patches
-Original Message----- From: Li, Pan2 Sent: Saturday, May 6, 2023 10:20 AM To: Kito Cheng Cc: juzhe.zh...@rivai.ai; rguenther ; richard.sandiford ; jeffreyalaw ; gcc-patches ; palmer ; jakub Subject: RE: Re: [PATCH] machine_mode type size: Extend enum size from 8-bit to 16-bit Yes, that ma

RE: [PATCH v5] Var-Tracking: Typedef pointer_mux as decl_or_value

2023-05-11 Thread Li, Pan2 via Gcc-patches
Sorry for disturbing, fixed my silly mistake in PATCH v6 and passed x86 regression test. If no more concern, will commit after pass the x86 regression test. Pan -Original Message- From: Li, Pan2 Sent: Thursday, May 11, 2023 6:56 PM To: Richard Sandiford Cc: gcc-patches@gcc.gnu.org

RE: [PATCH] RISC-V: Fix fail of vmv-imm-rv64.c in rv32

2023-05-12 Thread Li, Pan2 via Gcc-patches
Committed to trunk. Pan -Original Message- From: Gcc-patches On Behalf Of Kito Cheng via Gcc-patches Sent: Friday, May 12, 2023 2:32 PM To: juzhe.zh...@rivai.ai Cc: gcc-patches@gcc.gnu.org; pal...@dabbelt.com; jeffreya...@gmail.com; rdapp@gmail.com Subject: Re: [PATCH] RISC-V: Fix

RE: [PATCH V3] RISC-V: Add basic vec_init for VLS RVV auto-vectorization

2023-05-11 Thread Li, Pan2 via Gcc-patches
Committed to trunk. Pan -Original Message- From: Gcc-patches On Behalf Of Kito Cheng via Gcc-patches Sent: Friday, May 12, 2023 11:00 AM To: 钟居哲 Cc: GCC Patches ; Palmer Dabbelt ; Jeff Law ; Robin Dapp Subject: Re: [PATCH V3] RISC-V: Add basic vec_init for VLS RVV

RE: [PATCH] Machine_Mode: Extend machine_mode from 8 to 16 bits

2023-05-12 Thread Li, Pan2 via Gcc-patches
to machmode.h. Pan -Original Message- From: Richard Sandiford Sent: Friday, May 12, 2023 7:32 PM To: Li, Pan2 via Gcc-patches Cc: Li, Pan2 ; juzhe.zh...@rivai.ai; kito.ch...@sifive.com; Wang, Yanzhang ; jeffreya...@gmail.com; rguent...@suse.de Subject: Re: [PATCH] Machine_Mode: Extend

RE: [PATCH] Machine_Mode: Extend machine_mode from 8 to 16 bits

2023-05-12 Thread Li, Pan2 via Gcc-patches
soon. Pan -Original Message- From: Richard Sandiford Sent: Friday, May 12, 2023 4:24 PM To: Li, Pan2 Cc: gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; kito.ch...@sifive.com; Wang, Yanzhang ; jeffreya...@gmail.com; rguent...@suse.de Subject: Re: [PATCH] Machine_Mode: Extend

RE: Re: [PATCH] machine_mode type size: Extend enum size from 8-bit to 16-bit

2023-05-04 Thread Li, Pan2 via Gcc-patches
I tried the memory profiling by valgrind --tool=memcheck --trace-children=yes for this change, target the SPEC 2006 INT part with rv64gcv. Note we only count the bytes allocated from valgrind log like this "==2832896== total heap usage: 208 allocs, 165 frees, 123,204 bytes allocated".

RE: [PATCH] RISC-V: Allow RVV VMS{Compare}(V1, V1) simplify to VMSET

2023-05-03 Thread Li, Pan2 via Gcc-patches
Thanks all for comments, will work with kito to make it happen. Pan -Original Message- From: Jeff Law Sent: Wednesday, May 3, 2023 12:28 AM To: Kito Cheng Cc: Li, Pan2 ; gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; Wang, Yanzhang ; Andrew Waterman Subject: Re: [PATCH] RISC-V

RE: [PATCH] Machine_Mode: Extend machine_mode from 8 to 16 bits

2023-05-18 Thread Li, Pan2 via Gcc-patches
Committed with that change, thanks Richard Sandiford. Pan -Original Message- From: Richard Sandiford Sent: Thursday, May 18, 2023 4:57 PM To: Li, Pan2 Cc: gcc-patches@gcc.gnu.org; juzhe.zh...@rivai.ai; kito.ch...@sifive.com; Wang, Yanzhang ; jeffreya...@gmail.com; rguent...@suse.de

RE: [PATCH V11] VECT: Add decrement IV support in Loop Vectorizer

2023-05-18 Thread Li, Pan2 via Gcc-patches
Synced with today(5/18/2023)'s upstream, passed the bootstrap and regression test in X86. Pan -Original Message- From: Gcc-patches On Behalf Of juzhe.zh...@rivai.ai Sent: Tuesday, May 16, 2023 6:23 PM To: gcc-patches@gcc.gnu.org Cc: richard.sandif...@arm.com; rguent...@suse.de; Ju-Zhe

RE: [PATCH] RISC-V: Support RVV VREINTERPRET from vbool*_t to vint*m1_t

2023-05-18 Thread Li, Pan2 via Gcc-patches
Sorry for disturbing, update the V2 for resolving some typo and/or wording in commit log. https://gcc.gnu.org/pipermail/gcc-patches/2023-May/618882.html Pan -Original Message- From: Li, Pan2 Sent: Thursday, May 18, 2023 11:17 AM To: gcc-patches@gcc.gnu.org Cc: juzhe.zh...@rivai.ai

RE: [PATCH] machine_mode type size: Extend enum size from 8-bit to 16-bit

2023-05-09 Thread Li, Pan2 via Gcc-patches
Sure thing, I will have a try and keep you posted. Pan -Original Message- From: Richard Biener Sent: Tuesday, May 9, 2023 6:26 PM To: Richard Sandiford Cc: Li, Pan2 ; Jeff Law ; Kito Cheng ; juzhe.zh...@rivai.ai; gcc-patches ; palmer ; jakub Subject: Re: [PATCH] machine_mode type

RE: [PATCH] RISC-V: Add mode switching target hook to insert rounding mode config for fixed-point instructions

2023-05-19 Thread Li, Pan2 via Gcc-patches
\ make -j $(nproc) all-gcc && make install-gcc Pan -Original Message- From: Gcc-patches On Behalf Of Li, Pan2 via Gcc-patches Sent: Friday, May 19, 2023 8:29 PM To: Andreas Schwab ; juzhe.zh...@rivai.ai Cc: gcc-patches@gcc.gnu.org; kito.ch...@gmail.com; kito.ch...@sifive.c

RE: [PATCH] RISC-V: Add mode switching target hook to insert rounding mode config for fixed-point instructions

2023-05-19 Thread Li, Pan2 via Gcc-patches
Hi Andreas, Could you please help to share more information about how to trigger this error? As you don't mentioned, I assume below error comes from X86 build. I take below configuration but failed to reproduce. mkdir __BUILD_X86 && cd __BUILD_X86 ../configure --enable-language=c,c++

RE: [PATCH] Mode-Switching: Fix local array maybe uninitialized warning

2023-05-20 Thread Li, Pan2 via Gcc-patches
Committed, thanks Jeff. Pan -Original Message- From: Jeff Law Sent: Saturday, May 20, 2023 12:24 PM To: Li, Pan2 ; gcc-patches@gcc.gnu.org Cc: juzhe.zh...@rivai.ai; kito.ch...@sifive.com; Wang, Yanzhang Subject: Re: [PATCH] Mode-Switching: Fix local array maybe uninitialized warning

RE: [PATCH] RISC-V: Introduce rounding mode operand into fixed-point intrinsics

2023-05-17 Thread Li, Pan2 via Gcc-patches
Committed, thanks kito. Pan -Original Message- From: Gcc-patches On Behalf Of Kito Cheng via Gcc-patches Sent: Wednesday, May 17, 2023 11:05 PM To: 钟居哲 Cc: Jeff Law ; gcc-patches ; kito.cheng ; palmer ; palmer ; rdapp.gcc Subject: Re: [PATCH] RISC-V: Introduce rounding mode operand

RE: [PATCH] RISC-V: Add rounding mode enum for fixed-point intrinsics

2023-05-17 Thread Li, Pan2 via Gcc-patches
Committed as the below doc PR updated, thanks kito. https://github.com/riscv-non-isa/rvv-intrinsic-doc/pull/222 Pan -Original Message- From: Gcc-patches On Behalf Of Kito Cheng via Gcc-patches Sent: Wednesday, May 17, 2023 11:01 AM To: juzhe.zh...@rivai.ai Cc: gcc-patches@gcc.gnu.org;

RE: [PATCH] RISC-V: Add mode switching target hook to insert rounding mode config for fixed-point instructions

2023-05-17 Thread Li, Pan2 via Gcc-patches
Committed, thanks kito. Pan -Original Message- From: Gcc-patches On Behalf Of Kito Cheng via Gcc-patches Sent: Wednesday, May 17, 2023 6:06 PM To: juzhe.zh...@rivai.ai Cc: gcc-patches@gcc.gnu.org; kito.ch...@gmail.com; pal...@dabbelt.com; pal...@rivosinc.com; jeffreya...@gmail.com;

RE: [PATCH v1] RISC-V: Support RVV VFREC7 rounding mode intrinsic API

2023-08-14 Thread Li, Pan2 via Gcc-patches
Thanks Kito for comments, updated in PATCH v2. https://gcc.gnu.org/pipermail/gcc-patches/2023-August/627367.html Pan -Original Message- From: Kito Cheng Sent: Monday, August 14, 2023 10:07 PM To: 钟居哲 Cc: Li, Pan2 ; gcc-patches ; Wang, Yanzhang Subject: Re: [PATCH v1] RISC-V

<    4   5   6   7   8   9