Skip to contentSkip to conversation

[6830] tcg: allow bswap16_i32 to be implemented by TCG backends

Qemu-devel Aurelien Jarno 1 participant 1 message Mar 13, 2009

lore
Share & tools
lore
#0 lore raw

Revision: 6830

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6830
Author:   aurel32
Date:     2009-03-13 09:34:56 +0000 (Fri, 13 Mar 2009)

Log Message:
-----------
tcg: allow bswap16_i32 to be implemented by TCG backends

Modified Paths:
--------------
trunk/tcg/tcg-opc.h

Modified: trunk/tcg/tcg-opc.h
===================================================================

tcg/tcg-opc.h +3 -0
@@ -89,6 +89,9 @@
 #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