mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 13:25:31 +00:00
tcg: Add tcg_gen_gvec_dup_tl
For use when a target needs to pass a configure-specific target_ulong value to duplicate. Backports commit 0f039e3ad9131966d9fe509c231b756868b015e2 from qemu
This commit is contained in:
parent
e65806c356
commit
549b0ec3c5
|
@ -320,6 +320,12 @@ void tcg_gen_gvec_dup_i32(TCGContext *, unsigned vece, uint32_t dofs, uint32_t s
|
|||
void tcg_gen_gvec_dup_i64(TCGContext *, unsigned vece, uint32_t dofs, uint32_t s,
|
||||
uint32_t m, TCGv_i64);
|
||||
|
||||
#if TARGET_LONG_BITS == 64
|
||||
# define tcg_gen_gvec_dup_tl tcg_gen_gvec_dup_i64
|
||||
#else
|
||||
# define tcg_gen_gvec_dup_tl tcg_gen_gvec_dup_i32
|
||||
#endif
|
||||
|
||||
void tcg_gen_gvec_shli(TCGContext *s, unsigned vece, uint32_t dofs, uint32_t aofs,
|
||||
int64_t shift, uint32_t oprsz, uint32_t maxsz);
|
||||
void tcg_gen_gvec_shri(TCGContext *s, unsigned vece, uint32_t dofs, uint32_t aofs,
|
||||
|
|
Loading…
Reference in a new issue