Re: [PATCH] RISC-V: Add autovec FP widening/narrowing.

2023-06-26 Thread Jeff Law via Gcc-patches
On 6/26/23 12:58, Robin Dapp wrote: Hi, this patch adds FP widening and narrowing autovec expanders as well as tests. Conceptually similar to integer extension/truncation, we emulate _Float16 -> double by two vfwcvts and double -> _Float16 by two vfncvts. Optimizations to create widening op

Re: [PATCH] RISC-V: Add autovec FP widening/narrowing.

2023-06-26 Thread 钟居哲
A comment here: - [(set_attr "type" "vshift") + [(set_attr "type" "vnshift") You should drop this change, otherwise LGTM. juzhe.zh...@rivai.ai From: Robin Dapp Date: 2023-06-27 02:58 To: gcc-patches; palmer; Kito Cheng; juzhe.zh...@rivai.ai; jeffreyalaw CC: rdapp.gcc Subject: [PATCH] RISC-