[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH 3/6] tcg: Optional target implementation of ANDC
From: |
Richard Henderson |
Subject: |
[Qemu-devel] Re: [PATCH 3/6] tcg: Optional target implementation of ANDC. |
Date: |
Wed, 17 Feb 2010 11:15:17 -0800 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100120 Fedora/3.0.1-1.fc12 Thunderbird/3.0.1 |
On 02/17/2010 10:34 AM, Blue Swirl wrote:
> On Wed, Feb 17, 2010 at 12:10 AM, Richard Henderson <address@hidden> wrote:
>> Previously ANDC was always implemented by tcg-op.h with
>> an explicit NOT opcode. Allow a target implementation.
>
> I think the convention is to add commented out #defines or #undefs for
> all targets, like sparc in bswap case:
> //#define TCG_TARGET_HAS_bswap32_i32
> //#define TCG_TARGET_HAS_bswap64_i64
> or mips:
> #undef TCG_TARGET_HAS_bswap32_i32
> #undef TCG_TARGET_HAS_bswap16_i32
Apparently that was only done for bswap, because there's a lot of
optional opcodes that are missing everywhere. I suppose I could
add those as a separate patch.
r~
- [Qemu-devel] [PATCH 0/6] tcg-sparc improvements, Richard Henderson, 2010/02/16
- [Qemu-devel] [PATCH 2/6] tcg-sparc: Implement not., Richard Henderson, 2010/02/16
- [Qemu-devel] [PATCH 3/6] tcg: Optional target implementation of ANDC., Richard Henderson, 2010/02/16
- [Qemu-devel] [PATCH 6/6] tcg-sparc: Implement ORC., Richard Henderson, 2010/02/16
- [Qemu-devel] [PATCH 5/6] tcg-sparc: Implement ANDC., Richard Henderson, 2010/02/16
- [Qemu-devel] [PATCH 4/6] tcg: Optional target implementation of ORC., Richard Henderson, 2010/02/16
- [Qemu-devel] [PATCH 1/6] tcg-sparc: Implement neg., Richard Henderson, 2010/02/16
- [Qemu-devel] Re: [PATCH 0/6] tcg-sparc improvements, Blue Swirl, 2010/02/17