diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-04-09 03:49:30 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-04-09 03:49:30 +0000 |
commit | 99265d6b00ddc4b11d5212aa09aec3d6bbbd810b (patch) | |
tree | c9f660ca136ba9f00edc2939fc46c23ba5ada4c4 /sim/bfin/ChangeLog | |
parent | 8faad9bd0f2d55b33a718bd950982439deca6c03 (diff) | |
download | binutils-99265d6b00ddc4b11d5212aa09aec3d6bbbd810b.zip binutils-99265d6b00ddc4b11d5212aa09aec3d6bbbd810b.tar.gz binutils-99265d6b00ddc4b11d5212aa09aec3d6bbbd810b.tar.bz2 |
sim: bfin: keep track of the exact position of parallel insns
Some insns need to know which slot they're in to determine whether they
are valid. So add an enum for each slot, and check that rather than the
overall insn len. This makes tracking things in the code much clearer.
However, this code is functionally the same, so a follow up patch will
leverage this more to properly flag invalid parallel insn combos.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sim/bfin/ChangeLog')
-rw-r--r-- | sim/bfin/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog index e11b974..f7fe209 100644 --- a/sim/bfin/ChangeLog +++ b/sim/bfin/ChangeLog @@ -1,5 +1,19 @@ 2012-04-08 Mike Frysinger <vapier@gentoo.org> + * bfin-sim.h (bfin_parallel_group): New enum. + (bfin_cpu_state): Add new "group" member. + (PARALLEL_GROUP): Define. + * bfin-sim.c (decode_ProgCtrl_0): Change INSN_LEN check to + PARALLEL_GROUP. + (decode_CaCTRL_0, decode_PushPopReg_0, decode_ccMV_0, decode_CCflag_0, + decode_CC2dreg_0, decode_CC2stat_0, decode_BRCC_0, decode_UJUMP_0, + decode_LOGI2op_0, decode_LoopSetup_0, decode_LDIMMhalf_0, + decode_CALLa_0, decode_linkage_0): Likewise. + (_interp_insn_bfin): Set PARALLEL_GROUP. + (interp_insn_bfin): Likewise. + +2012-04-08 Mike Frysinger <vapier@gentoo.org> + * bfin-sim.c (decode_dsp32alu_0): Delete extra space in TRACE_INSN. 2012-04-01 Mike Frysinger <vapier@gentoo.org> |