This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: define_peepholes in mn10300
- From: Richard Henderson <rth at redhat dot com>
- To: Steven Bosscher <stevenb dot gcc at gmail dot com>
- Cc: Jeff Law <law at redhat dot com>, GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: Mon, 09 Aug 2010 13:57:07 -0700
- Subject: Re: define_peepholes in mn10300
- References: <AANLkTim4PLMVF6Mc69qFQeSS0gdhm32zAz8e=bNoH3Ox@mail.gmail.com>
On 08/09/2010 06:28 AM, Steven Bosscher wrote:
> I would like to convert these remaining define_peepholes to
> define_peephole2s instead. However, I can't find a define_insn that
> produces the bcs or bcc instructions. Could use a little help figuring
> out what insn I should generate in the peephole2.
A normal branch with GEU produces bcc; LTU produces bcs.
See %[Bb] in print_operand.
r~