mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-20 15:31:22 +00:00
x86-64 can do unaligned accesses
This commit is contained in:
parent
0a201217bf
commit
3bf7843db1
@ -182,7 +182,7 @@ typedef struct timeval tm_time_t;
|
||||
typedef uae_u32 uaecptr;
|
||||
|
||||
/* Alignment restrictions */
|
||||
#if defined(__i386__) || defined(__powerpc__) || defined(__m68k__)
|
||||
#if defined(__i386__) || defined(__powerpc__) || defined(__m68k__) || defined(__x86_64__)
|
||||
# define CPU_CAN_ACCESS_UNALIGNED
|
||||
#endif
|
||||
|
||||
@ -235,7 +235,7 @@ static inline void do_put_mem_word(uae_u16 *a, uae_u32 v) {uint8 *b = (uint8 *)a
|
||||
|
||||
#else /* WORDS_BIGENDIAN */
|
||||
|
||||
#ifdef __i386__
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
|
||||
/* Intel x86 */
|
||||
#define X86_PPRO_OPT
|
||||
|
Loading…
Reference in New Issue
Block a user