OSDN Git Service

Hexagon (target/hexagon) Add pkt and insn to DisasContext
authorTaylor Simpson <tsimpson@quicinc.com>
Tue, 8 Nov 2022 16:28:56 +0000 (08:28 -0800)
committerTaylor Simpson <tsimpson@quicinc.com>
Fri, 16 Dec 2022 18:10:28 +0000 (10:10 -0800)
commit1e536334ccb0a1606f814a38a4996b3b818e9fab
tree6f2eef486fda1a451a808ca415d217ea587130c0
parent4208e6ae114ac8266dcacc9696a443ce5c37b04e
Hexagon (target/hexagon) Add pkt and insn to DisasContext

This enables us to reduce the number of parameters to many functions
In particular, the generated functions previously took all 3 as arguments

Not only does this simplify the code, it improves the translation time

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Message-Id: <20221108162906.3166-2-tsimpson@quicinc.com>
target/hexagon/gen_tcg_funcs.py
target/hexagon/gen_tcg_hvx.h
target/hexagon/genptr.c
target/hexagon/insn.h
target/hexagon/macros.h
target/hexagon/mmvec/macros.h
target/hexagon/translate.c
target/hexagon/translate.h