[llvm-commits] [PATCH] improve ARM halt encoding

JF Bastien jfb at google.com
Wed Jan 16 16:27:14 PST 2013


As discussed over IRC: it then makes sense to only change the encoding for
the NaCl triple (which is effectively its own OS).


On Wed, Jan 16, 2013 at 4:17 PM, Jim Grosbach <grosbach at apple.com> wrote:

>
> On Jan 16, 2013, at 3:45 PM, Renato Golin Linaro <renato.golin at linaro.org>
> wrote:
>
> On 16 January 2013 22:39, Jim Grosbach <grosbach at apple.com> wrote:
>
>> The entire encoding is semantically significant on Darwin. I suspect
>> that's true on other platforms, too, but I don't know for sure.
>>
>
> I'm not sure either. I agree with Bastien that it *should* trap on both
> ARM and Thumb, but it also depends on what catch routine is installed and
> other hard-to-know problems.
>
>
> Both instructions will trap; however, how they trap is also important. In
> this case, it's the difference between the user program terminating with
> SIGILL vs. SIGTRAP.
>
> -Jim
>
>
> Bastien, Have you tested in which platforms?
>
> cheers,
> --renato
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130116/f780005d/attachment.html>


More information about the llvm-commits mailing list