On 11/27/2014 10:38 AM, Thomas Stüfe wrote:
> Hi Andrew, thank you! Does endianess matter ?
Yes. I'd do it symbolically rather than mess with endian defines:
#ifdef AARCH64
unsigned insn;
asm("b 1f; 0: dcps1; 1: ldr %0, 0b" : "=r"(insn));
#endif
Andrew.