This is an archive of the discontinued LLVM Phabricator instance.

[Sparc][LEON] Optimisation for FDIV / FSQRT leon erratum fix
ClosedPublic

Authored by lero_chris on Sep 16 2016, 4:34 AM.

Details

Summary

The code offers an optimisation for FDIVD / FSQRTD errata fixes. The number of NOPs inserted to fix this erratum is reduced when the registers being used by the FDIVD or FSQRTD instructions are not used immediately before or after the instruction.

Diff Detail

Event Timeline

lero_chris updated this revision to Diff 71615.Sep 16 2016, 4:34 AM
lero_chris retitled this revision from to [Sparc][LEON] Optimisation for FDIV / FSQRT leon erratum fix.
lero_chris updated this object.
lero_chris set the repository for this revision to rL LLVM.

If nobody has any comments, I'll check this in tomorrow: 29th Sept, as this has now been on review for two weeks.

dcederman edited edge metadata.Sep 28 2016, 8:03 AM
dcederman added a subscriber: llvm-commits.

Do you have any unit tests for these optimizations?

lero_chris updated this revision to Diff 74892.Oct 17 2016, 1:24 PM
lero_chris edited edge metadata.
lero_chris removed rL LLVM as the repository for this revision.

Added unit tests which should have been included in the original review.

lero_chris accepted this revision.Nov 1 2016, 7:02 AM
lero_chris added a reviewer: lero_chris.
This revision is now accepted and ready to land.Nov 1 2016, 7:02 AM
lero_chris closed this revision.Nov 1 2016, 7:02 AM