Message ID | 20181214031923.29527-5-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 8BC7213AF for <patchwork-qemu-devel@patchwork.kernel.org>; Fri, 14 Dec 2018 03:21:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7C0702CDDF for <patchwork-qemu-devel@patchwork.kernel.org>; Fri, 14 Dec 2018 03:21:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 70D192CDE9; Fri, 14 Dec 2018 03:21:13 +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 225672CDDF for <patchwork-qemu-devel@patchwork.kernel.org>; Fri, 14 Dec 2018 03:21:13 +0000 (UTC) Received: from localhost ([::1]:59064 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 1gXe2K-0007Cp-9w for patchwork-qemu-devel@patchwork.kernel.org; Thu, 13 Dec 2018 22:21:12 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58658) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1gXe0i-0005pb-4x for qemu-devel@nongnu.org; Thu, 13 Dec 2018 22:19:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1gXe0h-0006Jl-An for qemu-devel@nongnu.org; Thu, 13 Dec 2018 22:19:32 -0500 Received: from mail-ot1-x32d.google.com ([2607:f8b0:4864:20::32d]:35541) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1gXe0h-0006HK-5U for qemu-devel@nongnu.org; Thu, 13 Dec 2018 22:19:31 -0500 Received: by mail-ot1-x32d.google.com with SMTP id 81so4129151otj.2 for <qemu-devel@nongnu.org>; Thu, 13 Dec 2018 19:19:31 -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=dMQt6Qd/7dZU/F7lE1TFtGKXBIbGd2E6AtbOYBca+Dk=; b=GoJeKaEpNVW6Mi2OBa5KFdwWE6I3Q0BbZZsmTYxlVJwsmbRhsvk+P1Z09ATkXO1dWl FKkK9rjiCfIp74FYcQoWULyAq6NVGoQ88DSZIlbBzFCUhdGaMn8WJOI4p0mEvLVgeeBr xd72HlaloeJ1pM3FsYFHea1DHTRE9SNbpDuG4= 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=dMQt6Qd/7dZU/F7lE1TFtGKXBIbGd2E6AtbOYBca+Dk=; b=Iv0mEKxxI1WX2UIrF9AC4XLqz3zomyzJqgMGNhixAARyCF+TcDxjeYT3x1VVN2igzF XcbPmlhZZdAq0e4gCheD6yeaHMj9Ghv+vdOvGpp8/5AzLftWZG6aMdgu7mT4ENUHXAk/ dnb9nzsaio0BuzFsF2LZivjgAGCqSJya8xHM7YKsUhSnfAHpYeHK9aBxb5WvXEJmQsFV o06M1YEd1L/cNeJAIwz9JD8M/aWeW/zV8LNtoytqLgKNK3EhNKhqodb1DaFbXKhZaHzd 2ItFjbJKh90HHT8AOpRCPMKLWvhkO/p48n6uXqnIXcwVKxA7XOO3sgeGgGiHlvihwCaQ eUzQ== X-Gm-Message-State: AA+aEWZ21sW58T5Dc25JpzCaHaIR9dmZ6nDobHCi2DyIYrAJxtSSvLRF SxwZzj59katGToc71HUo8y+k8pEFO3JR2Q== X-Google-Smtp-Source: AFSGD/Xi8HSnfeQhXFW+l0YYiFjnyi+AZ93jGChy/yBRyZzLJAultfWfCmqtDj0EfT5cn/Uzq886UQ== X-Received: by 2002:a05:6830:1596:: with SMTP id i22mr997697otr.7.1544757570208; Thu, 13 Dec 2018 19:19:30 -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.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Dec 2018 19:19:29 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Date: Thu, 13 Dec 2018 21:18:54 -0600 Message-Id: <20181214031923.29527-5-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::32d Subject: [Qemu-devel] [PULL 03/32] tcg/aarch64: Remove reloc_pc26_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/aarch64/tcg-target.inc.c b/tcg/aarch64/tcg-target.inc.c index 083592a4d7..a41b633960 100644 --- a/tcg/aarch64/tcg-target.inc.c +++ b/tcg/aarch64/tcg-target.inc.c @@ -87,18 +87,6 @@ static inline void reloc_pc26(tcg_insn_unit *code_ptr, tcg_insn_unit *target) *code_ptr = deposit32(*code_ptr, 0, 26, offset); } -static inline void reloc_pc26_atomic(tcg_insn_unit *code_ptr, - tcg_insn_unit *target) -{ - ptrdiff_t offset = target - code_ptr; - tcg_insn_unit insn; - tcg_debug_assert(offset == sextract64(offset, 0, 26)); - /* read instruction, mask away previous PC_REL26 parameter contents, - set the proper offset, then write back the instruction. */ - insn = atomic_read(code_ptr); - atomic_set(code_ptr, deposit32(insn, 0, 26, offset)); -} - static inline void reloc_pc19(tcg_insn_unit *code_ptr, tcg_insn_unit *target) { ptrdiff_t offset = target - code_ptr;