diff options
author | Taylor Simpson <tsimpson@quicinc.com> | 2020-01-23 13:03:33 -0600 |
---|---|---|
committer | Taylor Simpson <tsimpson@quicinc.com> | 2021-11-03 16:01:36 -0500 |
commit | 61c9aab09b0e7d9a57c2d031d7bd30dc9fe2bb41 (patch) | |
tree | d91c0b829dbb8a04ccb21d7a4909c2b8570c4110 /target/hexagon/decode.c | |
parent | 60d1180b68944c3dbaad8239e60515e4c5c4b00f (diff) | |
download | qemu-61c9aab09b0e7d9a57c2d031d7bd30dc9fe2bb41.zip qemu-61c9aab09b0e7d9a57c2d031d7bd30dc9fe2bb41.tar.gz qemu-61c9aab09b0e7d9a57c2d031d7bd30dc9fe2bb41.tar.bz2 |
Hexagon HVX (target/hexagon) import instruction encodings
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Diffstat (limited to 'target/hexagon/decode.c')
-rw-r--r-- | target/hexagon/decode.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/target/hexagon/decode.c b/target/hexagon/decode.c index 653bfd7..6f0f27b 100644 --- a/target/hexagon/decode.c +++ b/target/hexagon/decode.c @@ -47,6 +47,7 @@ enum { /* Name Num Table */ DEF_REGMAP(R_16, 16, 0, 1, 2, 3, 4, 5, 6, 7, 16, 17, 18, 19, 20, 21, 22, 23) DEF_REGMAP(R__8, 8, 0, 2, 4, 6, 16, 18, 20, 22) +DEF_REGMAP(R_8, 8, 0, 1, 2, 3, 4, 5, 6, 7) #define DECODE_MAPPED_REG(OPNUM, NAME) \ insn->regno[OPNUM] = DECODE_REGISTER_##NAME[insn->regno[OPNUM]]; @@ -158,6 +159,9 @@ static void decode_ext_init(void) for (i = EXT_IDX_noext; i < EXT_IDX_noext_AFTER; i++) { ext_trees[i] = &dectree_table_DECODE_EXT_EXT_noext; } + for (i = EXT_IDX_mmvec; i < EXT_IDX_mmvec_AFTER; i++) { + ext_trees[i] = &dectree_table_DECODE_EXT_EXT_mmvec; + } } typedef struct { |