This is an archive of the discontinued LLVM Phabricator instance.

[Bultin][ARM] Make aeabi_memset be Thumb1 compatible
ClosedPublic

Authored by weimingz on Jan 20 2017, 1:50 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

weimingz created this revision.Jan 20 2017, 1:50 PM
kubamracek edited edge metadata.Jan 20 2017, 4:51 PM

While I don't really understand the assembly details, I'm confirming that this fixes the build failure on Darwin.

rengolin accepted this revision.Jan 21 2017, 4:53 AM

All encodings seem to be Thumb1, not just ARMv6M. LGTM. Thanks!

The commit title should be a bit more generic, as this is not just about memset. You can describe the changes on the body of the message.

This revision is now accepted and ready to land.Jan 21 2017, 4:53 AM
compnerd accepted this revision.Jan 21 2017, 8:48 AM

That muls requirement that Rd and Rm be the same is dumb.

That muls requirement that Rd and Rm be the same is dumb.

Designing ISAs is hard. :)

This revision was automatically updated to reflect the committed changes.