All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/9] tcg: reorganize bswap* functions
@ 2009-03-11 17:08 Aurelien Jarno
  2009-03-11 11:02 ` [Qemu-devel] [PATCH 1/9] tcg: rename bswap_i32/i64 functions Aurelien Jarno
                   ` (9 more replies)
  0 siblings, 10 replies; 14+ messages in thread
From: Aurelien Jarno @ 2009-03-11 17:08 UTC (permalink / raw)
  To: qemu-devel

Hi all,

This patch series tries to reorganize a bit the bswap* TCG functions.

Currently we have bswap16_i32, bswap_i32 and bswap_i64, which means that
on a 64-bit target operating on 16- or 32-bit data (eg lhbrw/lwbrx on
powerpc), we need first to convert the 64-bit register value to a 32-bit
value, then apply bswap16_i32 and convert it back to a 64-bit register.

The patches define bswap16 and bswap32 for both i32 and i64 types, as
well as bswap64 for i64 type. The corresponding instructions are
implemented for x86 and x86_64 backends.

Best regards,
Aurelien

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2009-03-12 13:37 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-11 17:08 [Qemu-devel] [PATCH 0/9] tcg: reorganize bswap* functions Aurelien Jarno
2009-03-11 11:02 ` [Qemu-devel] [PATCH 1/9] tcg: rename bswap_i32/i64 functions Aurelien Jarno
2009-03-11 11:06 ` [Qemu-devel] [PATCH 2/9] tcg: allow bswap16_i32 to be implemented by TCG backends Aurelien Jarno
2009-03-11 11:08 ` [Qemu-devel] [PATCH 3/9] tcg: add bswap16_i64 and bswap32_i64 TCG ops Aurelien Jarno
2009-03-11 11:13 ` [Qemu-devel] [PATCH 4/9] tcg: add _tl aliases to bswap16/32/64 " Aurelien Jarno
2009-03-11 12:51 ` [Qemu-devel] [PATCH 6/9] target-ppc: use the new bswap* " Aurelien Jarno
2009-03-11 12:59 ` [Qemu-devel] [PATCH 7/9] target-i386: " Aurelien Jarno
2009-03-11 13:41 ` [Qemu-devel] [PATCH 8/9] tcg/x86: add bswap16_i32 ops Aurelien Jarno
2009-03-11 15:54 ` [Qemu-devel] [PATCH 9/9] tcg/x86_64: add bswap16_i{32, 64} and bswap32_i64 ops Aurelien Jarno
2009-03-11 16:32 ` [Qemu-devel] [PATCH 5/9] tcg: update README wrt recent bswap changes Aurelien Jarno
2009-03-12 12:29 ` [Qemu-devel] [PATCH 0/9] tcg: reorganize bswap* functions Paul Brook
2009-03-12 12:56   ` Aurelien Jarno
2009-03-12 13:31     ` Paul Brook
2009-03-12 13:37       ` Aurelien Jarno

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.