[PATCH][ARM]Tighten the conditions for arm_movw, arm_movt

2015-08-19 Thread Renlin Li
S will produce '''offset out of range'' error message when the addend for MOVW/MOVT REL relocation is too large. arm-none-eabi regression tests Okay, Okay to commit to the trunk and backport to 5.0? Regards, Renlin gcc/ChangeLog: 2015-08-19 Renlin Li

Is it Okay for GCC to do the following simplifications with "-ffast-math" flag

2015-05-05 Thread Renlin Li
Hi all, For the following illustrative code, double f1(int x) { return (double)(float)x; } --> return (double)x; int f2(double x) { return (int)(float)x; } --> return (int)x; Is it Okay for the compiler to do the simplifications shown above with fast-match enabled? Regards, Renlin Li

Re: Is it Okay for GCC to do the following simplifications with "-ffast-math" flag

2015-05-07 Thread Renlin Li
On 05/05/15 22:47, Jeff Law wrote: On 05/05/2015 07:27 AM, Renlin Li wrote: Hi all, For the following illustrative code, double f1(int x) { return (double)(float)x; } --> return (double)x; int f2(double x) { return (int)(float)x; } --> return (int)x; Is it Okay for the compiler to

BLKmode parameters are stored in unaligned stack slot when passed via registers.

2018-03-06 Thread Renlin Li
Hi all, The problem described here probably only affects targets whose ABI allow to pass structured arguments of certain size via registers. If the mode of the parameter type is BLKmode, in the callee, during RTL expanding, a stack slot will be reserved for this parameter, and the incoming val

Re: BLKmode parameters are stored in unaligned stack slot when passed via registers.

2018-03-06 Thread Renlin Li
Hi Richard, On 06/03/18 16:04, Richard Biener wrote: On Tue, Mar 6, 2018 at 4:21 PM, Renlin Li wrote: Hi all, The problem described here probably only affects targets whose ABI allow to pass structured arguments of certain size via registers. If the mode of the parameter type is BLKmode, in

Re: BLKmode parameters are stored in unaligned stack slot when passed via registers.

2018-03-12 Thread Renlin Li
Hi Jeff, On 07/03/18 17:02, Jeff Law wrote: On 03/06/2018 08:21 AM, Renlin Li wrote: Hi all, The problem described here probably only affects targets whose ABI allow to pass structured arguments of certain size via registers. If the mode of the parameter type is BLKmode, in the callee

Re: Aarch64 implementation for dwarf exception handling

2014-02-13 Thread Renlin Li
On 13/02/14 02:14, Shiva Chen wrote: Hi, I have a question about the implementation of aarch64_final_eh_return_addr which is used to point out the return address of the frame According the source code If FP is not needed return gen_frame_mem (DImode, plus_constan