From patchwork Thu May 13 12:20:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 437324 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp281802jao; Thu, 13 May 2021 05:27:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVKk/EC0vMQbHvNfBrqr3KetRAFs8vX21dmV9Cqo5YCVEoNokjIuiVZJYRWRrv6Ndj110/ X-Received: by 2002:a92:c7a1:: with SMTP id f1mr5793074ilk.85.1620908855695; Thu, 13 May 2021 05:27:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620908855; cv=none; d=google.com; s=arc-20160816; b=fy3xeav5C3bwhOqW1DuuvpHKm9al1tnyvrBmqKyTrMUiU0eJ+bQf+TO9fNvc1AFj9i cRhwO5XdvkySxa2vBTLW2fzdpX5SU7c7l7X3Gw5Dly+iYa42prQfmBPT78DoEOSEiF2/ wyPpN2ekrtaIzRUUQaaCwk+5B3LFv/omYSGIvEBOgP6CfBneCBPcXEeFJl2yy/X83AnF rN8T7wC6/DbEwRTRlDHqvRhuAwUTcf9QBjHjNKb1+RcaIORjzOYnszszpgD0yAXCxj4F CHSRlNQ5urQ7wLmEKUug9bcElHWxf5JaB3HViSLrNZNugbf1KNmhixagnK/pA+Ys/RpL bfqw== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=VLCVp6p+lxpak6IzuRy6OUB/8rfv/8V8rR0K7fXS3B4=; b=swwmtNPKQl/Tt40mA2ZUpGKqIBlfwjiX5dxrazK0ORwJSSarpPOIPpWTVQjP1vKugj Uk5rAavzY06+fgEzFql+3j0+bUyBG+9GxgSbB4to9TNTsSUBdWtNIrjrEUZaH9WW6N6B EmT/ohY8/pRLV1H2my269QYDm3L1Eu6keGxqfVc1J2yYTy2zj4LAFl1GsF+r7hbIOJXR ce92sqAqeCqz1PokzKx/C9gfCPZ/Eolnw3iF03uiQ/K31B60m0Py4QrUO6Ef9dcjZoDj KkGouO3Cw3UeL7sYKlR19aaPbiXY8MOraVKcXP8T1A9LfGaJrPTYznXJ/aG2ocyJeh1M KcRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bQVXAX1V; 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 q4si3610490jas.111.2021.05.13.05.27.35 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 May 2021 05:27:35 -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=bQVXAX1V; 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]:47466 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhARC-0000MH-VZ for patch@linaro.org; Thu, 13 May 2021 08:27:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59564) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhAK7-00060W-T7 for qemu-devel@nongnu.org; Thu, 13 May 2021 08:20:15 -0400 Received: from mail-qk1-x72c.google.com ([2607:f8b0:4864:20::72c]:47056) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lhAK5-0001GG-1r for qemu-devel@nongnu.org; Thu, 13 May 2021 08:20:15 -0400 Received: by mail-qk1-x72c.google.com with SMTP id 76so25201345qkn.13 for ; Thu, 13 May 2021 05:20:12 -0700 (PDT) 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=VLCVp6p+lxpak6IzuRy6OUB/8rfv/8V8rR0K7fXS3B4=; b=bQVXAX1VOCGZ3IhhqH16/c90MmKmaIFS5PUhgMHiR7Twrxy6XKimPIDgUB+gKlR+N3 ebqhOci0ots3aPRur4AV4OkB2IWGjVzZNCNuGeqKMtoz+mILY7rRiMbcV0d07H4IeY5c ZhzJUYBX/q6UxZiLqNFu4bdn0hjHIaHBAf8DeVvEd6Wx1ozVxZwDvX8qap44onVF5d4j Vh2H8DX8gv18nEBcmqpWj04K+2l9nX6dOvFV+vp+I9MF3kCobaJ4+Wh4+ZsVk7V+/oXD fBh1c3JEs6GezTF2eGbi64V/S+gezbeAiVrq3fCS1c5bjMPGQS15cUTgYoFPUaXhGLgJ 0k9g== 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=VLCVp6p+lxpak6IzuRy6OUB/8rfv/8V8rR0K7fXS3B4=; b=HzyVYIdeA8Is0GhsMRJXuQ+GdrqllfHME9Y0Jrjc40wKNz5pHdihGtb6C+bArllk3e D6DOmfy2Jwps5oz3eeKTey84jmr3bJvNwlpL1mWWnuuhZqMZLvd2BzMB9YSlinSuB9i4 GpxPM3zcRTYW6xGYC0ujQz7owKUFbWzn/+LTcw5qQIYHfPSelD0Sr9nZLANUz0SVZGn5 GUAEpCt8DybFxev9RtxlQGZMfgSRqPsBUwQj+QqVHKD3rviZv1J8Runw27NlkQ6KDiAF J8jmS1qNgwFXjj+0dhsiTG+y3wI+J4KTEK5XWN35hSK0mypfEK+emNJ4Fm/P+L4Qj9i9 50mw== X-Gm-Message-State: AOAM533/plm3kGqPplKVr1fAJlSVFhupYbW23eU0nn+5S4KmxU4PbJiY jRATf3PpdW4/XbVmfBr9jUe+EFgSFIyRAeBXwDM= X-Received: by 2002:a05:620a:2291:: with SMTP id o17mr17195803qkh.150.1620908411301; Thu, 13 May 2021 05:20:11 -0700 (PDT) Received: from localhost.localdomain (163.189-204-200.bestelclientes.com.mx. [189.204.200.163]) by smtp.gmail.com with ESMTPSA id b3sm847262qtg.55.2021.05.13.05.20.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 May 2021 05:20:11 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 1/4] MAINTAINERS: Add include/exec/gen-icount.h to 'Main Loop' section Date: Thu, 13 May 2021 07:20:05 -0500 Message-Id: <20210513122008.207491-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210513122008.207491-1-richard.henderson@linaro.org> References: <20210513122008.207491-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::72c; envelope-from=richard.henderson@linaro.org; helo=mail-qk1-x72c.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé As the 'Main Loop' section covers softmmu/icount.c, add "exec/gen-icount.h" there too. Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20210422064128.2318616-2-f4bug@amsat.org> Signed-off-by: Richard Henderson --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) -- 2.25.1 diff --git a/MAINTAINERS b/MAINTAINERS index c733c53bf7..808e4ec74e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2477,6 +2477,7 @@ F: ui/cocoa.m Main loop M: Paolo Bonzini S: Maintained +F: include/exec/gen-icount.h F: include/qemu/main-loop.h F: include/sysemu/runstate.h F: include/sysemu/runstate-action.h From patchwork Thu May 13 12:20:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 437322 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp278208jao; Thu, 13 May 2021 05:22:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynq/CUr39fY51GD6pvYZAbAiDQy8pr8gmltMyu9XL0yEAoru+qgBjl7PiAN6ebFDeqkIsm X-Received: by 2002:a6b:dc16:: with SMTP id s22mr30289289ioc.170.1620908532305; Thu, 13 May 2021 05:22:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620908532; cv=none; d=google.com; s=arc-20160816; b=gOkz60SAsmZJsspuyblW1WAqOMzTZmBnZ/hnx/8yv/Cd+FUH+uOPMrBJvx6O1RwOqj 1Cqp8lzhkyhqW6Q9gJIk8LFeWcu8SFqAo1c/x+wKozxNx2F16DxbesONXuSy6J3lMHcI obHrl297V2JqlcCI9N6bc0134/PVI9BeU2t56pmysiRJ2aVMy/fGBHvugLhRS3AKykPh 10FLZOytkShpN93SWHeDMf7OFA+CqVCRWtK3P8KGDoPUc9GLY6BB5JOAC7Kb0moCDmaD q0ONX/lgqUBtj3dxsi6iUnv+7trZVonSFzwKc5EqKQcxWbvHKtHesFUZ8y5hcxYBuTUW biww== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=KdbIg3rlUjFYkOGX6SZXklYcLzrscr/66Cx3ugBj720=; b=gOL6l8VQ2ulyQ5ix/1YxruS8+/1J68JXEBmAOQCRs7xHUQNKSsOgKEEM4hCGG6T5FU 1AaVmgIKOZTa6CukfMWggDSgo3l5KNSu0OiL2amRzGcyF5BNALsDVVrOmTUIkVraXZjN 2XaVU2Ae/EGsFHoCGdF27Yi6gCObPOx39Zjhdr1gNWceINAbzBYHZiDt7nKZDMkdWGbI 1JP/EPyAZeHuYbPxCtIWjVtb53Hf2EjBL3UIYLugMNLJ2256WbxZPYBv4QSlXbJPzuac 4kwJCborXzPGMm3ILfEuHviszRemWC3EAOO8HliowbvJIbWftul7M/Sg8mlrHjBzfOTw rbfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PJ7Lz7Bd; 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 r13si3887651ill.120.2021.05.13.05.22.12 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 May 2021 05:22:12 -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=PJ7Lz7Bd; 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]:59418 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhALz-00063X-PA for patch@linaro.org; Thu, 13 May 2021 08:22:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59576) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhAK8-00061R-D3 for qemu-devel@nongnu.org; Thu, 13 May 2021 08:20:16 -0400 Received: from mail-qt1-x82a.google.com ([2607:f8b0:4864:20::82a]:39877) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lhAK6-0001GP-0F for qemu-devel@nongnu.org; Thu, 13 May 2021 08:20:16 -0400 Received: by mail-qt1-x82a.google.com with SMTP id f8so15384943qth.6 for ; Thu, 13 May 2021 05:20:13 -0700 (PDT) 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=KdbIg3rlUjFYkOGX6SZXklYcLzrscr/66Cx3ugBj720=; b=PJ7Lz7Bd7b5BSpNPvo0QQJRA5+3vWxRdZtApO5sC3SZbjThpRGRgdcpN3wwPSChHtF hM7ZcUZETux1U9Ply8PcFjGxO5S6u8m9yew87G08AgvIdzGfQgwNXDVst8Bnkt5GsVvm hqknfF9xriH92KC2ZOzQu11DeWSskiELPUrt9qnGABN2+yPkfEANbZQNMMaO/KsfgWNk 8Bi8JH1hYmp9lnYHVpmm0UQgLa4jqmoPCpMSdL1i1y9aDW/ZMkT7yQxe9uDtNYNfI/cc Il1mj0Izcxo5pJHd9QyeEkE/lZMOtvXIYy9gdTlwg4tmYh0flF1jgKapZTaHq30JdWUH Et2Q== 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=KdbIg3rlUjFYkOGX6SZXklYcLzrscr/66Cx3ugBj720=; b=YVulL7Xs3Txtmt+0jx3YtO8bFojv31TiH3x7fiKaEAicRJXHda72F7rOvy1eELCBoN 7xd7MYgWyFMkxl0u56C8k1qQFFrIxHvhI2HDWmYDzmNRUB2ChTaImB3OZRnQ80976LXc wocfXmqNTYtL0hrW9r06LqzYPtMij60DyDkqO1TMou0/SGkM+ZbkqZEtO9AE/WlzkpL9 CRgHuI2/QJVrDcChWbu2aFmgwI9cu+hl6DmkpkMENhl+R4iP/drpWWu1e+CETHh0Mo2x 0K/0a+fEoiU+3ZCMFOsVTlKjfDAT/8X9jzQVkveq17lK+al6lP+F0ihNCrz87KmWgaog rf1g== X-Gm-Message-State: AOAM533+a+OaZaEjQebJMHqTH3CByJP4wFWNIkVM8lrLQ7R8FZ416qiF GuO5VDG+BrJqmX9JOh1A5fCVC+jbWs6I8eBGDhw= X-Received: by 2002:ac8:1014:: with SMTP id z20mr37695654qti.65.1620908412208; Thu, 13 May 2021 05:20:12 -0700 (PDT) Received: from localhost.localdomain (163.189-204-200.bestelclientes.com.mx. [189.204.200.163]) by smtp.gmail.com with ESMTPSA id b3sm847262qtg.55.2021.05.13.05.20.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 May 2021 05:20:12 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 2/4] exec/gen-icount.h: Add missing "exec/exec-all.h" include Date: Thu, 13 May 2021 07:20:06 -0500 Message-Id: <20210513122008.207491-3-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210513122008.207491-1-richard.henderson@linaro.org> References: <20210513122008.207491-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::82a; envelope-from=richard.henderson@linaro.org; helo=mail-qt1-x82a.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé When including "exec/gen-icount.h" we get: include/exec/gen-icount.h: In function ‘gen_tb_start’: include/exec/gen-icount.h:40:9: error: implicit declaration of function ‘tb_cflags’ [-Werror=implicit-function-declaration] 40 | if (tb_cflags(tb) & CF_USE_ICOUNT) { | ^~~~~~~~~ include/exec/gen-icount.h:40:9: error: nested extern declaration of ‘tb_cflags’ [-Werror=nested-externs] include/exec/gen-icount.h:40:25: error: ‘CF_USE_ICOUNT’ undeclared (first use in this function); did you mean ‘CPU_COUNT’? 40 | if (tb_cflags(tb) & CF_USE_ICOUNT) { | ^~~~~~~~~~~~~ | CPU_COUNT Since tb_cflags() is declared in "exec/exec-all.h", include this header in "exec/gen-icount.h". Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20210422064128.2318616-3-f4bug@amsat.org> Signed-off-by: Richard Henderson --- include/exec/gen-icount.h | 1 + 1 file changed, 1 insertion(+) -- 2.25.1 diff --git a/include/exec/gen-icount.h b/include/exec/gen-icount.h index 298e01eef4..467529d84c 100644 --- a/include/exec/gen-icount.h +++ b/include/exec/gen-icount.h @@ -1,6 +1,7 @@ #ifndef GEN_ICOUNT_H #define GEN_ICOUNT_H +#include "exec/exec-all.h" #include "qemu/timer.h" /* Helpers for instruction counting code generation. */ From patchwork Thu May 13 12:20:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 437321 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp277535jao; Thu, 13 May 2021 05:21:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxs6fHiQO0+1toWAoPZTGyXDUSORgOuy+e4pmqOubbskON8pDilb2lH3oMiDSK4H57ajx0O X-Received: by 2002:a92:6804:: with SMTP id d4mr35505014ilc.5.1620908477322; Thu, 13 May 2021 05:21:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620908477; cv=none; d=google.com; s=arc-20160816; b=Hk4ykODLvWV/qOGhadSS1F76but2O3jckVLFzm/pLAGaakpRwCUpYyUkyIVuriRSan yBpQPEw1EQmCgY8HvZBbDjr1kKplkrPEGwZDkV+Tb4HqzxYBNO9D33DM1HgxhlGBjz50 JQXttgwg2pOMEeutAFA85MYANYa/IJADERFqmsdRKyFjZZeBbpoez7UKMrWnP4zpogHW 1eSCW43Jf9YLZULQiN+4UUfW2w/7mhh8ueeiFqQG89VDqpj2XNQ2kAjwOzNDjQ9q4cDd +qh20r41xTvcLShBrPzIsdzVx1QbI2WScLVallYQSXUm1RmrWyGt+GZjqS4Vfa1iE3n9 zjMg== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=XBNO43ndtkHe3HspPtwZPAlVXKJsSD5gwavNah1YJ6o=; b=ZXCMK09pcdqf7pF75L4WDyhm4hU8gmPaxR1bzlhoLQXSr/1Cy6SIXLiHr+nrBv4cGS mZn2g7abcgYiBynbb+CVJHUFVaJCbGB6uQLt7S9kFrql/0yHzqMXtRvnGCDHTxveRDvd RyA4fhvhWMAfB8yUyXTu/kwAGivnGz8mDITuh8Mn21+4IoQ7vz9RHLmWIVWWU/Skivoj tX+gS0kXaMBbdztYgbsrPf2jWt0+qT7zmuElzQpSzzp06wf649wfWMuYH1mBsZr1C7hY xAlPp/gYT30/1OQf2dYVnc+nCjV1ngj/bML6VrCNWOU3qP9qaWskYZssJhMxMsbAoLMD pv+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=odounVDk; 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=fail (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 d9si3741574ioh.18.2021.05.13.05.21.17 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 May 2021 05:21:17 -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=fail header.i=@linaro.org header.s=google header.b=odounVDk; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:59440 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhAL6-00064q-PC for patch@linaro.org; Thu, 13 May 2021 08:21:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59586) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhAK8-00061w-Ok for qemu-devel@nongnu.org; Thu, 13 May 2021 08:20:17 -0400 Received: from mail-qt1-x82b.google.com ([2607:f8b0:4864:20::82b]:41739) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lhAK6-0001GX-Dq for qemu-devel@nongnu.org; Thu, 13 May 2021 08:20:16 -0400 Received: by mail-qt1-x82b.google.com with SMTP id t20so15258120qtx.8 for ; Thu, 13 May 2021 05:20:13 -0700 (PDT) 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=XBNO43ndtkHe3HspPtwZPAlVXKJsSD5gwavNah1YJ6o=; b=odounVDkwM9Wwv/e7AgnKS82o6mwKSBFVzddxEYLB9dZ9q4KYU/ihykOsqxmUY1ITY nzum+FoYtYmsQE+tlPp/McYAG/SeKyiYIgRWIxEx3hX8y7iuOCM9dQjANat34ZX/MUss WCy0sp4RQI/k7ToMWi26lBhNfZbJvpLc/rYTVKmvQAMCSZzCV7KDP75zoQ8WB7jCtflW X1DMLawJXPJO1FTUI/hP1HxDts58vgaS5mmMXC9TW1jnGoflfq/9rfOT28BheHiXu+Zm GpUI4oVqI74qzxwwJQ0kvWfn7u8Exv+5iuXFNcN0BJ5GJD2Dr70vXY0vwqMPyE7kbbmh RReg== 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=XBNO43ndtkHe3HspPtwZPAlVXKJsSD5gwavNah1YJ6o=; b=UrJbrwC1dr/XERRng016JCG6ui19fjO5MMXf1u14AvmOimZtnyn+Pggdq8k2cLUtgD tUVSWFZHbjseCARHYepZyGObwXGBsYLu1zoTka0NjIpiIFL9s9r3VQTQIOC6vnmUaKQo /o6i2ZCgDyddgqj3Bxypfrscx7I92KMY5llpl5OWCWr4TZdyAPeJXBLMBeX3zZDVeb87 p0Xj2gvVVkwaamOyJjn9Opi2zGzIp0HBnECip4cWLY4RCyCirsPnPvzFM3dz6NkCAwwC 3dTfhDMmb6PkZz+IHdZvNRDgrKxrHmi51s3h98VtdcJPNLtcalENllwNiibrFyt/enXd 7CyA== X-Gm-Message-State: AOAM533wstIS7YaqYPRWqSoUjT5ZJp8zloWaidQ+16WM0IRhtI0peTON jTZZf7/EjABggx+pa32A8Jji7US5Cuu2hEBLr+4= X-Received: by 2002:a05:622a:138c:: with SMTP id o12mr39155299qtk.190.1620908413319; Thu, 13 May 2021 05:20:13 -0700 (PDT) Received: from localhost.localdomain (163.189-204-200.bestelclientes.com.mx. [189.204.200.163]) by smtp.gmail.com with ESMTPSA id b3sm847262qtg.55.2021.05.13.05.20.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 May 2021 05:20:13 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 3/4] tcg: Use correct trap number for page faults on *BSD systems Date: Thu, 13 May 2021 07:20:07 -0500 Message-Id: <20210513122008.207491-4-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210513122008.207491-1-richard.henderson@linaro.org> References: <20210513122008.207491-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::82b; envelope-from=richard.henderson@linaro.org; helo=mail-qt1-x82b.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, Mark Johnston , Warner Losh , Juergen Lock Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Warner Losh The trap number for a page fault on BSD systems is T_PAGEFLT not 0xe. 0xe is used by Linux and represents the intel hardware trap vector. The BSD kernels, however, translate this to T_PAGEFLT in their Xpage, Xtrap0e, Xtrap14, etc fault handlers. This is true for i386 and x86_64, though the name of the trap hanlder can very on the flavor of BSD. As far as I can tell, Linux doesn't provide a define for this value. Invent a new one (PAGE_FAULT_TRAP) and use it instead to avoid uglier ifdefs. Signed-off-by: Mark Johnston Signed-off-by: Juergen Lock [ Rework to avoid ifdefs and expand it to i386 ] Signed-off-by: Warner Losh Message-Id: <20210506173826.72832-1-imp@bsdimp.com> Signed-off-by: Richard Henderson --- accel/tcg/user-exec.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) -- 2.25.1 diff --git a/accel/tcg/user-exec.c b/accel/tcg/user-exec.c index fb2d43e6a9..d2acf6e82c 100644 --- a/accel/tcg/user-exec.c +++ b/accel/tcg/user-exec.c @@ -259,6 +259,7 @@ void *probe_access(CPUArchState *env, target_ulong addr, int size, #define TRAP_sig(context) ((context)->uc_mcontext.__gregs[_REG_TRAPNO]) #define ERROR_sig(context) ((context)->uc_mcontext.__gregs[_REG_ERR]) #define MASK_sig(context) ((context)->uc_sigmask) +#define PAGE_FAULT_TRAP T_PAGEFLT #elif defined(__FreeBSD__) || defined(__DragonFly__) #include @@ -266,16 +267,19 @@ void *probe_access(CPUArchState *env, target_ulong addr, int size, #define TRAP_sig(context) ((context)->uc_mcontext.mc_trapno) #define ERROR_sig(context) ((context)->uc_mcontext.mc_err) #define MASK_sig(context) ((context)->uc_sigmask) +#define PAGE_FAULT_TRAP T_PAGEFLT #elif defined(__OpenBSD__) #define EIP_sig(context) ((context)->sc_eip) #define TRAP_sig(context) ((context)->sc_trapno) #define ERROR_sig(context) ((context)->sc_err) #define MASK_sig(context) ((context)->sc_mask) +#define PAGE_FAULT_TRAP T_PAGEFLT #else #define EIP_sig(context) ((context)->uc_mcontext.gregs[REG_EIP]) #define TRAP_sig(context) ((context)->uc_mcontext.gregs[REG_TRAPNO]) #define ERROR_sig(context) ((context)->uc_mcontext.gregs[REG_ERR]) #define MASK_sig(context) ((context)->uc_sigmask) +#define PAGE_FAULT_TRAP 0xe #endif int cpu_signal_handler(int host_signum, void *pinfo, @@ -301,7 +305,8 @@ int cpu_signal_handler(int host_signum, void *pinfo, pc = EIP_sig(uc); trapno = TRAP_sig(uc); return handle_cpu_signal(pc, info, - trapno == 0xe ? (ERROR_sig(uc) >> 1) & 1 : 0, + trapno == PAGE_FAULT_TRAP ? + (ERROR_sig(uc) >> 1) & 1 : 0, &MASK_sig(uc)); } @@ -312,11 +317,13 @@ int cpu_signal_handler(int host_signum, void *pinfo, #define TRAP_sig(context) ((context)->uc_mcontext.__gregs[_REG_TRAPNO]) #define ERROR_sig(context) ((context)->uc_mcontext.__gregs[_REG_ERR]) #define MASK_sig(context) ((context)->uc_sigmask) +#define PAGE_FAULT_TRAP T_PAGEFLT #elif defined(__OpenBSD__) #define PC_sig(context) ((context)->sc_rip) #define TRAP_sig(context) ((context)->sc_trapno) #define ERROR_sig(context) ((context)->sc_err) #define MASK_sig(context) ((context)->sc_mask) +#define PAGE_FAULT_TRAP T_PAGEFLT #elif defined(__FreeBSD__) || defined(__DragonFly__) #include @@ -324,11 +331,13 @@ int cpu_signal_handler(int host_signum, void *pinfo, #define TRAP_sig(context) ((context)->uc_mcontext.mc_trapno) #define ERROR_sig(context) ((context)->uc_mcontext.mc_err) #define MASK_sig(context) ((context)->uc_sigmask) +#define PAGE_FAULT_TRAP T_PAGEFLT #else #define PC_sig(context) ((context)->uc_mcontext.gregs[REG_RIP]) #define TRAP_sig(context) ((context)->uc_mcontext.gregs[REG_TRAPNO]) #define ERROR_sig(context) ((context)->uc_mcontext.gregs[REG_ERR]) #define MASK_sig(context) ((context)->uc_sigmask) +#define PAGE_FAULT_TRAP 0xe #endif int cpu_signal_handler(int host_signum, void *pinfo, @@ -346,7 +355,8 @@ int cpu_signal_handler(int host_signum, void *pinfo, pc = PC_sig(uc); return handle_cpu_signal(pc, info, - TRAP_sig(uc) == 0xe ? (ERROR_sig(uc) >> 1) & 1 : 0, + TRAP_sig(uc) == PAGE_FAULT_TRAP ? + (ERROR_sig(uc) >> 1) & 1 : 0, &MASK_sig(uc)); } From patchwork Thu May 13 12:20:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 437325 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp284334jao; Thu, 13 May 2021 05:31:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+eYwweGkMMVochR7JYzgDgTT4Q0N+jwKMQIcBAtBykjIobGuvV92gU7JRe0tca2+SR/Wg X-Received: by 2002:aa7:d30b:: with SMTP id p11mr49658116edq.325.1620909068924; Thu, 13 May 2021 05:31:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620909068; cv=none; d=google.com; s=arc-20160816; b=C03uEFVFOb3+7BS16NPfdowhapd1m7vrH+XX/xjXizmt4yPG4PFgeQGxeaH/WXiwbx fIj7uCktA2Yp9o3A2im3mgEdh7jbq7TtJca3efrmRi7r0MFRcYTyJph14ad6qCT7ZapV cUidTR7MEgSEQyk3HAbeZSYMJhqW7Nj+m+CVuUZmcxVS+y94m+DbiS7ceUAvRfrjnbCi qCw0fWyDpfHy0ghMYA4N7qNeay7AeIJhFTy3ac1zWlbIn48psYzBL3hBTTytDuneCGC5 dv/1yEwFekE6FGO2UbIzrGbAcIG2sIPz0NTrwCYM14y4m8eG+1LepnCnAKC+biz/Kybt qpYA== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=kFL9t5OD5k5npkYQzODZhaVeI1U1ot/HuEftF5u8qrE=; b=dPeKdWvhXv61aIpr2xgt4SFJmpFeNk5HasMxx9tkwdK7D+ZH1kC0JDmQ+7JPzhF6G6 e4z2+EqWdrETQNFpSzEBNKzHmymkZlKDA9myMnLlxM2U5DUgMZg53clDru7xuXbwnf3O hKXxRSsdB8qufSJ/5nNRnT16+HR3nE1vlVgmDTzskNTBRLcpyk1HoEI+sakESNuC3NuR U8lEKCIAPEQrE464s1SSv3MKLphCsjTEd3L74nII0sY0RwZFUbyClfoghe1ocs/QTLmr iZBAK/ODnnWjz+pPq+3GxMLfgGYfCLw4+3d6yhJY33oR4wdFCTG9inQYQCKUqL0tDl2j qMgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XpxoNJX7; 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 b9si2987216edd.593.2021.05.13.05.31.08 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 May 2021 05:31:08 -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=XpxoNJX7; 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]:56086 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhAUd-00068G-KO for patch@linaro.org; Thu, 13 May 2021 08:31:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59596) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhAKA-00063F-Bf for qemu-devel@nongnu.org; Thu, 13 May 2021 08:20:20 -0400 Received: from mail-qk1-x72c.google.com ([2607:f8b0:4864:20::72c]:45018) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lhAK7-0001I2-3M for qemu-devel@nongnu.org; Thu, 13 May 2021 08:20:18 -0400 Received: by mail-qk1-x72c.google.com with SMTP id a2so25207965qkh.11 for ; Thu, 13 May 2021 05:20:14 -0700 (PDT) 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=kFL9t5OD5k5npkYQzODZhaVeI1U1ot/HuEftF5u8qrE=; b=XpxoNJX7OHbsr/jteGIygopw3Mu2MQVgWnJJ2iqxdCXXWApWdl+deN8uI/Y6qfQ97/ RNP+FASZl/XucgFHjmORk1batiCa0v0H0BfuluRBCO9nYbO9pFoiQYMLyzXaxRpHnAcS /id+rRrzPCLrtgX/RI+D9t9OQ2+4FtwI0/Z64CLt4/9AP+L7J6MeA5XVf+/zZem10bTL m7abie9cf5jWlhC35mLbiHuJ93P/VnspyBHL324OcLzsAOQDOBhQoOk31S2s3I722gXu HuAQhmrRdYnWaWrdNzPGGHGpXos/JKhVUu9ZR0qpQ6P633L/SoYoEP/S4raJzWVLh5Y4 8XLg== 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=kFL9t5OD5k5npkYQzODZhaVeI1U1ot/HuEftF5u8qrE=; b=e9FHWz2wOE3NKR9f9HDEAOlqpAS0vcp3popzGAE4AmkYVHcwOw4xp/ybd++skhNmDJ zNoW8Vg4TskPvhqqqX5ViByGCK8a5Wz8MCC6bIeYqF79UUUgblxQTDJVcxshymN3Pwr3 avl1lejB2uLS0rL+qffwH+0VsCdGAcQHfqC1eGjIkFLaprb5i/E5Jtusnk4d+EUmBPJm pxg2Hp5t963Z8o3/5ng1QAftjmJkfNcOR1wDvNACGY84H3ofslGOLcH9RRzobDc3YUqT 0kU9B3ecARczqXSmDzNIvmaVcMMOhh0xd3KXnw4cnjLK2S7AaawY1XsBuzCppMPPp4RY hsGQ== X-Gm-Message-State: AOAM5307deApOu23x/3fYyvcM68e0Ecvx0huhvVi5cYAdd1iY53d/IVn mLLnItZ0I0ItP4bcwVxq77ZKcM0Nasja87zzlSs= X-Received: by 2002:a37:ef17:: with SMTP id j23mr34117807qkk.392.1620908414259; Thu, 13 May 2021 05:20:14 -0700 (PDT) Received: from localhost.localdomain (163.189-204-200.bestelclientes.com.mx. [189.204.200.163]) by smtp.gmail.com with ESMTPSA id b3sm847262qtg.55.2021.05.13.05.20.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 May 2021 05:20:14 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 4/4] tcg: Add tcg_constant_tl Date: Thu, 13 May 2021 07:20:08 -0500 Message-Id: <20210513122008.207491-5-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210513122008.207491-1-richard.henderson@linaro.org> References: <20210513122008.207491-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::72c; envelope-from=richard.henderson@linaro.org; helo=mail-qk1-x72c.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, Matheus Ferst Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Matheus Ferst Used in ppc D/DS/X-form load/store implementation. Signed-off-by: Matheus Ferst Message-Id: <20210512185441.3619828-24-matheus.ferst@eldorado.org.br> Signed-off-by: Richard Henderson --- include/tcg/tcg-op.h | 2 ++ 1 file changed, 2 insertions(+) -- 2.25.1 diff --git a/include/tcg/tcg-op.h b/include/tcg/tcg-op.h index 2cd1faf9c4..ef8a008ea7 100644 --- a/include/tcg/tcg-op.h +++ b/include/tcg/tcg-op.h @@ -1096,6 +1096,7 @@ void tcg_gen_stl_vec(TCGv_vec r, TCGv_ptr base, TCGArg offset, TCGType t); #define tcg_gen_sextract_tl tcg_gen_sextract_i64 #define tcg_gen_extract2_tl tcg_gen_extract2_i64 #define tcg_const_tl tcg_const_i64 +#define tcg_constant_tl tcg_constant_i64 #define tcg_const_local_tl tcg_const_local_i64 #define tcg_gen_movcond_tl tcg_gen_movcond_i64 #define tcg_gen_add2_tl tcg_gen_add2_i64 @@ -1209,6 +1210,7 @@ void tcg_gen_stl_vec(TCGv_vec r, TCGv_ptr base, TCGArg offset, TCGType t); #define tcg_gen_sextract_tl tcg_gen_sextract_i32 #define tcg_gen_extract2_tl tcg_gen_extract2_i32 #define tcg_const_tl tcg_const_i32 +#define tcg_constant_tl tcg_constant_i32 #define tcg_const_local_tl tcg_const_local_i32 #define tcg_gen_movcond_tl tcg_gen_movcond_i32 #define tcg_gen_add2_tl tcg_gen_add2_i32