Message ID | 20190904193059.26202-40-richard.henderson@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp387675ilq; Wed, 4 Sep 2019 13:11:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqwHbYY6dojCgvreG/Z2x2J71/FEd/AQR8AuCM/Dmg5eV0M+506ThvRrF4tNpSsKVpH46+rY X-Received: by 2002:a37:9bd4:: with SMTP id d203mr19124377qke.257.1567627869100; Wed, 04 Sep 2019 13:11:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567627869; cv=none; d=google.com; s=arc-20160816; b=qXAHi3YnM9etReHdaL3iKD254DNwO1Bj0mBled59lYK0DhNu+ImXdiPGVHzwG3Xdci uNAmcQkBXuG1na023uw+n2lYkSZiCgH/Ucx8pemXK4t7P0F6nWzcIg9suFo6ZorCwHN0 BV7CDf7/+FoaINh6i5UVclssE/g1fhGd+MnyfuVUNw//wmnRLE1ZNA5NOkVKWwZXIRXa Zz3YvAFecNEikeQ214miQItJfZgT0cADPcW6QuBhX7ivs3JhOm/EQw55qvE4WYMpMwNk UgLBNyVhIER5X4gOiboUNidupgboU/935f8iAQThip5sh5C9NmFZ3gV2O9A6C0xXOAIO YNzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=O4gGKTm/ojsMEGeGW6yunfSWJTb8afl4fLManLOK4Wg=; b=t210VrDy/jDnQKWMwYicZUvvnMJAQldQbVhVWGQM1EreQadtD7GMRCS/SOlTf5LFvx FTVMvWN5kxMPhHMK7HghZqKobWKoyhYdMPPO+8FkHSvgKEyTOhdMC2tV+ixm2xIuOhVS 0ywQHP9VuldEY999bRaOKnIDl4+6nMNUc/eTolqq7xgb3Kl7wXR5HM0vhJqhFdBC+J8F RcWnDKniXXQ0SnocdZfb8hWv6ZGiViErkMa2vDVPtUQgqGobZ7wv8q115FCjDyd3QvRV zbfF66WcM7mhy0SkSqQlVhzfH72dxOQ4mKk4lsUlG4iXTHcEUwnnoVtRhxAewd1MmaRX r/dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=LVsmspge; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id v34si8415898qtk.69.2019.09.04.13.11.09 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 04 Sep 2019 13:11:09 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=LVsmspge; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:38496 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1i5bcR-0005o1-NG for patch@linaro.org; Wed, 04 Sep 2019 16:11:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40751) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1i5b0W-0005B6-9n for qemu-devel@nongnu.org; Wed, 04 Sep 2019 15:31:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1i5b0T-0002mV-2q for qemu-devel@nongnu.org; Wed, 04 Sep 2019 15:31:55 -0400 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]:33751) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1i5b0S-0002lQ-On for qemu-devel@nongnu.org; Wed, 04 Sep 2019 15:31:52 -0400 Received: by mail-pg1-x544.google.com with SMTP id n190so11795990pgn.0 for <qemu-devel@nongnu.org>; Wed, 04 Sep 2019 12:31:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=O4gGKTm/ojsMEGeGW6yunfSWJTb8afl4fLManLOK4Wg=; b=LVsmspgeMt2rLJPKUlsfm/Y52JzVPCRKttgmM7YSTSsgJPmkj7X42e3ck+w0f8t400 /tdv3onZKJHBOXqLAc7scRdPXNfJu5H57q/wlgE/sCfRMmvhWifcRgZBOSnR7sDDOagL kqGH4i5gnl88GzpEhYpXnp3x1XhEatKCt/ihxfutVRTORAZr8pepxJv5qjkbpSChZIvP sVy+ZpYPyu/ulXv0uZVzhlUQBVfQtpO1MFDUpi+pXSZ2rIQH3OlvvCuj3+vy6Pc8wnBO kqDb83ZP2wVKT7U1TSiJv2rzWJdD3wZZbdBJ1GIvB4FQ9ll9KU36P9xyicNYkRl+SZG9 +IMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=O4gGKTm/ojsMEGeGW6yunfSWJTb8afl4fLManLOK4Wg=; b=YecmQSjrlqZa5/oVoODo+YbZ4xIcsel6UTRhzllWMCO+5REAQ3oOZLRv2Ay27YbOKK t1CJz/qWcPGYIZ37ZIaS/oMeGfGp8VhDNrVlzd2T2BXII5sFOQYi4TwMUMhtmU8CDzww tlWaUd1O7EEIWkePMJOIVnvl0ODoO/hDCVVm7GUnNLAmVky1jb5zk2TvMx/J1Ew4EBCE 31/6CYua5LJ/UchJpaLKhFnE+XyGZ4RaT+2rpuyUQ7ZEiHsMSAHfpjtoZNVLYf446eH5 T2X0rKOZgH64ngyr3DLqv0+Kid5jwBnEmspOmQYcqC08tidsU2jwXVelGPS/4qLzhr8s luJw== X-Gm-Message-State: APjAAAU9YV96zOCYWMCmEUJjKzUMVogDke5fpenAhHHwBV954T8Y5rSC Mihp1pjnlRzoG87lFswCuDzpH57qlW4= X-Received: by 2002:a17:90a:da04:: with SMTP id e4mr6944783pjv.116.1567625511403; Wed, 04 Sep 2019 12:31:51 -0700 (PDT) Received: from localhost.localdomain (97-113-7-119.tukw.qwest.net. [97.113.7.119]) by smtp.gmail.com with ESMTPSA id f6sm18999174pga.50.2019.09.04.12.31.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Sep 2019 12:31:50 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Date: Wed, 4 Sep 2019 12:30:29 -0700 Message-Id: <20190904193059.26202-40-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190904193059.26202-1-richard.henderson@linaro.org> References: <20190904193059.26202-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::544 Subject: [Qemu-devel] [PATCH v4 39/69] target/arm: Convert Unallocated memory hint X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: peter.maydell@linaro.org, qemu-arm@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
target/arm: Convert aa32 base isa to decodetree
|
expand
|
diff --git a/target/arm/translate.c b/target/arm/translate.c index 3f02532d12..7023ee78f1 100644 --- a/target/arm/translate.c +++ b/target/arm/translate.c @@ -10332,14 +10332,6 @@ static void disas_arm_insn(DisasContext *s, unsigned int insn) } return; } - if (((insn & 0x0f700000) == 0x04100000) || - ((insn & 0x0f700010) == 0x06100000)) { - if (!arm_dc_feature(s, ARM_FEATURE_V7MP)) { - goto illegal_op; - } - return; /* v7MP: Unallocated memory hint: must NOP */ - } - if ((insn & 0x0e000f00) == 0x0c000100) { if (arm_dc_feature(s, ARM_FEATURE_IWMMXT)) { /* iWMMXt register transfer. */ diff --git a/target/arm/a32-uncond.decode b/target/arm/a32-uncond.decode index ddc5edfa5e..60ccfc598d 100644 --- a/target/arm/a32-uncond.decode +++ b/target/arm/a32-uncond.decode @@ -64,3 +64,11 @@ PLI 1111 0100 -101 ---- 1111 ---- ---- ---- # (imm, lit) 7 PLD 1111 0111 -101 ---- 1111 ----- -- 0 ---- # (register) 5te PLDW 1111 0111 -001 ---- 1111 ----- -- 0 ---- # (register) 7mp PLI 1111 0110 -101 ---- 1111 ----- -- 0 ---- # (register) 7 + +# Unallocated memory hints +# +# Since these are v7MP nops, and PLDW is v7MP and implemented as nop, +# (ab)use the PLDW helper. + +PLDW 1111 0100 -001 ---- ---- ---- ---- ---- +PLDW 1111 0110 -001 ---- ---- ---- ---0 ----