Re: [PATCH 2/2] Add a general mapping from internal fns to target insns

2022-06-12 Thread Jeff Law via Gcc-patches
On 6/10/2022 3:14 AM, Richard Sandiford via Gcc-patches wrote: Several existing internal functions map directly to an instruction defined in target-insns.def. This patch makes it easier to define more such functions in future. This should help to reduce cut-&-paste, but more importantly, it

Re: [PATCH 2/2] Add a general mapping from internal fns to target insns

2022-06-10 Thread David Malcolm via Gcc-patches
On Fri, 2022-06-10 at 10:14 +0100, Richard Sandiford via Gcc-patches wrote: Several existing internal functions map directly to an instruction defined in target-insns.def.  This patch makes it easier to define more such functions in future. This should help to reduce cut-&-paste, but more importan

[PATCH 2/2] Add a general mapping from internal fns to target insns

2022-06-10 Thread Richard Sandiford via Gcc-patches
Several existing internal functions map directly to an instruction defined in target-insns.def. This patch makes it easier to define more such functions in future. This should help to reduce cut-&-paste, but more importantly, it allows the difference between optab functions and target-insns.def f