mbox series

[0/3] target/xtensa: add basic FLIX support

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

Message

Max Filippov Jan. 30, 2019, 11:54 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 (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 (3):
  target/xtensa: sort FLIX instruction opcodes
  target/xtensa: add generic instruction post-processing
  target/xtensa: move WINDOW_BASE SR update to postprocessing

 target/xtensa/cpu.h        |   5 +
 target/xtensa/helper.h     |   3 +-
 target/xtensa/translate.c  | 265 +++++++++++++++++++++++++++++++++++++++++----
 target/xtensa/win_helper.c |  14 +--
 4 files changed, 251 insertions(+), 36 deletions(-)