summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-04-29 13:03:25 +0100
committerPeter Maydell <peter.maydell@linaro.org>2014-04-29 13:03:25 +0100
commitb006f8162e11f0395689a684d6e871b047c23481 (patch)
tree195a21c93d385af362121bb4c4c73510f607492d /include
parente2da502c003b9a91b4aea7684959192bd07c1f1d (diff)
parentebd0c614d77898741c1ec70b5c5ca3f263253da3 (diff)
Merge remote-tracking branch 'remotes/rth/tags/tcg-sparc-pull-20140428' into staging
TCG sparc backend update for 20140428 # gpg: Signature made Mon 28 Apr 2014 19:36:55 BST using RSA key ID 4DD0279B # gpg: Can't check signature: public key not found * remotes/rth/tags/tcg-sparc-pull-20140428: tcg-sparc: Accept stores of zero tcg-sparc: Fix small 32-bit movi tcg-sparc: Fixup function argument types tcg-sparc: Hoist common argument loads in tcg_out_op tcg-sparc: Don't handle mov/movi in tcg_out_op tcg-sparc: Tidy check_fit_* tests tcg-sparc: Implement muls2_i32 tcg-sparc: Use the RETURN instruction tcg-sparc: Use 64-bit registers with sparcv8plus tcg-sparc: Support trunc_shr_i32 tcg-sparc: Remove most uses of TCG_TARGET_REG_BITS tcg: Add INDEX_op_trunc_shr_i32 tcg: Fix missed pointer size != TCG_TARGET_REG_BITS changes Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/exec/def-helper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/exec/def-helper.h b/include/exec/def-helper.h
index 73d51f9cf5..255b58bb03 100644
--- a/include/exec/def-helper.h
+++ b/include/exec/def-helper.h
@@ -84,7 +84,7 @@
#define dh_is_64bit_noreturn 0
#define dh_is_64bit_i32 0
#define dh_is_64bit_i64 1
-#define dh_is_64bit_ptr (TCG_TARGET_REG_BITS == 64)
+#define dh_is_64bit_ptr (sizeof(void *) == 8)
#define dh_is_64bit(t) glue(dh_is_64bit_, dh_alias(t))
#define dh_is_signed_void 0