Re: Re: [PATCH V4] RISC-V: Implement RESOLVE_OVERLOADED_BUILTIN for RVV intrinsic

2023-10-30 Thread Li Xu
INTEGER_TYPE) > > > >>+ return true; > > > >>+    } > > > >>+  return false; > > > >>+} > > > >>Is is possible to use instance.base.has_rounding_mode_operand_

Re: Re: [PATCH V4] RISC-V: Implement RESOLVE_OVERLOADED_BUILTIN for RVV intrinsic

2023-10-30 Thread Li Xu
gt;+  return ((0 == strcmp (value->overload_name, key->overload_name)) >>>strcmp (value->overload_name, key->overload_name) == 0 > > > > >juzhe.zh...@rivai.ai > >From: Li Xu >Date: 2023-10-30 17:34 >To: gcc-patches

[PATCH V4] RISC-V: Implement RESOLVE_OVERLOADED_BUILTIN for RVV intrinsic

2023-10-30 Thread Li Xu
From: xuli Update in v4: * Remove class function_resolver. * Remove function get_non_overloaded_instance. * Add overloaded hash traits for non-overloaded intrinsic. * All overloaded intrinsics are implemented, and the tests pass. Update in v3: * Rewrite comment for overloaded function add. * Mo