[GCC, ARM] Backport trunk fix to 4.8 branch to properly handle rtx of ARM PLD instruction
Wed Jan 15 16:00:00 GMT 2014
> -----Original Message-----
> From: Richard Earnshaw
> Sent: Wednesday, January 15, 2014 10:30 PM
> To: Terry Guo
> Cc: email@example.com
> Subject: Re: [GCC, ARM] Backport trunk fix to 4.8 branch to properly
> rtx of ARM PLD instruction
> On 15/01/14 12:37, Terry Guo wrote:
> >> -----Original Message-----
> >> From: Terry Guo [mailto:firstname.lastname@example.org]
> >> Sent: Wednesday, January 15, 2014 8:21 PM
> >> To: Richard Earnshaw
> >> Cc: email@example.com
> >> Subject: RE: [GCC, ARM] Backport trunk fix to 4.8 branch to properly
> > handle
> >> rtx of ARM PLD instruction
> >>> Preferably, particularly since you haven't supplied a testcase.
> >>> R.
> >> Bug is reported at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59826.
> >> I
> > shall
> >> update the patch to include the test case.
> >> BR,
> >> Terry
> > Here is updated patch along with test case. Is it OK?
> I'm rather concerned about the complexity of this patch as a backport.
> Furthermore, part of the problem is that the preload insn is misclassified
> an alu_reg operation, which it clearly isn't.
> Instead of doing this, please could you try a simpler patch that simply
> reclassifies the "type" of preload as "load1". This would break the
> alu->load/store dependency and thereby avoid the trigger of the problem
Thanks Richard and you are right. What you said should be the root cause for
this issue. I will implement another patch for trunk to correctly classify
the preload instruction into load1, and then back port to 4.8 branch.
Therefore please consider my request in this thread discarded.
More information about the Gcc-patches