mbox series

[00/13] target/xtensa: add FLIX support

Message ID 20190214230000.24894-1-jcmvbkbc@gmail.com (mailing list archive)
Headers show
Series target/xtensa: add FLIX support | expand

Message

Max Filippov Feb. 14, 2019, 10:59 p.m. UTC
Hello,

this series adds limited support for FLIX instructions.
FLIX (flexible length instruction extensions) allows bundling multiple
opcodes in a single instruction. Each opcode is executed as if it was
the only opcode in the instruction. Opcodes may not simultaneously
modify same resource (register or state). Multiple branches, even
non-taken, are also not allowed in one instruction.

Instructions with opcodes that have circular dependencies between used
resources other than registers (e.g. opcode A uses resource U and modifies
resource M, while opcode B uses resource M and modifies resource U) are not
supported in this series.

Max Filippov (13):
  target/xtensa: move xtensa_finalize_config to xtensa_core_class_init
  target/xtensa: don't require opcode table sorting
  target/xtensa: allow multiple names for single opcode
  target/xtensa: implement wide branches and loops
  target/xtensa: sort FLIX instruction opcodes
  target/xtensa: add generic instruction post-processing
  target/xtensa: move WINDOW_BASE SR update to postprocessing
  target/xtensa: only rotate window in the retw helper
  target/xtensa: reorganize register handling in translators
  target/xtensa: reorganize access to MAC16 registers
  target/xtensa: reorganize access to boolean registers
  target/xtensa: break circular register dependencies
  target/xtensa: prioritize load/store in FLIX bundles

 target/xtensa/cpu.h          |   37 +-
 target/xtensa/helper.c       |   93 ++-
 target/xtensa/helper.h       |    5 +-
 target/xtensa/overlay_tool.h |    1 -
 target/xtensa/translate.c    | 1595 +++++++++++++++++++++++++++---------------
 target/xtensa/win_helper.c   |   22 +-
 6 files changed, 1162 insertions(+), 591 deletions(-)