Re: [PATCH v1] RISC-V: Refine run test cases of math autovec

2023-10-13 Thread 钟居哲
OK juzhe.zh...@rivai.ai From: pan2.li Date: 2023-10-13 19:35 To: gcc-patches CC: juzhe.zhong; pan2.li; yanzhang.wang; kito.cheng Subject: [PATCH v1] RISC-V: Refine run test cases of math autovec From: Pan Li For the run test cases of math autovec, we need a reference value to check if the

[PATCH v1] RISC-V: Refine run test cases of math autovec

2023-10-13 Thread pan2 . li
From: Pan Li For the run test cases of math autovec, we need a reference value to check if the return value is expected or not. The previous patch leverage hardcode for the reference value but we can leverage the scalar math function instead. For example ceil after autovec. ASSERT (CEIL (Vector