[llvm] r224682 - ARM: further improve deprecated diagnosis (LDM)

James Molloy james at jamesmolloy.co.uk
Wed Dec 24 14:43:19 PST 2014


Hi Joerg,

If enabling an error on unpredictable instructions breaks assembler code,
that assembler code was previously silently broken.

Unpredictability is basically 'implementation defined, do not rely on in
the general sense'.

James

On Wed, 24 Dec 2014 at 22:26, Joerg Sonnenberger <joerg at britannica.bec.de>
wrote:

> On Wed, Dec 24, 2014 at 10:44:19AM -0000, Kristof Beyls wrote:
> > > >   POP:
> > > >     The SP can only be in the list before ARMv7.
> > >
> > > What happens on ARMv7? CPU burns? Magically misbehaving programs?
> >
> > The ARMv7-AR ARMARM shows that the use of SP in the register
> > list operand of a POP instruction makes the instruction "UNPREDICTABLE".
>
> *sigh* Can someone please hurt whoever thought this up very very badly?
> This is simply not acceptable behavior for CPU design...
>
> Joerg
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141224/71cbb02e/attachment.html>


More information about the llvm-commits mailing list