• -print-libgcc-file-name gives thumb while -marm is used

    Dear Forum,

    Using

    ~$ arm-none-eabi-gcc -v                                                                             
    Using built-in specs.
    COLLECT_GCC=arm-none-eabi-gcc
    COLLECT_LTO_WRAPPER=/opt/gcc-arm-none-eabi/bin/../libexec/gcc/arm-none-eabi/9…

  • Problem in understanding behaviour of GCC compiler (aarch64-none-elf-gcc) on Neon intrinsics for ARM cortex a53

    Hi,

    I am using IDE Xilinx SDK 2019.1 for my application and running it on ARM cortex a53  processor with Neon and floating point engine support available. I am working on a bare metal application.

    The problem I am facing is that, I am unable to understand…

  • compiler optimization options for ARMv8 GCC compiler on ARM cortex a53 (bare metal application)

    I am using ARMv8 GCC compiler(aarch64-none-elf-gcc) for my bare metal application on ARM cortex a53. I am using neon intrinsics with plain C in my code so I would like to ensure to use all optimization option available for this compiler.

    I tried -mfpu…

  • Optimization of Neon Intrinsics on ARM cortexa53

    I am using ARMv8 GCC compiler and I would like to optimize Neon Intrinsics code for better execution time performance. I have already tried loop unrolling and I am using look up table for the computation of log10. Any ideas?

    Here is the code:

    static inline…

  • Cortex A8 Problem with RVDS or ARM GCC?

    Note: This was originally posted on 4th March 2009 at http://forums.arm.com

    Hi All,

              My application is not running in ARM Cortex A8. But same application is working in ARM9e. I have compiled using --cpu=cortex-a8 or --cpu = 7-a. Is their any specific…
  • Shifted binary produced by arm-none-eabi-objcopy

    Greetings, 

    Im currently trying to fix a strange behavior of objcopy, which sometimes generates invalid output binary image with 0x4 byte shift. 

    I found this issue because this shift was affecting my __init_array_start__ table (which is indeed pointing…

  • Want to try out stable GCC 7 on your ARM microcontroller?

    EDIT: Stable GCC 7.1.0 is already released - see first reply below for details!

     

    If you're very impatient waiting for the full GCC 7.1.0 release (expected this month), you can try experimental GCC 7 version with your ARM microcontroller right now (…

  • ARMv8-M - toolchains / virtual platforms

    Hello,

    I would be interested to try the new features of the ARMv8-M architecture, in particular v8-M TrustZone, but I can't find necessary tools in order to do so.

    1. I need a toolchain that supports the new instructions introduced with v8-M (SG, BXNS…

  • Compacting 4x 24 bit values into 3x 32 bits

    Hello,

    I have application running on an Cortex M3 MCU. The MCU runs a FIR filter which results in arrays of 32 bit values, but only the 24 least significant bits are used. Before storing this data to memory I want to compact four 24 bit words into three…

  • compiling kernel: -mcpu=cortex-a15 vs -march=armv7ve?

    I'm compiling an Android kernel for my Xperia Z using Linaro GCC 4.9. My question is, which option gives better optimization -mcpu=cortex-a15 or -march=armv7ve? Or do they give the same results?

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

    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…