4

Add preliminary support for inline assembly for msp430. by cr1901 · Pull Request...

 2 years ago
source link: https://github.com/rust-lang/rust/pull/93219
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Copy link

Contributor

cr1901 commented 9 days ago

The llvm_asm macro was removed recently, and the MSP430 backend relies on inline assembly to build useful embedded apps. I conveniently "found" time to implement basic support for the new inline asm macro syntax with the help of @Amanieu :D.

In addition to tests in the compiler, I have tested this locally against deployed MSP430 code and have not found any noticeable differences in firmware operation or objdump disassemblies between the old llvm_asm and the new asm syntax.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK