Re: use call-clobbered reg to disalign the stack

2019-10-14 Thread Jeff Law
On 10/7/19 8:42 PM, Alexandre Oliva wrote: > Some x86 tests of stack realignment, that disaligned the stack with > pushes and pops, failed when the compiler was configured to tune for a > target that preferred to accumulate outgoing arguments: the stack > space is reserved before the asm push, the

Re: use call-clobbered reg to disalign the stack

2019-10-08 Thread Uros Bizjak
> Some x86 tests of stack realignment, that disaligned the stack with > pushes and pops, failed when the compiler was configured to tune for a > target that preferred to accumulate outgoing arguments: the stack > space is reserved before the asm push, the call sequence overwrites > the saved

use call-clobbered reg to disalign the stack

2019-10-07 Thread Alexandre Oliva
Some x86 tests of stack realignment, that disaligned the stack with pushes and pops, failed when the compiler was configured to tune for a target that preferred to accumulate outgoing arguments: the stack space is reserved before the asm push, the call sequence overwrites the saved register, and