This is an archive of the discontinued LLVM Phabricator instance.

[ARMv8-M] [6/9] Add ARMv8-A semaphore/atomic instructions to ARMv8-M Baseline/Mainline
ClosedPublic

Authored by bsmith on Dec 7 2015, 3:14 AM.

Details

Summary

This patch forms part of the ARMv8-M Baseline/Mainline support, allowing the use of ARMv8-A semaphore and atomic instructions in ARMv8-M Baseline/Mainline.

Diff Detail

Repository
rL LLVM

Event Timeline

bsmith updated this revision to Diff 42045.Dec 7 2015, 3:14 AM
bsmith retitled this revision from to [ARMv8-M] [6/9] Add ARMv8-A semaphore/atomic instructions to ARMv8-M Baseline/Mainline.
bsmith updated this object.
bsmith added a reviewer: t.p.northover.
bsmith set the repository for this revision to rL LLVM.
bsmith added a subscriber: llvm-commits.
jmolloy accepted this revision.Dec 7 2015, 9:30 AM
jmolloy added a reviewer: jmolloy.
jmolloy added a subscriber: jmolloy.

Hi Bradley,

This one LGTM.

James

This revision is now accepted and ready to land.Dec 7 2015, 9:30 AM
bsmith updated this revision to Diff 43880.Jan 4 2016, 6:19 AM
bsmith edited edge metadata.

Rebase patch against latest trunk changes.

bsmith requested a review of this revision.Jan 4 2016, 6:20 AM
bsmith edited edge metadata.

Hi Bradley,

Were you going to land this?

James

bsmith added a comment.Jan 6 2016, 7:31 AM

I'm waiting on the rest of the patches to be reviewed since I want to land all patches together (more or less, or at least the dependent ones). The main one being D15275 which I made changes to on Monday.

t.p.northover edited edge metadata.Jan 13 2016, 3:59 PM

The changes are obvious, but I think we should test the CodeGen aspects too.

Tim.

bsmith updated this revision to Diff 44869.Jan 14 2016, 5:45 AM
bsmith edited edge metadata.

Fix subtarget checks for codegen of atomics such that ARMv8-M Baseline correctly uses these instructions, also add testing for it.

t.p.northover accepted this revision.Jan 14 2016, 6:46 AM
t.p.northover edited edge metadata.

Thanks Bradley. Looks good now.

Tim.

This revision is now accepted and ready to land.Jan 14 2016, 6:46 AM
bsmith closed this revision.Jan 15 2016, 2:35 AM

Thanks, committed as r257882.