Skip to contentSkip to conversation

[6834] tcg: update README wrt recent bswap changes

Qemu-devel Aurelien Jarno 2 participants 3 messages Mar 13, 2009 – Mar 28, 2009

lore
Share & tools
lore
#0 lore raw

Revision: 6834

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

Log Message:
-----------
tcg: update README wrt recent bswap changes

Modified Paths:
--------------
trunk/tcg/README

Modified: trunk/tcg/README
===================================================================

tcg/README +7 -6
@@ -263,16 +263,17 @@
 
 8, 16 or 32 bit sign/zero extension (both operands must have the same type)
 
-* bswap16_i32 t0, t1
+* bswap16_i32/i64 t0, t1
 
-16 bit byte swap on a 32 bit value. The two high order bytes must be set
-to zero.
+16 bit byte swap on a 32/64 bit value. The two/six high order bytes must be
+set to zero.
 
-* bswap_i32 t0, t1
+* bswap32_i32/i64 t0, t1
 
-32 bit byte swap
+32 bit byte swap on a 32/64 bit value. With a 32 bit value, the four high
+order bytes must be set to zero.
 
-* bswap_i64 t0, t1
+* bswap64_i64 t0, t1
 
 64 bit byte swap
 
#1 lore raw

tcg/README line 274

Quoted 6 lines · Aurelien Jarno
tcg/README +3 -2
-* bswap_i32 t0, t1
+* bswap32_i32/i64 t0, t1
 
-32 bit byte swap
+32 bit byte swap on a 32/64 bit value. With a 32 bit value, the four high
+order bytes must be set to zero.
                                                 ^^ 64-bit?

(I think it'd be cheating to only allow byteswaps of 0! ;-))

Otherwise, nice additions, BTW. :-)

Cheers,

Signature · 1 line
Stuart Brady
#2 lore raw
Quoted 11 lines · Stuart Brady

tcg/README line 274

Quoted 6 lines · Aurelien Jarno
tcg/README +3 -2
-* bswap_i32 t0, t1
+* bswap32_i32/i64 t0, t1
 
-32 bit byte swap
+32 bit byte swap on a 32/64 bit value. With a 32 bit value, the four high
+order bytes must be set to zero.
                                                 ^^ 64-bit?

(I think it'd be cheating to only allow byteswaps of 0! ;-))

Thanks, fixed.

Signature · 2 lines
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
[email protected]                 http://www.aurel32.net