From 9a5c57fdc1ffa558cf3ebda39d6e088662d5607d Mon Sep 17 00:00:00 2001 From: aurel32 Date: Fri, 13 Mar 2009 09:35:12 +0000 Subject: tcg: add bswap16_i64 and bswap32_i64 TCG ops Signed-off-by: Aurelien Jarno git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6832 c046a42c-6fe2-441c-8c8c-71466251a162 --- tcg/tcg-opc.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tcg/tcg-opc.h') diff --git a/tcg/tcg-opc.h b/tcg/tcg-opc.h index b5fc197d62..3a095fce14 100644 --- a/tcg/tcg-opc.h +++ b/tcg/tcg-opc.h @@ -152,6 +152,12 @@ DEF2(ext16s_i64, 1, 1, 0, 0) #ifdef TCG_TARGET_HAS_ext32s_i64 DEF2(ext32s_i64, 1, 1, 0, 0) #endif +#ifdef TCG_TARGET_HAS_bswap16_i64 +DEF2(bswap16_i64, 1, 1, 0, 0) +#endif +#ifdef TCG_TARGET_HAS_bswap32_i64 +DEF2(bswap32_i64, 1, 1, 0, 0) +#endif #ifdef TCG_TARGET_HAS_bswap64_i64 DEF2(bswap64_i64, 1, 1, 0, 0) #endif -- cgit v1.2.3