Hexagon (target/hexagon) instruction/packet decode
commit66d29a5e80b042164eee17289f533f8ec0e85db5
authorTaylor Simpson <tsimpson@quicinc.com>
Mon, 8 Feb 2021 05:46:03 +0000 (7 23:46 -0600)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 18 Feb 2021 15:48:22 +0000 (18 07:48 -0800)
tree11045be8d85d5c5e0a52b761033b3085786b2592
parent1118d7fa0eea6d2e9b788ef9d7159bcef9431f1a
Hexagon (target/hexagon) instruction/packet decode

Take the words from instruction memory and build a packet_t for TCG code
generation

The following operations are performed
    Convert the .new encoded offset to the register number of the producer
    Reorder the packet so .new producer is before consumer
    Apply constant extenders
    Separate subinsn's into two instructions
    Break compare-jumps into two instructions
    Create instructions for :endloop

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <1612763186-18161-14-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/hexagon/decode.c [new file with mode: 0644]
target/hexagon/decode.h [new file with mode: 0644]