[英]Does the android NDK compiler support inline assembly? (ie asm or __asm keywords?)
Just wondering if andorid NDK supports direct embedding of asm? 只是想知道andorid NDK是否支持直接嵌入asm?
asm{
//lots of strange asm instructions...
}
If so, I presume you'd have to get some refference to the instruction sets of the specfic arm achitecture - where would you find these? 如果是这样,我认为你必须对specfic arm achitecture的指令集进行一些参考 - 你会在哪里找到它们?
Thanks, Steve. 谢谢,史蒂夫。
The Android NDK uses GCC, so you can safely look at GCC documentation. Android NDK使用GCC,因此您可以安全地查看GCC文档。
As for the specific ARM instructions, something like ARM architecture may be a good starting point. 至于具体的ARM指令,像ARM架构这样的东西可能是一个很好的起点。
In addition to @NuSkooler this is another useful resource 除了@NuSkooler之外,这是另一个有用的资源
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.