• Spin-lock implementation for Aarch64 -- how to enforce acquire semantics?

    Olivier Delande
    Olivier Delande

    Here is a minimal C implementation of a spinlock "lock" operation using GCC's built-in atomics:

    #include <stdbool.h>
    
    void spin_lock(bool *l) {
      while (__atomic_test_and_set(l, __ATOMIC_ACQUIRE))
        ;
    }
    

    I am concerned…

    • Answered
    • over 4 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • Is there a list of all opcodes mnemonics understood by each architecture?

    Myy
    Myy

    Greetings,

    I'm currently experimenting with Jekyll and I'm trying to make an GNU ARM Assembly syntax highlighter for Rouge.

    However, the ARM Architecture Reference Manual does not seem to have a simple complete list of mnemonics. They are all…

    • Answered
    • over 3 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • GCC for ARMv7-A - Where can I get the latest version?

    Haris
    Haris

    Hello,

    I would like to download the GCC compiler for ARMv7-A. I would like it to support thumb and NEON instructions. Where can I get the latest version?

    Also, are there any other open source compilers that meet the above requirements?

    Thanks

    • Answered
    • over 6 years ago
    • Software Tools
    • Arm Development Studio forum