asm -> __asm (PR #463).

This commit is contained in:
jtc 1994-09-10 01:19:45 +00:00
parent bdd26b125c
commit 47b84c16db
1 changed files with 2 additions and 2 deletions

View File

@ -69,14 +69,14 @@ __END_DECLS
#define __byte_swap_long(x) \ #define __byte_swap_long(x) \
({ register unsigned long __x = (x); \ ({ register unsigned long __x = (x); \
asm ("rotw 8,%1; rotd 16,%1; rotw 8,%1" \ __asm ("rotw 8,%1; rotd 16,%1; rotw 8,%1" \
: "=r" (__x) \ : "=r" (__x) \
: "0" (__x)); \ : "0" (__x)); \
__x; }) __x; })
#define __byte_swap_word(x) \ #define __byte_swap_word(x) \
({ register unsigned short __x = (x); \ ({ register unsigned short __x = (x); \
asm ("rotw 8,%1" \ __asm ("rotw 8,%1" \
: "=r" (__x) \ : "=r" (__x) \
: "0" (__x)); \ : "0" (__x)); \
__x; }) __x; })