Skip to content

target/xtensa: add FLIX support

Max Filippov qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13target/xtensa: move xtensa_finalize_config to xtensa_core_class_inittarget/xtensa/cpu.h target/xtensa/helper.c target/xtensa/overlay_tool.h+19 -190 replies
2/13target/xtensa: don't require opcode table sortingtarget/xtensa/cpu.h target/xtensa/helper.c target/xtensa/translate.c+42 -160 replies
3/13target/xtensa: allow multiple names for single opcodetarget/xtensa/cpu.h target/xtensa/helper.c target/xtensa/translate.c+60 -600 replies
4/13target/xtensa: implement wide branches and loopstarget/xtensa/translate.c+102 -270 replies
5/13target/xtensa: sort FLIX instruction opcodestarget/xtensa/cpu.h target/xtensa/translate.c+220 -80 replies
6/13target/xtensa: add generic instruction post-processingtarget/xtensa/cpu.h target/xtensa/translate.c+33 -80 replies
7/13target/xtensa: move WINDOW_BASE SR update to postprocessingtarget/xtensa/cpu.h target/xtensa/helper.h target/xtensa/translate.c +1 more+28 -200 replies
8/13target/xtensa: only rotate window in the retw helpertarget/xtensa/helper.h target/xtensa/translate.c target/xtensa/win_helper.c+10 -90 replies
9/13target/xtensa: reorganize register handling in translatorstarget/xtensa/cpu.h target/xtensa/helper.c target/xtensa/translate.c+386 -3440 replies
10/13target/xtensa: reorganize access to MAC16 registerstarget/xtensa/translate.c+92 -940 replies
11/13target/xtensa: reorganize access to boolean registerstarget/xtensa/translate.c+42 -80 replies
12/13target/xtensa: break circular register dependenciestarget/xtensa/translate.c+123 -40 replies
13/13target/xtensa: prioritize load/store in FLIX bundlestarget/xtensa/cpu.h target/xtensa/translate.c+36 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 00/13] target/xtensa: add FLIX support

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(-)
Signature · 1 line
2.11.0