mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 15:18:37 +08:00
* sim/mips/gencode.c (build_instruction): Follow sim_write's lead in using
BigEndianMem instead of !ByteSwapMem.
This commit is contained in:
@ -2980,7 +2980,7 @@ build_instruction (doisa, features, mips16, insn)
|
||||
printf(" int byte;\n");
|
||||
printf(" paddr = ((paddr & ~mask) | ((paddr & mask) ^ reverse));\n");
|
||||
printf(" byte = ((vaddr & mask) ^ bigend);\n");
|
||||
printf(" if (%s!ByteSwapMem)\n",((insn->flags & LEFT) ? "!" : ""));
|
||||
printf(" if (%sBigEndianMem)\n",((insn->flags & LEFT) ? "!" : ""));
|
||||
printf(" paddr &= ~mask;\n");
|
||||
|
||||
if (isload) {
|
||||
|
Reference in New Issue
Block a user