aboutsummaryrefslogtreecommitdiff
path: root/tcg/tcg-opc.h
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-13 09:34:56 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-13 09:34:56 +0000
commit84aafb06ff6e59aa48c6bc1f86ab5f7eb584f40f (patch)
tree86d585f2851313176e6a7d0b685c7d7de2d973b0 /tcg/tcg-opc.h
parent66896cb803b4865c0c35b218dbc407e1fcf7f7f7 (diff)
downloadqemu-84aafb06ff6e59aa48c6bc1f86ab5f7eb584f40f.zip
qemu-84aafb06ff6e59aa48c6bc1f86ab5f7eb584f40f.tar.gz
qemu-84aafb06ff6e59aa48c6bc1f86ab5f7eb584f40f.tar.bz2
tcg: allow bswap16_i32 to be implemented by TCG backends
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6830 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tcg/tcg-opc.h')
-rw-r--r--tcg/tcg-opc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tcg/tcg-opc.h b/tcg/tcg-opc.h
index c7f2b80..b5fc197 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