Message ID | 1418684992-8996-9-git-send-email-greg.bellows@linaro.org |
---|---|
State | Superseded |
Headers | show
Return-Path: <patchwork-forward+bncBCTYDDF56AHBBLGWXWSAKGQEAMNMZNY@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f72.google.com (mail-wg0-f72.google.com [74.125.82.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 330F226C88 for <linaro@patches.linaro.org>; Mon, 15 Dec 2014 23:13:49 +0000 (UTC) Received: by mail-wg0-f72.google.com with SMTP id y19sf7886773wgg.11 for <linaro@patches.linaro.org>; Mon, 15 Dec 2014 15:13:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=6ziNNEp/GrYWrrRPtxfk4GmJIQ0DKRhaQcfMbpirD6M=; b=FckbrABhWmY99vuwHnbGuk5ufdLfgO7CXyI+0B50cXMkS3kAhtdxRv2fxUUGsA7tvG joK91sxamBrIdfqG5mVi/zZVrdRZZeuHZUudAnrIuUqObD0aMr+aVcM4jY8Uq9s0zxyw gEyK0zvGQGxUlKRxd0XOGoECWET++tlcEV9jhokD12Vjr76ZqkPY0AwU4EMLw0PxYD/2 6Fi9v6gOPsD2HP0fv/3cLPhNcZT9GxBeoO/mN0HLRueSfC2tleugx/Wfd7mnp2DoZqRi FN9C5YBwnxKB4FUUgOPWTo3Q75DMYRNNytYl5B/WAN4swedtD+RFV9eFcP7xlQ1ajRjv c7OA== X-Gm-Message-State: ALoCoQm7Jbp2pNZhZYcgr2WZ5umhoM4UNmwSsE03R/4evZ1Bgq9vlxD2DB7ebpmyKp/8R3xKeHgl X-Received: by 10.194.134.193 with SMTP id pm1mr19919wjb.4.1418685228483; Mon, 15 Dec 2014 15:13:48 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.7.232 with SMTP id m8ls756420laa.45.gmail; Mon, 15 Dec 2014 15:13:48 -0800 (PST) X-Received: by 10.152.5.226 with SMTP id v2mr21722608lav.34.1418685228032; Mon, 15 Dec 2014 15:13:48 -0800 (PST) Received: from mail-la0-f53.google.com (mail-la0-f53.google.com. [209.85.215.53]) by mx.google.com with ESMTPS id l8si4792205lag.2.2014.12.15.15.13.47 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 15 Dec 2014 15:13:47 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) client-ip=209.85.215.53; Received: by mail-la0-f53.google.com with SMTP id gm9so10209258lab.26 for <patchwork-forward@linaro.org>; Mon, 15 Dec 2014 15:13:47 -0800 (PST) X-Received: by 10.152.5.226 with SMTP id v2mr21722600lav.34.1418685227899; Mon, 15 Dec 2014 15:13:47 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.142.69 with SMTP id ru5csp866587lbb; Mon, 15 Dec 2014 15:13:47 -0800 (PST) X-Received: by 10.229.178.67 with SMTP id bl3mr23361056qcb.18.1418685225349; Mon, 15 Dec 2014 15:13:45 -0800 (PST) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id m6si12464541qaz.25.2014.12.15.15.13.44 for <patch@linaro.org> (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 15 Dec 2014 15:13:45 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:42322 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1Y0epk-000863-8J for patch@linaro.org; Mon, 15 Dec 2014 18:13:44 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36002) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <greg.bellows@linaro.org>) id 1Y0emU-0003fS-Ot for qemu-devel@nongnu.org; Mon, 15 Dec 2014 18:10:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <greg.bellows@linaro.org>) id 1Y0emO-0000gH-7z for qemu-devel@nongnu.org; Mon, 15 Dec 2014 18:10:22 -0500 Received: from mail-pd0-f169.google.com ([209.85.192.169]:60681) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <greg.bellows@linaro.org>) id 1Y0emO-0000g8-2G for qemu-devel@nongnu.org; Mon, 15 Dec 2014 18:10:16 -0500 Received: by mail-pd0-f169.google.com with SMTP id z10so12617377pdj.14 for <qemu-devel@nongnu.org>; Mon, 15 Dec 2014 15:10:15 -0800 (PST) X-Received: by 10.70.22.227 with SMTP id h3mr56068057pdf.160.1418685015644; Mon, 15 Dec 2014 15:10:15 -0800 (PST) Received: from gbellows-linaro.qualcomm.com (rrcs-67-52-129-61.west.biz.rr.com. [67.52.129.61]) by mx.google.com with ESMTPSA id uq15sm10402467pab.8.2014.12.15.15.10.14 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 15 Dec 2014 15:10:14 -0800 (PST) From: Greg Bellows <greg.bellows@linaro.org> To: qemu-devel@nongnu.org, serge.fdrv@gmail.com, edgar.iglesias@gmail.com, aggelerf@ethz.ch, peter.maydell@linaro.org Date: Mon, 15 Dec 2014 17:09:45 -0600 Message-Id: <1418684992-8996-9-git-send-email-greg.bellows@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1418684992-8996-1-git-send-email-greg.bellows@linaro.org> References: <1418684992-8996-1-git-send-email-greg.bellows@linaro.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.192.169 Cc: Greg Bellows <greg.bellows@linaro.org> Subject: [Qemu-devel] [PATCH v4 08/15] target-arm: Add feature unset function X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: greg.bellows@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 |
diff --git a/target-arm/cpu.c b/target-arm/cpu.c index d3db279..01afed2 100644 --- a/target-arm/cpu.c +++ b/target-arm/cpu.c @@ -327,6 +327,11 @@ static inline void set_feature(CPUARMState *env, int feature) env->features |= 1ULL << feature; } +static inline void unset_feature(CPUARMState *env, int feature) +{ + env->features &= ~(1ULL << feature); +} + static void arm_cpu_initfn(Object *obj) { CPUState *cs = CPU(obj);