From: Michael Meissner Date: Mon, 9 Sep 1996 20:45:33 +0000 (+0000) Subject: Fix ld2w tracing X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=308f64d3ac2fe556f4f2aee0fbc4e3c8af24f9f3;p=binutils-gdb.git Fix ld2w tracing --- diff --git a/sim/d10v/ChangeLog b/sim/d10v/ChangeLog index 6ca3da73c99..e597684d31e 100644 --- a/sim/d10v/ChangeLog +++ b/sim/d10v/ChangeLog @@ -7,6 +7,8 @@ Mon Sep 9 13:27:26 1996 Michael Meissner (OP_4E09): Make cpfg properly trace the input flags. (op_types): Add OP_FLAG_OUTPUT. (trace_{input,output}): Support OP_FLAG_OUTPUT. + (OP_31000000): This ld2w varient is a 16-bit memory reference, not + an 8-bit memory reference instruction for tracing purposes. Fri Sep 6 17:56:17 1996 Martin M. Hunt diff --git a/sim/d10v/simops.c b/sim/d10v/simops.c index 8618b4f6f48..1af4e09a706 100644 --- a/sim/d10v/simops.c +++ b/sim/d10v/simops.c @@ -1068,7 +1068,7 @@ OP_6000 () void OP_31000000 () { - trace_input ("ld2w", OP_REG_OUTPUT, OP_MEMREF, OP_VOID); + trace_input ("ld2w", OP_REG_OUTPUT, OP_MEMREF2, OP_VOID); State.regs[OP[0]] = RW (OP[1] + State.regs[OP[2]]); State.regs[OP[0]+1] = RW (OP[1] + State.regs[OP[2]] + 2); trace_output (OP_DREG);