mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
Hexagon (target/hexagon) Add overrides for clr[tf]new
These instructions have implicit reads from p0, so we don't want them in helpers when idef-parser is off. Signed-off-by: Taylor Simpson <tsimpson@quicinc.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230427230012.3800327-6-tsimpson@quicinc.com>
This commit is contained in:
parent
085b6700f0
commit
5c4b11e827
2 changed files with 16 additions and 4 deletions
|
@ -227,12 +227,8 @@ static inline void gen_cancel(uint32_t slot)
|
|||
|
||||
#ifdef QEMU_GENERATE
|
||||
#define fLSBNEW(PVAL) tcg_gen_andi_tl(LSB, (PVAL), 1)
|
||||
#define fLSBNEW0 tcg_gen_andi_tl(LSB, hex_new_pred_value[0], 1)
|
||||
#define fLSBNEW1 tcg_gen_andi_tl(LSB, hex_new_pred_value[1], 1)
|
||||
#else
|
||||
#define fLSBNEW(PVAL) ((PVAL) & 1)
|
||||
#define fLSBNEW0 (env->new_pred_value[0] & 1)
|
||||
#define fLSBNEW1 (env->new_pred_value[1] & 1)
|
||||
#endif
|
||||
|
||||
#ifdef QEMU_GENERATE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue