This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [ARM] Use UBFX for some and-immediate operations
- From: Richard Henderson <rth at redhat dot com>
- To: Richard Earnshaw <rearnsha at arm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 03 Aug 2012 11:10:14 -0700
- Subject: Re: [ARM] Use UBFX for some and-immediate operations
- References: <501AA9D8.3080506@arm.com>
On 2012-08-02 09:24, Richard Earnshaw wrote:
> + /* Extz only supports SImode, but we can coerce the operands
> + into that mode. */
> + emit_constant_insn (cond,
> + gen_extzv_t2 (gen_lowpart (mode, target),
> + gen_lowpart (mode, source),
> + GEN_INT (i), const0_rtx));
Didn't you mean gen_lowpart (SImode, ...) ?
r~