[Qemu-devel] [PATCH 0/3] target/xtensa: add basic FLIX support

Max Filippov posted 3 patches 5 years, 2 months ago
Test asan passed
Test docker-mingw@fedora passed
Test docker-clang@ubuntu failed
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190130235442.2876-1-jcmvbkbc@gmail.com
Maintainers: Max Filippov <jcmvbkbc@gmail.com>
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(-)
[Qemu-devel] [PATCH 0/3] target/xtensa: add basic FLIX support
Posted by Max Filippov 5 years, 2 months ago
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(-)

-- 
2.11.0