This is the mail archive of the
mailing list for the GCC project.
Re: Fix Thumb-2 casesi bug
On Thursday 20 November 2008, Joseph S. Myers wrote:
> thumb2_output_casesi generates instruction sequences that write to
> scratch operand 4 before the inputs have been read, and so the
> associated insn patterns need an earlyclobber to prevent this
> overwriting the inputs. This patch adds that earlyclobber. Tested
> with no regressions with cross to arm-none-linux-gnueabi (configured
> for Thumb-2); OK to commit?
> * config/arm/thumb2.md (thumb2_casesi_internal,
> thumb2_casesi_internal_pic): Use earlyclobber for scratch operand