Re: Re: [PATCH] RISC-V: Add autovec FP unary operations.

2023-06-14 Thread 钟居哲
ZVFH. Then it also works now. -march=zvfhmin no auto-vectorization , -march=zvfh has auto-vectorization. Feel free to comments more solutions. Thanks. juzhe.zh...@rivai.ai From: 钟居哲 Date: 2023-06-15 05:15 To: Jeff Law; rdapp.gcc; gcc-patches; palmer; kito.cheng Subject: Re: Re: [PATCH]

Re: Re: [PATCH] RISC-V: Add autovec FP unary operations.

2023-06-14 Thread 钟居哲
Hi, Jeff. Thanks for quick approval. When I reviewed the patch: (define_expand "2" [(set (match_operand:VF 0 "register_operand") (any_float_unop_nofrm:VF (match_operand:VF 1 "register_operand")))] "TARGET_VECTOR" { insn_code icode = code_for_pred (, mode); riscv_vector::emit_vlma