This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, ARM] Generate conditional compares in Thumb2 state
- From: Ramana Radhakrishnan <ramana dot radhakrishnan at linaro dot org>
- To: Paolo Bonzini <bonzini at gnu dot org>
- Cc: Jiangning Liu <jiangning dot liu at arm dot com>, gcc-patches at gcc dot gnu dot org
- Date: Fri, 5 Aug 2011 11:23:18 +0100
- Subject: Re: [PATCH, ARM] Generate conditional compares in Thumb2 state
- References: <4e38fd50.0a22440a.54a7.ffffb1aaSMTPIN_ADDED@mx.google.com> <CACUk7=WqPch-uQwUbchwtQqAfnXbSozF75m80h7bSFCgVOtg8A@mail.gmail.com> <4E3BB2C8.9030406@gnu.org>
> Conversion from it/op/it/op to itt/op/op (and likewise for it/op/ie/op)
> seems to be a good fit for a machine-dependent reorg pass.
It does happen in cases where you have proper cond-exec patterns. It's
final pre-scan that manages this though there is probably a win in
doing this before constant pool placements in md_reorg. If we could
represent this in rtl as cond-exec I think that will just pick this
up.
Ramana
>
> Paolo
>