Re: [PATCH] Enable two UNSIGNED_FLOAT simplifications in simplify_unary_operation_1

2015-07-06 Thread Kyrill Tkachov
On 23/06/15 11:43, Renlin Li wrote: Hi Christophe, Yes, we have also noticed this failure. Here I have a simple patch to remove the mfloat-abi option for hard-float toolchain. The default abi is used. For non-hardfloat toolchain, softfp abi is specified. I have checked with arm-none-eabi and

Re: [PATCH] Enable two UNSIGNED_FLOAT simplifications in simplify_unary_operation_1

2015-06-23 Thread Renlin Li
Hi Christophe, Yes, we have also noticed this failure. Here I have a simple patch to remove the mfloat-abi option for hard-float toolchain. The default abi is used. For non-hardfloat toolchain, softfp abi is specified. I have checked with arm-none-eabi and arm-none-linux-gnueabihf toolchain,

Re: [PATCH] Enable two UNSIGNED_FLOAT simplifications in simplify_unary_operation_1

2015-06-16 Thread Christophe Lyon
On 20 March 2015 at 18:03, Renlin Li wrote: > Hi all, > > This is a simple patch to enable two simplifications for UNSIGNED_FLOAT > expression. > > For the following rtx patterns, they can be simplified when the integer x > can be > represented in float mode without precision loss: > > float_trunc

Re: [PATCH] Enable two UNSIGNED_FLOAT simplifications in simplify_unary_operation_1

2015-04-15 Thread Jeff Law
On 03/20/2015 11:03 AM, Renlin Li wrote: Hi all, This is a simple patch to enable two simplifications for UNSIGNED_FLOAT expression. For the following rtx patterns, they can be simplified when the integer x can be represented in float mode without precision loss: float_truncate (float x) --> f

[PATCH] Enable two UNSIGNED_FLOAT simplifications in simplify_unary_operation_1

2015-03-20 Thread Renlin Li
Hi all, This is a simple patch to enable two simplifications for UNSIGNED_FLOAT expression. For the following rtx patterns, they can be simplified when the integer x can be represented in float mode without precision loss: float_truncate (float x) --> float x float_extend (float x) --> float