diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-04-26 19:44:02 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-04-26 19:44:02 +0000 |
commit | 4f2ac237840677ffcb1b3ca30d04a4c2d360f7c7 (patch) | |
tree | 704572756ba55ed1631f64d1efc9511cec24560f /cpu-all.h | |
parent | f658b4db792285d0ddc044d7532451b8ec3c4a08 (diff) | |
download | hqemu-4f2ac237840677ffcb1b3ca30d04a4c2d360f7c7.zip hqemu-4f2ac237840677ffcb1b3ca30d04a4c2d360f7c7.tar.gz |
amd64 port (Jocelyn Mayer)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@762 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-all.h')
-rw-r--r-- | cpu-all.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -335,7 +335,7 @@ static inline int ldsw_raw(void *ptr) static inline int ldl_raw(void *ptr) { -#if defined(__i386__) +#if defined(__i386__) || defined(__x86_64__) int val; asm volatile ("movl %1, %0\n" "bswap %0\n" @@ -372,7 +372,7 @@ static inline void stw_raw(void *ptr, int v) static inline void stl_raw(void *ptr, int v) { -#if defined(__i386__) +#if defined(__i386__) || defined(__x86_64__) asm volatile ("bswap %0\n" "movl %0, %1\n" : "=r" (v) |