arm64eb: arm64 big endian also using little endian instructions. (#816)
* arm64eb: arm64 big endian also using little endian instructions. * arm64: using another example that depends on endians. example: 1. store a word: 0x12345678 2. load a byte: * little endian : 0x78 * big endian : 0x12
This commit is contained in:
committed by
Nguyen Anh Quynh
parent
1b00d3f89a
commit
4a62409949
@@ -11059,7 +11059,11 @@ void gen_intermediate_code_internal_a64(ARMCPU *cpu,
|
||||
|
||||
dc->aarch64 = 1;
|
||||
dc->thumb = 0;
|
||||
#if defined(TARGET_WORDS_BIGENDIAN)
|
||||
dc->bswap_code = 1;
|
||||
#else
|
||||
dc->bswap_code = 0;
|
||||
#endif
|
||||
dc->condexec_mask = 0;
|
||||
dc->condexec_cond = 0;
|
||||
#if !defined(CONFIG_USER_ONLY)
|
||||
|
||||
Reference in New Issue
Block a user