[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 15/22] target/arm: Add ARM_FEATURE_V7VE for v
From: |
Aaron Lindsay |
Subject: |
Re: [Qemu-devel] [PATCH v3 15/22] target/arm: Add ARM_FEATURE_V7VE for v7 Virtualization Extensions |
Date: |
Fri, 1 Jun 2018 15:12:49 -0400 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Jun 01 16:59, Peter Maydell wrote:
> On 1 June 2018 at 16:34, Aaron Lindsay <address@hidden> wrote:
> >> switch (extract32(id_isar0, 24, 4)) {
> >> case 1:
> >> set_feature(&features, ARM_FEATURE_THUMB_DIV);
> >> break;
> >> case 2:
> >> set_feature(&features, ARM_FEATURE_ARM_DIV);
> >> set_feature(&features, ARM_FEATURE_THUMB_DIV);
> >> break;
> >> default:
> >> break;
> >> }
> >
> > Should this switch/case be removed entirely?
>
> Yes, I think so (and also the id_isar0 variable and the
> idregs[] entry which arranges to initialize it). We should
> just set the THUMB_DIV and ARM_DIV features explicitly.
Okay, thanks for straightening me out! I sensed there was some
inconsistency, but misjudged exactly where. I'll include this change in
my next patchset.
-Aaron
--
Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.