[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 05/17] s390x: enable CPU_QuadU
From: |
Alexander Graf |
Subject: |
Re: [Qemu-devel] [PATCH 05/17] s390x: enable CPU_QuadU |
Date: |
Thu, 24 Mar 2011 17:54:36 +0100 |
On 24.03.2011, at 17:52, Peter Maydell wrote:
> On 24 March 2011 15:58, Alexander Graf <address@hidden> wrote:
>> --- a/cpu-all.h
>> +++ b/cpu-all.h
>> @@ -138,7 +138,7 @@ typedef union {
>> uint64_t ll;
>> } CPU_DoubleU;
>>
>> -#ifdef TARGET_SPARC
>> +#if defined(TARGET_SPARC) || defined(TARGET_S390X)
>> typedef union {
>> float128 q;
>> #if defined(HOST_WORDS_BIGENDIAN) \
>
> I think this typedef should just be protected by
> #ifdef CONFIG_SOFTFLOAT (because only softfloat defines
> a float128 type) rather than by a set of TARGET_* checks.
>
> If you do that then you can get rid of the "|| (defined(__arm__)
> && !defined(__VFP_FP__) && !defined(CONFIG_SOFTFLOAT))" part
> of the inner ifdef, beacuse it's always false.
I'm fairly indifferent on that one :).
Alex
- [Qemu-devel] [PATCH 00/17] s390x emulation support, Alexander Graf, 2011/03/24
- [Qemu-devel] [PATCH 05/17] s390x: enable CPU_QuadU, Alexander Graf, 2011/03/24
- [Qemu-devel] [PATCH 09/17] s390x: Dispatch interrupts to KVM or the real CPU, Alexander Graf, 2011/03/24
- [Qemu-devel] [PATCH 08/17] s390x: Enable s390x-softmmu target, Alexander Graf, 2011/03/24
- [Qemu-devel] [PATCH 04/17] s390x: Enable nptl for s390x, Alexander Graf, 2011/03/24
- [Qemu-devel] [PATCH 02/17] virtio: use generic name when possible, Alexander Graf, 2011/03/24
- [Qemu-devel] [PATCH 11/17] s390x: virtio machine storage keys, Alexander Graf, 2011/03/24
- [Qemu-devel] [PATCH 15/17] s390x: Adjust internal kvm code, Alexander Graf, 2011/03/24
- [Qemu-devel] [PATCH 01/17] Only build ivshmem when CONFIG_PCI && CONFIG_KVM, Alexander Graf, 2011/03/24
- [Qemu-devel] [PATCH 07/17] linux-user: define a couple of syscalls for non-uid16 targets, Alexander Graf, 2011/03/24