; Wang, Yanzhang
Subject: RE: [PATCH v1] RISC-V: Refactor ZVFHMIN to separated iterator and
pattern
Update the PATCH V2 as below.
https://gcc.gnu.org/pipermail/gcc-patches/2023-June/620787.html
Pan
From: Li, Pan2
Sent: Tuesday, June 6, 2023 10:34 PM
To: 钟居哲 ; gcc-patches
Cc: kito.cheng ; Wang
Update the PATCH V2 as below.
https://gcc.gnu.org/pipermail/gcc-patches/2023-June/620787.html
Pan
From: Li, Pan2
Sent: Tuesday, June 6, 2023 10:34 PM
To: 钟居哲 ; gcc-patches
Cc: kito.cheng ; Wang, Yanzhang
Subject: RE: [PATCH v1] RISC-V: Refactor ZVFHMIN to separated iterator and
pattern
IMO
; Wang,
Yanzhang
Subject: Re: [PATCH v1] RISC-V: Refactor ZVFHMIN to separated iterator and
pattern
+(define_mode_iterator V_ZVFHMIN_SF [
+ (VNx1SF "TARGET_VECTOR_ELEN_FP_32 && (TARGET_ZVFH || TARGET_ZVFHMIN) &&
TARGET_MIN_VLEN < 128")
+ (VNx2SF "TARGET
"TARGET_VECTOR_ELEN_FP_32 && (TARGET_ZVFH || TARGET_ZVFHMIN) &&
TARGET_MIN_VLEN >= 128")
+])
why not just use "TARGET_VECTOR_ELEN_FP_16"
instead of TARGET_ZVFH || TARGET_ZVFHMIN ?
juzhe.zh...@rivai.ai
From: pan2.li
Date: 2023-06-06 20:36
To: gcc-patches
CC: juzhe.zh
From: Pan Li
This patch would like to refactor the ZVFHMIN implementation by
separated iterator and pattern. Thus, we can tell the sub extension
between the ZVFHMIN and ZVFH.
Please note the ZVFH will cover the ZVFHMIN instructions. This patch
add one test for this.
Signed-off-by: Pan Li
gcc/