Re: Re: [PATCH] RISC-V: Bugfix for resolve_overloaded_builtin[PR113420]

2024-01-19 Thread juzhe.zh...@rivai.ai
ai.ai Date: 2024-01-19 15:53 To: Li Xu; gcc-patches CC: kito.cheng; palmer; zhengyu; pan2.li; Li Xu Subject: Re: [PATCH] RISC-V: Bugfix for resolve_overloaded_builtin[PR113420] Could you add a test for vle with mask? For example: __riscv_vle8 which overload __riscv_vle8_v_i8mf8_m and __riscv_vle8

Re: Re: [PATCH] RISC-V: Bugfix for resolve_overloaded_builtin[PR113420]

2024-01-19 Thread Li Xu
CC: kito.cheng; palmer; zhengyu; pan2.li; Li Xu Subject: Re: [PATCH] RISC-V: Bugfix for resolve_overloaded_builtin[PR113420] Could you add a test for vle with mask? For example: __riscv_vle8 which overload __riscv_vle8_v_i8mf8_m and __riscv_vle8_v_u8mf8_m You are using pointer type and mask type

Re: [PATCH] RISC-V: Bugfix for resolve_overloaded_builtin[PR113420]

2024-01-18 Thread juzhe.zh...@rivai.ai
15:44 To: gcc-patches CC: kito.cheng; palmer; juzhe.zhong; zhengyu; pan2.li; xuli Subject: [PATCH] RISC-V: Bugfix for resolve_overloaded_builtin[PR113420] From: xuli Change the hash value of overloaded intrinsic from considering all parameter types to: 1. Encoding vector data type 2. In or

[PATCH] RISC-V: Bugfix for resolve_overloaded_builtin[PR113420]

2024-01-18 Thread Li Xu
From: xuli Change the hash value of overloaded intrinsic from considering all parameter types to: 1. Encoding vector data type 2. In order to distinguish vle8_v_i8mf8_m(vbool64_t vm, const int8_t *rs1, size_t vl) and vle8_v_u8mf8_m(vbool64_t vm, const uint8_t *rs1, size_t vl), encode the