Fix PPC asm directives on older GCCs
Jeffrey Pfau jeffrey@endrift.com
Tue, 30 Sep 2014 22:03:49 -0700
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
src/arm/common.h
→
src/arm/common.h
@@ -24,12 +24,12 @@ "rlwinm %0, %1, 8, 24, 31\n" \
"rlwimi %0, %1, 24, 16, 23\n" \ "rlwimi %0, %1, 8, 8, 15\n" \ "rlwimi %0, %1, 24, 0, 7\n" \ - : "+r"(DEST) : "r"(VAR) : ) + : "+r"(DEST) : "r"(VAR)) #define SWAP_16(DEST, VAR) asm(\ "rlwinm %0, %1, 24, 24, 31\n" \ "rlwimi %0, %1, 8, 16, 23\n" \ - : "+r"(DEST) : "r"(VAR) : ) + : "+r"(DEST) : "r"(VAR)) #endif #define LOAD_32(DEST, ADDR, ARR) { \