From patchwork Wed Aug 7 04:53:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 170690 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp6619154ile; Tue, 6 Aug 2019 21:53:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqyvB/nfJdAhegzbfL3wlZUzjDr0slhAO61jYwday9Sav+rrXyKXN32w0Mw9xVvxssxQ9g1n X-Received: by 2002:a0c:d237:: with SMTP id m52mr6126795qvh.160.1565153636407; Tue, 06 Aug 2019 21:53:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565153636; cv=none; d=google.com; s=arc-20160816; b=UKDDK2qAt61y6Q3Z2DVfe2FCA4rJcLEMxSOebnkkRc8AL8XZEuvFFBzw5+yuJvD17o yv86IrFzG6OdpODoevRfAKunmAXG1OslaPzioyVaDuBXldMA9jdMmsC6ikFTO3XH7p3S tsyo3CHn38CiVYg+LkQZT84EZpf77UwUoJypqqJHeaFTA2qyzq5fneZ+Ngx5TqJN3ajB UjLAzg8GM4dVGZF7ZR2clfonweIEiy90TWL1TVkQTeqpmlkNJPvQ4cHz8J+xy3ayjcDT PMM69NA2LY+BWj2ampB7GENBClD/4Nhn3zAnxNFGqz+tMieeDZqLGMwtXxcobYfmxelv PwlQ== 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:message-id:date:to:from :dkim-signature; bh=PJ7zkpB+6Cwx8kF4V3bvovNm+nwQsltuqm4c6vQnd5k=; b=Pi+2ewpxqv5+npXiJSHky2v79H50Blvh/p9GLSk3LjLn0LrWpe7CrzrxbdxSRzhxNx neDO8yqYBdWKu+JUc86+m9JfeZEZQmCnF5VZcbwrjG1SWGXigt5NMk5WKXAK2tvR1sUG t01jHFbKanwyZfC9dmRzEIh0iEL8M0VNZ+kceAOVoDGV1q9KBnohoDUih0mqJz0q1uwU 8TR9Gq7BQNkKBR+SH3D4Gj5QZx346Pa3hu0OSyBCyVrtJ0qjMTJdYo1LfMZAwdVSTx8k dArzHEV3g93uQW0RfEBU35ljaxz2tPogjqWNqFY3y98w1ltaRrcitgvbC86Yy3zv4eLZ OLYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=UZ19ZpGD; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id k7si47618313qkb.351.2019.08.06.21.53.56 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 06 Aug 2019 21:53:56 -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=UZ19ZpGD; 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]:37182 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hvDxU-000132-1d for patch@linaro.org; Wed, 07 Aug 2019 00:53:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40535) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hvDxL-00012S-AW for qemu-devel@nongnu.org; Wed, 07 Aug 2019 00:53:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hvDxK-0004iH-95 for qemu-devel@nongnu.org; Wed, 07 Aug 2019 00:53:47 -0400 Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]:40472) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hvDxJ-0004gz-Qc for qemu-devel@nongnu.org; Wed, 07 Aug 2019 00:53:46 -0400 Received: by mail-pf1-x432.google.com with SMTP id p184so42759421pfp.7 for ; Tue, 06 Aug 2019 21:53:45 -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; bh=PJ7zkpB+6Cwx8kF4V3bvovNm+nwQsltuqm4c6vQnd5k=; b=UZ19ZpGDrBudoEcAvtcKIJIr9z/nqqcWcZHSk2hwLQhioxsidWMMwBF5LEToPbjkRB SzNX1ol4cKWFvz6rytNMa6328UdDExzXI1B/trhI7IoPioxTz27zll4HGTg/8/iwUYKc D4MKto2gGQH+hZngYe1UKB1fjMebp6qYQ/Uibzlm0eMfy+M03mbtcrcT6gOmCdxSSgKa wksK+tRNIfmLc1qPSHWDFJRDC8v5fhWi+AmcNbpWB11/vDEBXbxpSUwqQCznG9IqxgJO ItoIKTqZshlTA4Kpkx9rT1wTgbjRrwskWEkTTv0T6hPfWtQ0HCAkXFzHv1YeMVYmXd9N 4i2w== 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; bh=PJ7zkpB+6Cwx8kF4V3bvovNm+nwQsltuqm4c6vQnd5k=; b=i/vK/wMM2juFiLbMzC0mtu4Zv9RvUNWRVgrRacqZFhPRnG4W6AeKI7hXcbRlSMPHZN 3Gq/BP27BWqqLOFHYK8NqUjIgSdFOjgtXINTaU4BTmhVzHEomZ0qmdT5+cgaIv1aa6G/ j3mYNNhwrFo01c5GVy4YUKBdy96nKD6WxlD3+qQZZzN1Lkf/7TN2hAAHm27kfWdSryAF FhKCuoXyGz7jZAtdpN6G+SrT9LyGhrZAr51bpb7Rn1Br8JEtjv2t0iC8lF6vc/njhRVg feZvNjMgrrXhHoTUDn74NoKCUkgRFS01zBtXnppaQDnNm5Gqy0UIwLBPP2t1vGHcdvcg 5qvg== X-Gm-Message-State: APjAAAVhzQ1XV5pLAVr8Hwzzx9W3EuqLfMxLhEm/wnHqgCLKoLxmmrKF 5seVKwtaQZu5aXfvPjDQF3XLFi6msDA= X-Received: by 2002:a17:90a:20a2:: with SMTP id f31mr6504650pjg.90.1565153623738; Tue, 06 Aug 2019 21:53:43 -0700 (PDT) Received: from localhost.localdomain (97-113-7-119.tukw.qwest.net. [97.113.7.119]) by smtp.gmail.com with ESMTPSA id t9sm24347921pji.18.2019.08.06.21.53.42 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 06 Aug 2019 21:53:42 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Tue, 6 Aug 2019 21:53:24 -0700 Message-Id: <20190807045335.1361-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::432 Subject: [Qemu-devel] [PATCH 00/11] target/arm: decodetree prep patches X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, qemu-arm@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" These are split out of my decodetree conversion of the aarch32 general instructions. With one exception, these are all related to cleaning up how we refer to "PC". r~ Richard Henderson (11): target/arm: Pass in pc to thumb_insn_is_16bit target/arm: Introduce pc_curr target/arm: Introduce read_pc target/arm: Introduce add_reg_for_lit target/arm: Remove redundant s->pc & ~1 target/arm: Replace s->pc with s->base.pc_next target/arm: Replace offset with pc in gen_exception_insn target/arm: Replace offset with pc in gen_exception_internal_insn target/arm: Remove offset argument to gen_exception_bkpt_insn target/arm: Use unallocated_encoding for aarch32 target/arm: Remove helper_double_saturate target/arm/helper.h | 1 - target/arm/translate-a64.h | 4 +- target/arm/translate.h | 5 +- target/arm/op_helper.c | 15 -- target/arm/translate-a64.c | 109 +++++---- target/arm/translate-vfp.inc.c | 45 +--- target/arm/translate.c | 397 +++++++++++++++------------------ 7 files changed, 249 insertions(+), 327 deletions(-) -- 2.17.1 Reviewed-by: Peter Maydell