简体   繁体   English

为ARM上的例外设置soft-fp的GCC?

[英]Setting up GCC for soft-fp with exceptions on ARM?

According to this page on the GCC Wiki: 根据GCC Wiki上的此页面:

http://gcc.gnu.org/wiki/Software_floating_point http://gcc.gnu.org/wiki/Software_floating_point

the "soft-fp" soft float implementation gcc provides has optional support for exceptions and rounding modes. gcc提供的“ soft-fp”软浮动实现对异常和舍入模式提供了可选支持。 Is there any way to configure GCC (libgcc) when building it to use this support? 构建使用此支持的GCC(libgcc)时,有什么方法吗? I'm particularly interested in the case of soft-float on ARM. 我对ARM的浮点运算特别感兴趣。

这应该是一种评论,但我没有资格发表评论:)我在x86_64的 SO Soft Float上找到了另一个线程,该线程具有一些相关信息。

Here is a useful article detailing software floating point on Cortex M3 micro controllers 这是一篇有用的文章,详细介绍了Cortex M3微控制器上的软件浮点
http://michaldemin.wordpress.com/2010/02/09/arm-toolchain-newlib-part1/ http://michaldemin.wordpress.com/2010/02/09/arm-toolchain-newlib-part1/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM