From patchwork Sat Mar 4 18:18:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 658779 Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp1055047wrb; Sat, 4 Mar 2023 10:21:20 -0800 (PST) X-Google-Smtp-Source: AK7set8JuQiwAHrscbadD54nHEs/Ueib8sapkqkn8IJqRrfUvRlFyAg4tHUIffBFzCLMxzUZmzjF X-Received: by 2002:ac8:590c:0:b0:3b9:bc8c:c214 with SMTP id 12-20020ac8590c000000b003b9bc8cc214mr16058977qty.31.1677954080809; Sat, 04 Mar 2023 10:21:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677954080; cv=none; d=google.com; s=arc-20160816; b=oAOycUTlnZmO0ywvyodkvVtnwvtcCIbL8A+M/EPvvDOVdG/w4lqChg1LDlO+q7B+x2 kv/JzS36oXKmdxCpGG/b10eiFy11uNewzXeHW23GA/j9j8/UcQLZsR4HBTdvIN3ca3fR zupmHBZA1pXgc3vzFitJKu1fzT9DwIihnJNRjW08v2b+ETvaDkyNaAFm3swZo6YytZl4 UiLL+U+/ugszFa+djPy2VzmFXVHisoU6fr5qqdXqggoP8grjn0ZczmNZkGDGeP75EizB 3PLkch2Poe4CEAeZ+izHxzZGLpFpiAPMGcQl+j9ziTiZiujmlZm4HwL9E/LYHjxtbw7N 83cw== 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:to:from:dkim-signature; bh=gYMNkHlK6Q3oYWVhZsYqHWRkvfeblTsDNSsLCqbyo8k=; b=ad3AyfhGwFjXWDR931//Ygovco33keH9Fzvk8A/eENlmCrrSK2ZNSMOGLxPHwWA5Q0 15xK7KH5QITgHvqsaeY6b482+hBHTaOe+PxMoTQ2rRIc8ccVuQNaMpYZaOkvjwCF9Dqi ZYd8jYXRNPWbrtBIWUH/+5u8J6VTBPDwerTVY0iQsqSkgG1tNG6R56WJj+l2a7MuGwM1 PkjaARCVsLTJD94oYqlcfAon2NjgTP8ZsHvSiASIs+eh94H4kphK5E4gJlJYbxi5fkNi eqXurJDM/jOHfDoHKiqr4qjvrv/0AwOiYfnp061KigbaPgQnZFH4ovhP0f3RmKou0B50 JBeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=b5XZ2Yw2; 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 bj22-20020a05620a191600b006eebf6f2e6asi4515258qkb.409.2023.03.04.10.21.20 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 04 Mar 2023 10:21:20 -0800 (PST) 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=b5XZ2Yw2; 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 1pYWTQ-0006O4-2g; Sat, 04 Mar 2023 13:19:12 -0500 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 1pYWTM-0006NC-04 for qemu-devel@nongnu.org; Sat, 04 Mar 2023 13:19:08 -0500 Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pYWTI-0003Lv-4C for qemu-devel@nongnu.org; Sat, 04 Mar 2023 13:19:06 -0500 Received: by mail-pf1-x441.google.com with SMTP id ay18so3444649pfb.2 for ; Sat, 04 Mar 2023 10:19:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677953942; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=gYMNkHlK6Q3oYWVhZsYqHWRkvfeblTsDNSsLCqbyo8k=; b=b5XZ2Yw2S3exhq5INvUfTZxXnHkY0TeEYhBU15ejH7eRr7iDzh8Y+P9w9MJEhHUxXv opq1y7xdKdS95VQCOIfWlMT7daBp75nU4/O3EsZaT0Mh7LG/uzVTtRbFNoAKrqyDiTt6 Q0ZGpntGsmsV+ADvEhGPVCfIxBJ6L1fiQszXQCjp4+q96Ya5LOqUhxJxlqtwKIj/T7+V vXDd72blpRjveqSgB6zgAt9LFeT6T1AzBJ9L8NpzOIxP9fN6qdNMlyjkLkSMgbhTJukh 1SaGBHy1qpfOR+RN6rPYQT96DbknDf0JIQk17ZzbEo6w0JJj0Esg6je2Qa1hAWXVTXAg G6Nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677953942; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=gYMNkHlK6Q3oYWVhZsYqHWRkvfeblTsDNSsLCqbyo8k=; b=mUSR1AFieHkrBd1vGisEfNDJUhAn7LHbYINkfAKaAIiLvWgXkATJ19hGJ0+LyUb0Ym TxNuhXXyRguKL7BM3LebQ9xDwpFvkAyLvp07ErRfz/4bbbMNbzaMpYc02444UGfipPAV SHHr2lvB0suq6CWy4fEkXtLUEUkeHAbroJCXeKvMEd3SinObz9T6j8JgORir36ou8HHd UC1fYuAJACzrdg2bcOmm0DsWUGUQerz8Qaft8++D06uS2UKl5eUCH/OKaXsubqjERJuE +bq1PDrBoays8FfBvy9ZyTrOZKpMS5qc9bJ8dt43tF+o++1cd3/wCy47n8qv9DXvi/AU Nu3Q== X-Gm-Message-State: AO0yUKV4CH1Wl/9OhQgWCiSNI+ovvEo5tNO4mnJw8/KwtxmPpAwR0AE/ uxp/WfhVGKd2HJkXN3aDfTUfAD0b2s7VN1CjPs2zbSWl X-Received: by 2002:a62:1709:0:b0:5a8:b6ec:3aac with SMTP id 9-20020a621709000000b005a8b6ec3aacmr6076503pfx.15.1677953942229; Sat, 04 Mar 2023 10:19:02 -0800 (PST) Received: from stoup.. ([2602:ae:154a:9f01:62b1:64d8:8207:f04e]) by smtp.gmail.com with ESMTPSA id 25-20020aa79259000000b005d866d184b5sm3529668pfp.46.2023.03.04.10.19.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Mar 2023 10:19:01 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v3 00/20] tcg: drop tcg_temp_free from translators Date: Sat, 4 Mar 2023 10:18:40 -0800 Message-Id: <20230304181900.1097116-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::441; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x441.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 I've queued the reviewed patches from v2 to tcg-next; these are the ones that remain. Please review. Just in case, the tree is https://gitlab.com/rth7680/qemu.git tcg-free r~ Richard Henderson (20): target/i386: Drop tcg_temp_free target/mips: Drop tcg_temp_free from micromips_translate.c.inc target/mips: Drop tcg_temp_free from mips16e_translate.c.inc target/mips: Drop tcg_temp_free from msa_translate.c target/mips: Drop tcg_temp_free from mxu_translate.c target/mips: Drop tcg_temp_free from nanomips_translate.c.inc target/mips: Drop tcg_temp_free from octeon_translate.c target/mips: Drop tcg_temp_free from translate_addr_const.c target/mips: Drop tcg_temp_free from tx79_translate.c target/mips: Fix trans_mult_acc return target/mips: Drop tcg_temp_free from vr54xx_translate.c target/mips: Drop tcg_temp_free from translate.c target/s390x: Drop free_compare target/s390x: Drop tcg_temp_free from translate_vx.c.inc target/s390x: Drop tcg_temp_free from translate.c target/s390x: Remove assert vs g_in2 target/s390x: Remove g_out, g_out2, g_in1, g_in2 from DisasContext target/tricore: Drop tcg_temp_free tracing: remove transform.py tcg: Create tcg/tcg-temp-internal.h meson.build | 1 - include/tcg/tcg-temp-internal.h | 83 ++++ include/tcg/tcg.h | 54 --- accel/tcg/plugin-gen.c | 1 + target/i386/tcg/translate.c | 41 -- target/mips/tcg/msa_translate.c | 9 - target/mips/tcg/mxu_translate.c | 51 -- target/mips/tcg/octeon_translate.c | 23 - target/mips/tcg/translate.c | 537 +-------------------- target/mips/tcg/translate_addr_const.c | 7 - target/mips/tcg/tx79_translate.c | 41 -- target/mips/tcg/vr54xx_translate.c | 6 +- target/s390x/tcg/translate.c | 188 +------- target/tricore/translate.c | 540 +--------------------- tcg/tcg-op-gvec.c | 1 + tcg/tcg-op-vec.c | 1 + tcg/tcg-op.c | 1 + tcg/tcg.c | 1 + target/i386/tcg/decode-new.c.inc | 15 - target/i386/tcg/emit.c.inc | 6 - target/mips/tcg/micromips_translate.c.inc | 8 - target/mips/tcg/mips16e_translate.c.inc | 6 - target/mips/tcg/nanomips_translate.c.inc | 127 +---- target/s390x/tcg/translate_vx.c.inc | 143 ------ scripts/tracetool/__init__.py | 23 - scripts/tracetool/transform.py | 168 ------- 26 files changed, 128 insertions(+), 1954 deletions(-) create mode 100644 include/tcg/tcg-temp-internal.h delete mode 100644 scripts/tracetool/transform.py Reviewed-by: Philippe Mathieu-Daudé