From: aurel32 Date: Fri, 13 Mar 2009 09:34:56 +0000 (+0000) Subject: tcg: allow bswap16_i32 to be implemented by TCG backends X-Git-Tag: v0.11.0-rc0~1126 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=84aafb06ff6e59aa48c6bc1f86ab5f7eb584f40f;p=qemu-xen-4.4-testing.git tcg: allow bswap16_i32 to be implemented by TCG backends Signed-off-by: Aurelien Jarno git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6830 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/tcg/tcg-opc.h b/tcg/tcg-opc.h index c7f2b80d8..b5fc197d6 100644 --- a/tcg/tcg-opc.h +++ b/tcg/tcg-opc.h @@ -89,6 +89,9 @@ DEF2(ext8s_i32, 1, 1, 0, 0) #ifdef TCG_TARGET_HAS_ext16s_i32 DEF2(ext16s_i32, 1, 1, 0, 0) #endif +#ifdef TCG_TARGET_HAS_bswap16_i32 +DEF2(bswap16_i32, 1, 1, 0, 0) +#endif #ifdef TCG_TARGET_HAS_bswap32_i32 DEF2(bswap32_i32, 1, 1, 0, 0) #endif