zoukankan      html  css  js  c++  java
  • Compiler: what is softfp and hardfp?

    hardfp compiles inline FP instructions.  If you have an FPU this will be fastest.  If you don't, every FP instruction will trap to an emulation routine (assuming your runtime supports this).

    softfp will compile a library call for every FP operation.  Use this if you never run on a system with an FPU.


    来自gcc的manual:

    -mfloat-abi=name            Specifies which floating-point ABI to use.  Permissible values are: soft, softfp and hard.

       Specifying soft causes GCC to generate output containing library calls for floating-point operations.  softfp allows the generation of code using hardware floating-point instructions, but still uses the soft-float calling conventions.  hard allows generation of floating-point instructions and uses FPU-specific calling conventions.

       The default depends on the specific target configuration.  Note that the hard-float and soft-float ABIs are not link-compatible; you must compile your entire program with the same ABI, and link with a compatible set of libraries.

  • 相关阅读:
    flask
    admin站点管理
    DRF
    基础
    通过djangocrontab扩展来实现 定时任务
    配置asgi来达到能处理websocket
    用es实现模糊搜索
    迁移问题
    启动活动的最佳写法
    启动活动的最佳写法
  • 原文地址:https://www.cnblogs.com/super119/p/2503397.html
Copyright © 2011-2022 走看看