mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 963029 - AArch64 support for MFBT. r=froydnj
This commit is contained in:
parent
420122fd2c
commit
4935cd342c
@ -122,14 +122,14 @@
|
||||
defined(_POWER) || defined(__powerpc__) || \
|
||||
defined(__ppc__) || defined(__hppa) || \
|
||||
defined(_MIPSEB) || defined(__ARMEB__) || \
|
||||
defined(__s390__) || \
|
||||
defined(__s390__) || defined(__AARCH64EB__) \
|
||||
(defined(__sh__) && defined(__LITTLE_ENDIAN__)) || \
|
||||
(defined(__ia64) && defined(__BIG_ENDIAN__))
|
||||
# define MOZ_BIG_ENDIAN 1
|
||||
#elif defined(__i386) || defined(__i386__) || \
|
||||
defined(__x86_64) || defined(__x86_64__) || \
|
||||
defined(_MIPSEL) || defined(__ARMEL__) || \
|
||||
defined(__alpha__) || \
|
||||
defined(__alpha__) || defined(__AARCH64EL__) \
|
||||
(defined(__sh__) && defined(__BIG_ENDIAN__)) || \
|
||||
(defined(__ia64) && !defined(__BIG_ENDIAN__))
|
||||
# define MOZ_LITTLE_ENDIAN 1
|
||||
|
@ -161,6 +161,9 @@
|
||||
#elif defined __s390__
|
||||
#define RETURN_INSTR 0x07fe0000 /* br %r14 */
|
||||
|
||||
#elif defined __aarch64__
|
||||
#define RETURN_INSTR 0xd65f03c0 /* ret */
|
||||
|
||||
#elif defined __ia64
|
||||
struct ia64_instr { uint32_t i[4]; };
|
||||
static const ia64_instr _return_instr =
|
||||
|
Loading…
Reference in New Issue
Block a user