mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
Hexagon (target/hexagon) Add overrides for loop setup instructions
These instructions have implicit writes to registers, so we don't want them to be helpers when idef-parser is off. Signed-off-by: Taylor Simpson <tsimpson@quicinc.com> Acked-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230427230012.3800327-4-tsimpson@quicinc.com>
This commit is contained in:
parent
07540a28c7
commit
17fda3c2d4
2 changed files with 65 additions and 0 deletions
|
@ -665,6 +665,27 @@
|
|||
#define fGEN_TCG_J2_callrf(SHORTCODE) \
|
||||
gen_cond_callr(ctx, TCG_COND_NE, PuV, RsV)
|
||||
|
||||
#define fGEN_TCG_J2_loop0r(SHORTCODE) \
|
||||
gen_loop0r(ctx, RsV, riV)
|
||||
#define fGEN_TCG_J2_loop1r(SHORTCODE) \
|
||||
gen_loop1r(ctx, RsV, riV)
|
||||
#define fGEN_TCG_J2_loop0i(SHORTCODE) \
|
||||
gen_loop0i(ctx, UiV, riV)
|
||||
#define fGEN_TCG_J2_loop1i(SHORTCODE) \
|
||||
gen_loop1i(ctx, UiV, riV)
|
||||
#define fGEN_TCG_J2_ploop1sr(SHORTCODE) \
|
||||
gen_ploopNsr(ctx, 1, RsV, riV)
|
||||
#define fGEN_TCG_J2_ploop1si(SHORTCODE) \
|
||||
gen_ploopNsi(ctx, 1, UiV, riV)
|
||||
#define fGEN_TCG_J2_ploop2sr(SHORTCODE) \
|
||||
gen_ploopNsr(ctx, 2, RsV, riV)
|
||||
#define fGEN_TCG_J2_ploop2si(SHORTCODE) \
|
||||
gen_ploopNsi(ctx, 2, UiV, riV)
|
||||
#define fGEN_TCG_J2_ploop3sr(SHORTCODE) \
|
||||
gen_ploopNsr(ctx, 3, RsV, riV)
|
||||
#define fGEN_TCG_J2_ploop3si(SHORTCODE) \
|
||||
gen_ploopNsi(ctx, 3, UiV, riV)
|
||||
|
||||
#define fGEN_TCG_J2_endloop0(SHORTCODE) \
|
||||
gen_endloop0(ctx)
|
||||
#define fGEN_TCG_J2_endloop1(SHORTCODE) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue