[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 05/21] tcg-i386: Tidy bswap operations.
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH 05/21] tcg-i386: Tidy bswap operations. |
Date: |
Mon, 19 Apr 2010 14:19:12 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Thunderbird/3.0.4 |
On 04/19/2010 11:05 AM, malc wrote:
> Apparently i'm not the only one who misinterpreted this bit of bswap
> documentation. How about:
>
> diff --git a/tcg/README b/tcg/README
> index 68d27ff..5b39a38 100644
> --- a/tcg/README
> +++ b/tcg/README
> @@ -269,7 +269,7 @@ ext32u_i64 t0, t1
> * bswap16_i32/i64 t0, t1
>
> 16 bit byte swap on a 32/64 bit value. It assumes that the two/six high
> order
> -bytes are set to zero.
> +bytes of t1 are set to zero.
Ok by me. You should also adjust the bswap32 documentation just below.
r~
- [Qemu-devel] [PATCH 00/21] tcg-i386 cleanup and improvement, Richard Henderson, 2010/04/14
- [Qemu-devel] [PATCH 01/21] tcg-i386: Allocate call-saved registers first., Richard Henderson, 2010/04/14
- [Qemu-devel] [PATCH 03/21] tcg-i386: Tidy ext8u and ext16u operations., Richard Henderson, 2010/04/14
- [Qemu-devel] [PATCH 02/21] tcg-i386: Tidy initialization of tcg_target_call_clobber_regs., Richard Henderson, 2010/04/14
- [Qemu-devel] [PATCH 04/21] tcg-i386: Tidy ext8s and ext16s operations., Richard Henderson, 2010/04/14
- [Qemu-devel] [PATCH 05/21] tcg-i386: Tidy bswap operations., Richard Henderson, 2010/04/14
[Qemu-devel] [PATCH 10/21] tcg-i386: Tidy immediate arithmetic operations., Richard Henderson, 2010/04/14
[Qemu-devel] [PATCH 06/21] tcg-i386: Tidy shift operations., Richard Henderson, 2010/04/14
[Qemu-devel] [PATCH 11/21] tcg-i386: Tidy non-immediate arithmetic operations., Richard Henderson, 2010/04/14
[Qemu-devel] [PATCH 09/21] tcg-i386: Tidy jumps., Richard Henderson, 2010/04/14
[Qemu-devel] [PATCH 08/21] tcg-i386: Eliminate extra move from qemu_ld64., Richard Henderson, 2010/04/14
[Qemu-devel] [PATCH 07/21] tcg-i386: Tidy move operations., Richard Henderson, 2010/04/14
[Qemu-devel] [PATCH 13/21] tcg-i386: Tidy push/pop., Richard Henderson, 2010/04/14
[Qemu-devel] [PATCH 12/21] tcg-i386: Tidy movi., Richard Henderson, 2010/04/14
[Qemu-devel] [PATCH 19/21] tcg-i386: Tidy xchg., Richard Henderson, 2010/04/14
[Qemu-devel] [PATCH 16/21] tcg-i386: Tidy setcc., Richard Henderson, 2010/04/14