x86-64 can do unaligned accesses

This commit is contained in:
gbeauche 2002-11-05 10:32:05 +00:00
parent 0a201217bf
commit 3bf7843db1

View File

@ -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