mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-12 01:30:03 +00:00
Define UNALIGNED_PROFITABLE on x86 platforms
This commit is contained in:
parent
75f3bdea68
commit
12195c32b5
@ -166,6 +166,12 @@ typedef int64 intptr;
|
||||
#error "Unsupported size of pointer"
|
||||
#endif
|
||||
|
||||
// Define if the host processor supports fast unaligned load/stores
|
||||
#if defined __i386__ || defined __x86_64__
|
||||
#define UNALIGNED_PROFITABLE 1
|
||||
#endif
|
||||
|
||||
|
||||
/**
|
||||
* Helper functions to byteswap data
|
||||
**/
|
||||
|
@ -125,6 +125,11 @@ typedef int64 intptr;
|
||||
#error "Unsupported size of pointer"
|
||||
#endif
|
||||
|
||||
// Define if the host processor supports fast unaligned load/stores
|
||||
#if defined __i386__ || defined __x86_64__
|
||||
#define UNALIGNED_PROFITABLE 1
|
||||
#endif
|
||||
|
||||
|
||||
/**
|
||||
* Helper functions to byteswap data
|
||||
|
Loading…
x
Reference in New Issue
Block a user