diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-04-09 03:59:10 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-04-09 03:59:10 +0000 |
commit | ab04c000666d69d6498c2b1f4e4b18379c917cd9 (patch) | |
tree | 5725afc91ea6f6d6a181e501e265dd893272340d /sim/bfin/ChangeLog | |
parent | 99265d6b00ddc4b11d5212aa09aec3d6bbbd810b (diff) | |
download | gdb-ab04c000666d69d6498c2b1f4e4b18379c917cd9.zip gdb-ab04c000666d69d6498c2b1f4e4b18379c917cd9.tar.gz gdb-ab04c000666d69d6498c2b1f4e4b18379c917cd9.tar.bz2 |
sim: bfin: more parallel insn checks
Now that we keep track of the exact parallel insn slot we're in, we can
make sure that the current insn being decoded is valid for that slot.
This brings us much closer to the hardware in flagging invalid parallel
insn combinations.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sim/bfin/ChangeLog')
-rw-r--r-- | sim/bfin/ChangeLog | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog index f7fe209..cf6beb1 100644 --- a/sim/bfin/ChangeLog +++ b/sim/bfin/ChangeLog @@ -1,5 +1,23 @@ 2012-04-08 Mike Frysinger <vapier@gentoo.org> + * bfin-sim.c (illegal_instruction_or_combination): New helper. + (decode_ProgCtrl_0): Call illegal_instruction_or_combination instead + of illegal_instruction. + (decode_PushPopReg_0, decode_CCflag_0, decode_CC2dreg_0, + decode_LDSTpmod_0, decode_dagMODim_0, decode_dagMODik_0, + decode_dspLDST_0, decode_LDST_0, _interp_insn_bfin): Likewise. + (decode_PushPopMultiple_0): Call illegal_instruction_combination when + PARALLEL_GROUP is not BFIN_PARALLEL_NONE. + (decode_CCflag_0, decode_REGMV_0, decode_ALU2op_0, decode_PTR2op_0, + decode_COMPI2opD_0, decode_COMPI2opP_0): Likewise. + (decode_CC2stat_0): Check PARALLEL_GROUP before cbit. + (decode_LDSTpmod_0): Call illegal_instruction_combination when + PARALLEL_GROUP is BFIN_PARALLEL_GROUP2. + (decode_dagMODim_0, decode_dagMODik_0, decode_LDST_0, + decode_LDSTiiFP_0, decode_LDSTii_0): Likewise. + +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. |