all repos — mgba @ b6b10606763faceb96587161126f92f91e801c31

mGBA Game Boy Advance Emulator

Fix PPC asm directives on older GCCs
Jeffrey Pfau jeffrey@endrift.com
Tue, 30 Sep 2014 22:03:49 -0700
commit

b6b10606763faceb96587161126f92f91e801c31

parent

6672aebfe46c2ce8fa61f1ad9919e0ea570b3a9d

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/arm/common.hsrc/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) { \