Message ID | 20181214031923.29527-7-richard.henderson@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 64D7D13AF for <patchwork-qemu-devel@patchwork.kernel.org>; Fri, 14 Dec 2018 03:24:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 543892CE72 for <patchwork-qemu-devel@patchwork.kernel.org>; Fri, 14 Dec 2018 03:24:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4890D2CE97; Fri, 14 Dec 2018 03:24:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id EE6182CE72 for <patchwork-qemu-devel@patchwork.kernel.org>; Fri, 14 Dec 2018 03:24:07 +0000 (UTC) Received: from localhost ([::1]:59071 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1gXe59-0008NJ-61 for patchwork-qemu-devel@patchwork.kernel.org; Thu, 13 Dec 2018 22:24:07 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1gXe0k-0005rA-DW for qemu-devel@nongnu.org; Thu, 13 Dec 2018 22:19:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1gXe0j-0006S2-Ic for qemu-devel@nongnu.org; Thu, 13 Dec 2018 22:19:34 -0500 Received: from mail-oi1-x230.google.com ([2607:f8b0:4864:20::230]:36791) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1gXe0j-0006PO-Cm for qemu-devel@nongnu.org; Thu, 13 Dec 2018 22:19:33 -0500 Received: by mail-oi1-x230.google.com with SMTP id x23so3480112oix.3 for <qemu-devel@nongnu.org>; Thu, 13 Dec 2018 19:19:33 -0800 (PST) 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=4U2KrQrShcYANcaPjJ360v70ytrgkZZMHswPcES6O0o=; b=kBve5oF7oLCmLUEARbLtaZP8y3E6JrOy5uEAHwhsTmnrWFS6+uiHNxf0juYCA3wT5F FBV3l1k7uMq0oN9GdE3ayBJyuyUtxm4MmyHh48aLMqaPn76nvrqwzOsyO/Ws+79eR0HK lMP6k3/RDuoFDLtV/uXhdzews4O/zDV7G77uY= 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=4U2KrQrShcYANcaPjJ360v70ytrgkZZMHswPcES6O0o=; b=gPsK7Ra5YhVvWMOgEyW3OtKVEqUhkcGK3eOKlbDQF32U5a7Y3djUNKHz+2schyMlIw Sc4nFqyVl6T/Sxa8oAePcaaaE+ikhSNOCZdf7q/jQt++89HzjYvqetABZpiycx5ndSTS 2WUp45wWN/x7sPkY4vtECqpUnAyecvhDibOzvgkVnBwprBwPnc1Za9GdCY603xtqSfGf E2/2mVfe0S5tpZnx3XQkeVnA9dzh68SpTYg/G1NVCNBgvEca0IZv/+J5qLDnvGTs8fIp XB41AtJUBdZPd+0mvCuG0zz8cTkQvhrnyll0WsMfgAtnNYomRcbJFNwP1XkFfUnSaTPr EavA== X-Gm-Message-State: AA+aEWbQBgOdE5KM2eI9fx4SSIhbrHVrI6r964VJholKEsJvA9tR7S4J jgiRGxqqxvLeYJXuEgFAkzkOJcoXCvZSYg== X-Google-Smtp-Source: AFSGD/UGySfX/fYRIFi84ZIs/JuVqhr+/QSPboAt9rRa1KXq4D1NTFi9zoAIA4iLbTcXSQVFLQgV1Q== X-Received: by 2002:aca:52d4:: with SMTP id g203mr860935oib.14.1544757572302; Thu, 13 Dec 2018 19:19:32 -0800 (PST) Received: from cloudburst.twiddle.net ([187.217.227.243]) by smtp.gmail.com with ESMTPSA id g138sm2367537oib.26.2018.12.13.19.19.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Dec 2018 19:19:31 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Date: Thu, 13 Dec 2018 21:18:56 -0600 Message-Id: <20181214031923.29527-7-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181214031923.29527-1-richard.henderson@linaro.org> References: <20181214031923.29527-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::230 Subject: [Qemu-devel] [PULL 05/32] tcg/arm: Remove reloc_pc24_atomic X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 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: <http://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 Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
[PULL,01/32] tcg/i386: Always use %ebp for TCG_AREG0
|
expand
|
diff --git a/tcg/arm/tcg-target.inc.c b/tcg/arm/tcg-target.inc.c index e1fbf465cb..1142eb13ad 100644 --- a/tcg/arm/tcg-target.inc.c +++ b/tcg/arm/tcg-target.inc.c @@ -193,14 +193,6 @@ static inline void reloc_pc24(tcg_insn_unit *code_ptr, tcg_insn_unit *target) *code_ptr = (*code_ptr & ~0xffffff) | (offset & 0xffffff); } -static inline void reloc_pc24_atomic(tcg_insn_unit *code_ptr, tcg_insn_unit *target) -{ - ptrdiff_t offset = (tcg_ptr_byte_diff(target, code_ptr) - 8) >> 2; - tcg_insn_unit insn = atomic_read(code_ptr); - tcg_debug_assert(offset == sextract32(offset, 0, 24)); - atomic_set(code_ptr, deposit32(insn, 0, 24, offset)); -} - static void patch_reloc(tcg_insn_unit *code_ptr, int type, intptr_t value, intptr_t addend) {