• How to compile with gcc toolchain that uses ARM neon instructions

    Haris
    Haris

    Hi,

    I would like to ask which version of gcc and with what flags , may I compile some c code to assembly code that uses arm neon coprocessor for ARMV7-A processor. Of course I want to use the processor itself but also the coprocessor. Is this gcc optimal…

    • Answered
    • over 6 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • 条件代码3:Thumb-2 中的条件执行

    Zenon Xiu (Zhilong Xiu)
    Zenon Xiu (Zhilong Xiu)

    条件代码3:Thumb-2 中的条件执行

    投稿人:Jacob Bramley,2010 年 9 月 30 日

    Thumb-2 可利用ARM 指令集提供的相同条件执行功能。在有条件执行一两条指令时,这种机制与(更为传统的)条件分支机制相比,具备代码大小和性能方面的优势。

    我在本系列博文上一篇的结尾处提到,Thumb 中并不直接提供这一机制。相反,Thumb-2 具有一个指令 : it  。它可提供与 ARM 条件执行相同的功能。在本文中,我将介绍 it 指令,也将说明 Thumb-2 中条件设置指令的一些注意事项…

    • over 6 years ago
    • 中文社区
    • 中文社区博客