[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH] tcg/arm: Support host code being compiled for T

From: andrzej zaborowski
Subject: [Qemu-devel] Re: [PATCH] tcg/arm: Support host code being compiled for Thumb
Date: Thu, 24 Mar 2011 03:43:15 +0100


On 16 March 2011 16:21, Peter Maydell <address@hidden> wrote:
> Although the TCG generated code is always in ARM mode, it is possible
> that the host code was compiled by gcc in Thumb mode (this is often the
> default for Linux distributions targeting ARM v7 only). Handle this
> by using BLX imm when doing a call from ARM into Thumb mode.
> Since BLX imm is not a conditionalisable instruction, we make
> tcg_out_call() no longer take a condition code; we were only ever
> using it with COND_AL anyway.

Thanks, I pushed this patch.  I think we can also support armv4t by
using mov and bx (?).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]