mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 23:39:35 +08:00
* sim/mips/gencode.c (build_instruction): Follow sim_write's lead in using
BigEndianMem instead of !ByteSwapMem.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
Sat Oct 25 16:51:40 1997 Gavin Koch <gavin@cygnus.com>
|
||||||
|
|
||||||
|
* gencode.c (build_instruction): Follow sim_write's lead in using
|
||||||
|
BigEndianMem instead of !ByteSwapMem.
|
||||||
|
|
||||||
|
|
||||||
Fri Oct 24 17:41:49 1997 Andrew Cagney <cagney@b1.cygnus.com>
|
Fri Oct 24 17:41:49 1997 Andrew Cagney <cagney@b1.cygnus.com>
|
||||||
|
|
||||||
* configure.in (sim_gen): Dependent on target, select type of
|
* configure.in (sim_gen): Dependent on target, select type of
|
||||||
|
@ -2980,7 +2980,7 @@ build_instruction (doisa, features, mips16, insn)
|
|||||||
printf(" int byte;\n");
|
printf(" int byte;\n");
|
||||||
printf(" paddr = ((paddr & ~mask) | ((paddr & mask) ^ reverse));\n");
|
printf(" paddr = ((paddr & ~mask) | ((paddr & mask) ^ reverse));\n");
|
||||||
printf(" byte = ((vaddr & mask) ^ bigend);\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");
|
printf(" paddr &= ~mask;\n");
|
||||||
|
|
||||||
if (isload) {
|
if (isload) {
|
||||||
|
Reference in New Issue
Block a user