qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v3 09/14] tcg-arm: Simplify logic in detecting t


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH v3 09/14] tcg-arm: Simplify logic in detecting the ARM ISA in use
Date: Thu, 4 Jul 2013 20:29:17 +0100

On 4 July 2013 18:44, Richard Henderson <address@hidden> wrote:
> On 07/04/2013 04:22 AM, Peter Maydell wrote:
>>
>> This change means we now set use_armv5_instructions
>> for __ARCH_ARCH_5__ and __ARM_ARCH_5E__, which we didn't
>> before. However one of the things that bool is gating is
>> whether we use the 'blx' insn, which is ARMv5T and above only.
>> So this will break v5-but-not-v5T CPUs.
>
> Hmm.  And thus platform=v5 plus HWCAP_THUMB ought to detect
> that too, eh?

Should do, yes. (v5-but-not-v5T is pretty rare though; the
v7 ARM ARM describes it as an "obsolete variant", putting it
in the same class as ARMv1, v2 and v3. So if you wanted to
argue that we should just not support running on v5-not-T
you'd have a fairly reasonable case.)

-- PMM



reply via email to

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