On 12 December 2011 18:10, andrzej zaborowski <balr...@gmail.com> wrote:
> On 12 December 2011 19:03, Peter Maydell <peter.mayd...@linaro.org> wrote:
>> On 12 December 2011 17:24, andrzej zaborowski <balr...@gmail.com> wrote:
>>> BTW: I think we can also use the "ld" branch when we see the goto
>>> target is in Thumb mode.
>>
>> The target of a goto is currently never Thumb (because gotos are
>> always to other TCG generated code and we only generate ARM insns).
>
> I'm aware of that, I just like functions that can do what their name
> says well. :)

It does have an assert which will catch it if you try, so no one
should get caught out
by it, and on ARMv7 the add is apparently an interworking branch, so I
think it might
even work.

Dave

Reply via email to