Displaying 5 results from an estimated 5 matches for "isstackrealign".
Did you mean:
mstackrealign
2013 Nov 18
2
[LLVMdev] Unaligned load/store for callee-saved 128-bit registers
...gt;CreateStackObject(RC->getSize(), Align, true);
This will create unaligned load/store for a callee-saved 128-bit register
on the frame slot because StackAlign is 4.
Adding a check for stack realignable or putting all the 128-bit registers
as caller-save will fix the problem.
if (!TFI->isStackRealignable()) <--- new line
Align = std::min(Align, StackAlign);
Is this a bug or am I missing something?
Thanks,
Francois Pichet, Octasic.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131118/dc1...
2013 Nov 21
2
[LLVMdev] Unaligned load/store for callee-saved 128-bit registers
...e-saved 128-bit
> > > register on the frame slot because StackAlign is 4.
> > >
> > >
> > > Adding a check for stack realignable or putting all the 128-bit
> > > registers as caller-save will fix the problem.
> > >
> > > if (!TFI->isStackRealignable()) <--- new line
> > > Align = std::min(Align, StackAlign);
> > >
> > > Is this a bug or am I missing something?
> > >
> >
> > This looks like a bug. By default, isStackRealignable() always
> > returns true (this default comes from the...
2013 Nov 21
2
[LLVMdev] Unaligned load/store for callee-saved 128-bit registers
...te unaligned load/store for a callee-saved 128-bit
> > register on the frame slot because StackAlign is 4.
> >
> >
> > Adding a check for stack realignable or putting all the 128-bit
> > registers as caller-save will fix the problem.
> >
> > if (!TFI->isStackRealignable()) <--- new line
> > Align = std::min(Align, StackAlign);
> >
> > Is this a bug or am I missing something?
> >
>
> This looks like a bug. By default, isStackRealignable() always
> returns true (this default comes from the TargetFrameLowering
> construct...
2013 Nov 18
0
[LLVMdev] Unaligned load/store for callee-saved 128-bit registers
...e);
>
>
> This will create unaligned load/store for a callee-saved 128-bit
> register on the frame slot because StackAlign is 4.
>
>
> Adding a check for stack realignable or putting all the 128-bit
> registers as caller-save will fix the problem.
>
> if (!TFI->isStackRealignable()) <--- new line
> Align = std::min(Align, StackAlign);
>
> Is this a bug or am I missing something?
>
This looks like a bug. By default, isStackRealignable() always returns true (this default comes from the TargetFrameLowering constructor). I wonder, however, is this is not c...
2013 Nov 21
0
[LLVMdev] Unaligned load/store for callee-saved 128-bit registers
...llee-saved 128-bit
> > > register on the frame slot because StackAlign is 4.
> > >
> > >
> > > Adding a check for stack realignable or putting all the 128-bit
> > > registers as caller-save will fix the problem.
> > >
> > > if (!TFI->isStackRealignable()) <--- new line
> > > Align = std::min(Align, StackAlign);
> > >
> > > Is this a bug or am I missing something?
> > >
> >
> > This looks like a bug. By default, isStackRealignable() always
> > returns true (this default comes from the Ta...