From patchwork Fri May 3 07:20:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 794354 Delivered-To: patch@linaro.org Received: by 2002:adf:a153:0:b0:34d:5089:5a9e with SMTP id r19csp609459wrr; Fri, 3 May 2024 00:20:40 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVUcAM2qn0hrL4XSv4GTeTBz8mlfIjtQqwj2e5wj11TBWNSJFk+MLN31VCovXLZQ8XrcGnqInw9OeQiHW0Z5ytO X-Google-Smtp-Source: AGHT+IEDB+ssYl2FH9bLWQCYJgUx7TVrwEZt/n0pLnn/I/sEdnaQPRLViY3Am0/r6wal3i0sKjqL X-Received: by 2002:a05:6214:2623:b0:6a0:af6f:5373 with SMTP id gv3-20020a056214262300b006a0af6f5373mr2272024qvb.37.1714720840734; Fri, 03 May 2024 00:20:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1714720840; cv=none; d=google.com; s=arc-20160816; b=LUIOjGmgfHeo96yoJif5RsRRDLWRZHxd4OC0sY7y3ZNV+KCJTVoTmhDzzKSY0WTSwL PpICMf7X+YZQf6Nn2fAeXbjL+kijeFrbfSJB28fDP6va9vWOXQ4Ua+haooA3bLXoi10F fVjaDy82BJGQc2vIA4BGqJ4TT6OWE6WRqbxsC8VWtWvzpsZwAFhhYrY4q6oXZKVb7qbm 8sQHZWRJ84ddJ2efWOw+aqKltIXVUsxi39uZkrzcJmypxbaok0QzxkXMCtICjLLME+tD sgXwhT6gmKYZrh9c6CrGxDfTU5gU9Hix0esoK2Tr1q1PgS9G9C9oOulplQogs9SDroUA BJvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=UVi2/lBwGMlU7cAoTgtyiExKPhec9x+jnIKMxcEwUS0=; fh=xWZQaYnnGDMy2f/2/tT4BvQyHGC9dPJ9bz6vwvtfgSk=; b=HPhlNb2fKSNndowRXeuQECuA5Ks9G6ZzT6wdtjnGDaDoXh/glzY0NgxZktZVDi8Fji YfEQtYAljSmyEovZ5w/x6s46eERxhczGA2Bszbg5qn0gzLxYAjryEJ32W1IUu6TLphb8 8PR1KnnBQY6LvvaM52Br2i6Ucr6su6hCb2APdESuBdJaXnrWi/q3Z39BI5kPTP0vj6Oq WGlS6YVgWllSG49NdC77Kqa4oNArRpOY7X6azy0JnFQUIuJlFSybkf2KweUX9IDL3J5R Lez2a/YtdEcCeB+zDlytFMSd99c0OyNww5Pt8fWwC0//yczlKIk6L9GiqvAbC/YlUljW +vIQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="lkngX/r1"; 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=pass (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 kd14-20020a056214400e00b0069b6bed643fsi2601181qvb.37.2024.05.03.00.20.40 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 03 May 2024 00:20:40 -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=pass header.i=@linaro.org header.s=google header.b="lkngX/r1"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s2nDS-0000lb-LL; Fri, 03 May 2024 03:20:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s2nDQ-0000lP-Ta for qemu-devel@nongnu.org; Fri, 03 May 2024 03:20:20 -0400 Received: from mail-lj1-x234.google.com ([2a00:1450:4864:20::234]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s2nDP-0001Ed-9u for qemu-devel@nongnu.org; Fri, 03 May 2024 03:20:20 -0400 Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2db7c6b5598so113156911fa.1 for ; Fri, 03 May 2024 00:20:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714720817; x=1715325617; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=UVi2/lBwGMlU7cAoTgtyiExKPhec9x+jnIKMxcEwUS0=; b=lkngX/r1TiJ4NzZvsShY8s7mh612J/XqYMzEB1KD+AyfyiBxKpi9IuDgyHIY2Dg831 AqgqgCJMyqP/51X667Cyim+mSuWHoR8L9WU90fm9lCM5SOIPhTBP9s398Mngvk2itbxv uhquVt22Tua1fxaxG3aRXF6zmx/OVgwE8AYWy6fmIZ37YBuepyIO4S3xwLkVUgRfhTAI 6SKi1GXhmAXfEtkCWWYS8hS72Inhys/mLTqQREhV10Xpf5tYaHN15BsrdXsTnHt56m91 bdgZIi5SJ7mUj0f4wLnEqIMaJCx3CMlOzYMQoXHWEUDKHySnbL39lET/MXUjg82uRcBo /XWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714720817; x=1715325617; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=UVi2/lBwGMlU7cAoTgtyiExKPhec9x+jnIKMxcEwUS0=; b=DceEVd5p6tBTwbkmL06BSlzQMz5pfIiCWVYXPMn19uz5pNVxXA9bDhbTc3LJnTR44J 9JjijUUVEvyp88KexFYgjXjFyosfvLfdNq3UfLyDfBzbd0hsOMc2WJNe01jlAaT5tCGv 8IcEUp9rVBU/A2cVrDsQCQdZ4YIyzo61fbHFDMi3UZ8Ap0a32b47PIokmk0FuG1Vne6h hb6eQAp1E1kCxbc/RjQ3pOwDLo6XVr7zUlndDT0Mvj1gXYXCFASvNPZkR72XdM/dt1TD SQFfpsaADatPLS8G/djNm/Lqd9v49LgV3VZPuDUyc49M6tH+e92fafsZ1c8zpVNh4+sl L2xw== X-Gm-Message-State: AOJu0YwfebveS7zAegfGVI08Y15qLGhA/YC1/gyADNvpGeqWhboLKuHb Cqj/WFh7+Koe66nw//xn4DGiuJkz76M9Pn4q7FW1JedhWjMzZhL6PdCTBdTXcXznVSjiz5Rm/ep V X-Received: by 2002:a2e:80d4:0:b0:2d7:17e0:ff56 with SMTP id r20-20020a2e80d4000000b002d717e0ff56mr1238689ljg.18.1714720816778; Fri, 03 May 2024 00:20:16 -0700 (PDT) Received: from m1x-phil.lan ([176.176.179.187]) by smtp.gmail.com with ESMTPSA id k7-20020a7bc407000000b0041674bf7d4csm8251830wmi.48.2024.05.03.00.20.15 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 03 May 2024 00:20:16 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , Philippe =?unknown-8bit?q?Mathieu-Daud=C3=A9?= Subject: [PATCH v2 0/9] target/alpha: Implement CF_PCREL Date: Fri, 3 May 2024 09:20:04 +0200 Message-ID: <20240503072014.24751-1-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::234; envelope-from=philmd@linaro.org; helo=mail-lj1-x234.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Since v1: - Split complex patch 4 in 5 simpler ones (Phil) Implement pc-relative tcg code generation. Philippe Mathieu-Daudé (1): target/alpha: Simplify gen_bcond_internal() Richard Henderson (8): target/alpha: Use cpu_env in preference to ALPHA_CPU target/alpha: Hoist branch shift to initial decode target/alpha: Use DISAS_NEXT definition instead of magic '0' value target/alpha: Inline DISAS_PC_UPDATED and return DISAS_NORETURN target/alpha: Return DISAS_NORETURN once target/alpha: Split out gen_goto_tb target/alpha: Split out gen_pc_disp target/alpha: Implement CF_PCREL target/alpha/cpu.c | 32 ++++++++--- target/alpha/helper.c | 8 +-- target/alpha/translate.c | 117 +++++++++++++++++++++------------------ 3 files changed, 91 insertions(+), 66 deletions(-)