On 11/13/15 00:18, Richard Henderson wrote:
> On 11/12/2015 05:12 PM, Chen Gang wrote:
>> On 11/12/15 22:36, Richard Henderson wrote:
+if (sfmt.calc == TILEGX_F_CALC_CVT) {
+if (sfmt.sign)
+f.f = int32_to_float32(0 - sfmt.mantissa, fp_status);
+el
On 11/12/2015 05:12 PM, Chen Gang wrote:
On 11/12/15 22:36, Richard Henderson wrote:
+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);
On 11/12/15 22:36, Richard Henderson wrote:
>> +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 {
>
> Format
+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
>From 3270485ebd56429f6f62f0a4f967009d8a1b14d6 Mon Sep 17 00:00:00 2001
From: Chen Gang
Date: Sun, 8 Nov 2015 09:08:40 +0800
Subject: [PATCH 2/4] target-tilegx: Implement fpu single floating point
instructions
Signed-off-by: Chen Gang
---
target-tilegx/fsingle_helper.c | 168 ++