|
From: | Richard Henderson |
Subject: | Re: [Qemu-devel] [PATCH 2/4] target-tilegx: Implement fpu single floating point |
Date: | Thu, 12 Nov 2015 15:36:21 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
+ if (sfmt.calc == TILEGX_F_CALC_CVT) { + if (sfmt.sign) + f.f = int32_to_float32(0 - sfmt.mantissa, fp_status); + else + f.f = uint32_to_float32(sfmt.mantissa, fp_status); + } else {
Formatting. You really should know better by now. I'm not even going to look at the rest. r~
[Prev in Thread] | Current Thread | [Next in Thread] |