mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-31 05:51:53 -06:00
tcg: Move side effects out of dh_sizemask
Moving them into dh_arg instead. Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
836d6ed96e
commit
a5ed2de10a
2 changed files with 8 additions and 15 deletions
|
@ -109,12 +109,11 @@
|
|||
#define dh_is_signed(t) dh_is_signed_##t
|
||||
|
||||
#define dh_sizemask(t, n) \
|
||||
sizemask |= dh_is_64bit(t) << (n*2); \
|
||||
sizemask |= dh_is_signed(t) << (n*2+1)
|
||||
((dh_is_64bit(t) << (n*2)) | (dh_is_signed(t) << (n*2+1)))
|
||||
|
||||
#define dh_arg(t, n) \
|
||||
args[n - 1] = glue(GET_TCGV_, dh_alias(t))(glue(arg, n)); \
|
||||
dh_sizemask(t, n)
|
||||
sizemask |= dh_sizemask(t, n)
|
||||
|
||||
#define dh_arg_decl(t, n) glue(TCGv_, dh_alias(t)) glue(arg, n)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue