Skip to content

Conversation

@reitermarkus
Copy link
Member

Fix some differences between previous asm.S and inline assembly.

@reitermarkus reitermarkus requested a review from a team as a code owner April 22, 2022 12:23
@rust-highfive
Copy link

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @therealprof (or someone else) soon.

Please see the contribution instructions for more information.

@rust-highfive rust-highfive added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-cortex-m labels Apr 22, 2022
@adamgreig
Copy link
Member

Thanks, good catch on the cmp especially. Is there any need for the 4: label, do you think? I guess you already noticed we have to use movs instead of mov for that immediate load; the old asm.S loaded a literal from a constant pool but I think this way is a little quicker and takes a little less space.

@reitermarkus
Copy link
Member Author

Is there any need for the 4: label, do you think?

I guess not since it's not actually used.

Copy link
Member

@adamgreig adamgreig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

bors merge

@bors
Copy link
Contributor

bors bot commented Apr 23, 2022

@bors bors bot merged commit ec7f7c9 into rust-embedded:master Apr 23, 2022
@reitermarkus reitermarkus deleted the fix-asm branch April 24, 2022 01:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-cortex-m

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants