qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2] softfloat: rename make_float[x80|128]_init t


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH v2] softfloat: rename make_float[x80|128]_init to const_float[x80|128]
Date: Tue, 19 Sep 2017 16:18:16 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

On 09/19/2017 04:10 PM, Laurent Vivier wrote:
> We already have const_float16(), const_float32() and const_float64(),
> so rename make_floatx80_init() and make_float128_init() as

s/as/to now be/

> const_floatx80() and const_float128().

s/\./, for consistency./

> 
> Redefine make_float16(), make_float32() and make_float64() as

s/as/to be like/

> make_floatx80() and make_float128() using a cast.

s/ using a cast/, by using a compound literal/

I almost wonder if splitting this patch into two parts makes more sense
(one for the renaming of make_float[x80,128]_init, the other for the
rewriting of make_float[16,32,64] from gcc extension to compound literal).

At any rate, the code itself looks fine.

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]