mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
Hexagon (target/hexagon) Eliminate uses of log_pred_write function
These instructions have implicit writes to registers, so we don't want them to be helpers when idef-parser is off. The following instructions are overriden S2_cabacdecbin SA1_cmpeqi Remove the log_pred_write function from op_helper.c Remove references in macros.h Signed-off-by: Taylor Simpson <tsimpson@quicinc.com> Acked-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230427230012.3800327-8-tsimpson@quicinc.com>
This commit is contained in:
parent
9942f6a8b6
commit
d24f0b2b89
5 changed files with 104 additions and 19 deletions
|
@ -371,10 +371,6 @@ static inline TCGv gen_read_ireg(TCGv result, TCGv val, int shift)
|
|||
#define fSET_OVERFLOW() SET_USR_FIELD(USR_OVF, 1)
|
||||
#define fSET_LPCFG(VAL) SET_USR_FIELD(USR_LPCFG, (VAL))
|
||||
#define fGET_LPCFG (GET_USR_FIELD(USR_LPCFG))
|
||||
#define fWRITE_P0(VAL) log_pred_write(env, 0, VAL)
|
||||
#define fWRITE_P1(VAL) log_pred_write(env, 1, VAL)
|
||||
#define fWRITE_P2(VAL) log_pred_write(env, 2, VAL)
|
||||
#define fWRITE_P3(VAL) log_pred_write(env, 3, VAL)
|
||||
#define fPART1(WORK) if (part1) { WORK; return; }
|
||||
#define fCAST4u(A) ((uint32_t)(A))
|
||||
#define fCAST4s(A) ((int32_t)(A))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue