hhvm icon indicating copy to clipboard operation
hhvm copied to clipboard

AArch64: Try to move 32-bit stores together for pairing

Open david-arm opened this issue 1 month ago • 2 comments

We sometimes see sequences of vasm operations like this:

ldimml ..., %x storel %x, [%sp - 0x80] ldimml ..., %y storel %y, [%sp - 0x7c]

The stores are actually contiguous in memory and if they were next to each other they would be paired up into a storepairl. This patch looks for such patterns and rewrites them as

ldimml ..., %x ldimml ..., %y storepairl %x, %y, [%sp - 0x80]

david-arm avatar Nov 20 '25 16:11 david-arm

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this in D87553158. (Because this pull request was imported automatically, there will not be any future comments.)

meta-codesync[bot] avatar Nov 20 '25 16:11 meta-codesync[bot]

@david-arm has updated the pull request. You must reimport the pull request before landing.

facebook-github-bot avatar Nov 27 '25 10:11 facebook-github-bot