Message ID | 20181214031923.29527-5-richard.henderson@linaro.org |
---|---|
State | Accepted |
Commit | 90d6cb781130891f96eb54f8315e29fbd4e99a71 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1594708ljp; Thu, 13 Dec 2018 19:20:00 -0800 (PST) X-Google-Smtp-Source: AFSGD/UotuejkYL1/Eu0sPOvPD1HMpoardtEGxbF2CjYB9RTh2Ix1SLtY0v0pdPL2mA+KKkhxoNF X-Received: by 2002:aed:29c7:: with SMTP id o65mr1221897qtd.353.1544757600505; Thu, 13 Dec 2018 19:20:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544757600; cv=none; d=google.com; s=arc-20160816; b=Dk1qX3TWH4v4kIpId499zJ69z8QWZbUimYUaHBh0U4fO9v02j4vPcIj8cvm6DIJWIy 4Oi0A4Tg76j69/WzFR6k0/xgA9RSdji77Y+ROaZIrH/Zrw7d8oQ+NEs4D2cvGKeeNIDu +8jUoQi9oIwFAJKX4NywEcipGS3mBN574HZhoPIZQX9F0VRgER/dTL3pChjGhjlWTj2/ MWYO6CYLm//AJD6qcFJBgB70JCeszsRR+vIcAR3Q8xJb2f13PKUy1oRmBecBiTByAyfJ fadnuDZXVQRv0Bn5UMe4Mhm18isQ6pKKjMtxp7z62oNmAHvQvfhxqCK+vrYgV/TLUKqH us/Q== 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=dMQt6Qd/7dZU/F7lE1TFtGKXBIbGd2E6AtbOYBca+Dk=; b=E2CEdMzYqfrR85T1pl8mmhw9ETCaVA5ZSQUkcU6qU5vdgwgmsBNGSVLejg9TSHk+Fc QuQisoeqHldFF0tlV0u79qLyLxQAi0vcftDYZnHrXEI2IXFlNYKS35VzL5nmlhoeB7CR fLOFvaNf52htX1RmIzUxA/7l3y/Hdgk6bFKYNkVRPaz4jhMtMjOTne1+Jwn7WyNVR/kC L7fZcVRUbrv8CnGAMAm2qE3ezgqu4dqMjbZZred1xNzYe7ZHG6SPlAP3AjEjfzdYxF0o A1BExLuZ7p4oeVxZvCpKzv0pUtip4eDKpSnqZL7Q2/Zg8UgFsOhxQ/Er+Mi0qVhBlCgH eGIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=GoJeKaEp; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 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. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id p9si632263qvq.61.2018.12.13.19.20.00 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 13 Dec 2018 19:20:00 -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; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=GoJeKaEp; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 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]:59054 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1gXe1A-0005qH-1O for patch@linaro.org; Thu, 13 Dec 2018 22:20:00 -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-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+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
tcg patch queue
|
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;