[PATCH] ARM: Use LDRD and STRD for 64-bit spills

Tim Northover t.p.northover at gmail.com
Sun Apr 21 03:25:02 PDT 2013


Hi,

At the suggestion of Jakob, I've converted the spill/restore code to
use LDRD and STRD instructions instead of LDM/STM for 64-bit paired
registers. They're often faster and can contain a small offset too,
but are only present on newer architecture revisions.

I *think* I've got all of the details right and put things in the
correct places, but would welcome a quick check from someone else.

Ok to commit?

Cheers.

Tim.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ldrd-strd-for-64bit-spills.diff
Type: application/octet-stream
Size: 14386 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130421/cc38cc68/attachment.obj>


More information about the llvm-commits mailing list