Browse By Tags

  • Android NDK options: What compiler flags should I use for my libraries and apps to get the best performance across the widest range of SoCs?

    Compiler options is one of those subjects that can get decidedly more complicated as you descend the rabbit hole. Undoubtedly, developers using or creating C/C++/Assembly libraries in Android are seeking to compile the most optimal binary for as many…

  • Aarch64 llvm unrecognized instruction mnemonic

    I am trying to use ARM inline assembly in a C code. I am compiling using aarch64-linux-android-clang version 3.8.243773, the 64 bit llvm toolchain from Android NDK R11.

    The inline assembly code is as follows:

    __asm__("ssat %w0, #24, %w1\n\t"