Comments

On Mon, 2010-09-20 at 16:35 +0100, Richard Earnshaw wrote:
> PR 45726 is a wrong code bug on ARM where we accidentally emit an> instruction to perform a bitfield-insert-immediate on machines with no> support for MOVT. The patch is pretty trivial, we just disable the> pattern on machines without MOVT.> > Committed to 4.5 branch and trunk.> > R.> > 2010-09-20 Rafael Carre <rafael.carre@gmail.com>> > PR target/45726> * arm.md (arm_movtas_ze): Only enable on machine with MOVT.
I missed a second part to this patch. There's another instruction
pattern that is incorrectly enabled for all 32-bit compiles: arm_movt.
I think in this case the compiler will never end up generating this
pattern spontaneously, so for the moment I've only committed this to
trunk.
2010-09-20 Rafael Carre <rafael.carre@gmail.com>
PR target/45726
* arm.md (arm_movt): Only enable on machines with MOVT.