Re: [gen/AArch64] Generate helpers for substituting iterator values into pattern names

2018-08-02 Thread Richard Sandiford
"Richard Earnshaw (lists)" writes: > On 13/07/18 10:15, Richard Sandiford wrote: >> Given a pattern like: >> >> (define_insn "aarch64_frecpe" ...) >> >> the SVE ACLE implementation wants to generate the pattern for a >> particular (non-constant) mode. This patch automatically generates >>

Re: [gen/AArch64] Generate helpers for substituting iterator values into pattern names

2018-08-02 Thread Richard Earnshaw (lists)
On 13/07/18 10:15, Richard Sandiford wrote: > Given a pattern like: > > (define_insn "aarch64_frecpe" ...) > > the SVE ACLE implementation wants to generate the pattern for a > particular (non-constant) mode. This patch automatically generates > helpers to do that, specifically: > > //

Re: [gen/AArch64] Generate helpers for substituting iterator values into pattern names

2018-07-31 Thread James Greenhalgh
On Fri, Jul 13, 2018 at 04:15:41AM -0500, Richard Sandiford wrote: > Given a pattern like: > > (define_insn "aarch64_frecpe" ...) > > the SVE ACLE implementation wants to generate the pattern for a > particular (non-constant) mode. This patch automatically generates > helpers to do that,

[gen/AArch64] Generate helpers for substituting iterator values into pattern names

2018-07-13 Thread Richard Sandiford
Given a pattern like: (define_insn "aarch64_frecpe" ...) the SVE ACLE implementation wants to generate the pattern for a particular (non-constant) mode. This patch automatically generates helpers to do that, specifically: // Return CODE_FOR_nothing on failure. insn_code