sim: bfin: keep track of the exact position of parallel insns
authorMike Frysinger <vapier@gentoo.org>
Mon, 9 Apr 2012 03:49:30 +0000 (03:49 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 9 Apr 2012 03:49:30 +0000 (03:49 +0000)
commit99265d6b00ddc4b11d5212aa09aec3d6bbbd810b
treec9f660ca136ba9f00edc2939fc46c23ba5ada4c4
parent8faad9bd0f2d55b33a718bd950982439deca6c03
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>
sim/bfin/ChangeLog
sim/bfin/bfin-sim.c
sim/bfin/bfin-sim.h
This page took 0.024906 seconds and 4 git commands to generate.