使用 NEON 进行 ARM 汇编中的高级数学函数
您好,我对汇编有点陌生,我开始熟悉 ARM 汇编与一些新 ARM 芯片中的 NEON 协处理器的结合。我不确定如何做的一件事是高级数学函数,如 sin、cos、tan、exp 等。如果我反汇编具有这些数学函数的 C 代码,它们似乎是外部的。
Hi im kind of new to assembly and im starting to get familiar with ARM assembly combined with the NEON coprocessor in some of the new ARM chips. One of the things I am not sure how to do is high level math functions like sin,cos,tan,exp,etc.. If I disassemble C code that has these math functions it seems that they are external.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对您来说最好的选择似乎是简单地链接组装项目中的其他库。如果您想要完全相同的功能,我认为没有任何理由重新创建轮子。
如果这是一个学习过程,那么我建议您要么从更简单的东西开始,因为听起来您没有解决此类问题的经验,或者研究 user786653 建议的更高次多项式。
The best option for you seems like it would be to simply link the other libraries in your assembly project. I don't see any reason to recreate the wheel if all you want the exact same functionality.
If this is a learning process then I suggest you either start with something simpler, as it doesn't sound like you have the experience to tackle a problem like this, or look into the higher-degree polynomials that user786653 suggested.