This is an archive of the discontinued LLVM Phabricator instance.

[Thumb2] ldrexd and strexd are not defined on v7M
ClosedPublic

Authored by olista01 on Sep 23 2014, 5:45 AM.

Details

Reviewers
rengolin
Summary

The Thumb2 ldrexd and strexd instructions are not defined for M-class architectures.

Diff Detail

Event Timeline

olista01 updated this revision to Diff 13984.Sep 23 2014, 5:45 AM
olista01 retitled this revision from to [Thumb2] ldrexd and strexd are not defined on v7M.
olista01 updated this object.
olista01 edited the test plan for this revision. (Show Details)
olista01 set the repository for this revision to rL LLVM.
olista01 added a subscriber: Unknown Object (MLST).

I think compiler_rt's sync_fetch_and_*_8.S builtins will need some attention because of this.

rengolin accepted this revision.Sep 24 2014, 2:09 AM
rengolin added a reviewer: rengolin.
rengolin added a subscriber: rengolin.

Hi Oliver,

Patch looks good. Thanks!

Can you do the change Jon proposed and submit another review?

cheers,
--renato

lib/Target/ARM/ARMInstrThumb2.td
3313

I thought IsThumb2 was already implied by being T2I_*. Anyway, looks ok.

This revision is now accepted and ready to land.Sep 24 2014, 2:09 AM
olista01 closed this revision.Sep 29 2014, 4:07 AM

Thanks, committed as revision 218603.