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, during

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

2018-03-07 Thread Jeff Law
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, during RTL > expanding, > a stack slot w

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

2018-03-07 Thread Richard Biener
On Tue, Mar 6, 2018 at 9:02 PM, Renlin Li wrote: > 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 >>> argu

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-06 Thread Richard Biener
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 the callee, during RTL > expanding, > a stack

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