Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1mKjBn-0004xa-FC for mharc-qemu-riscv@gnu.org; Mon, 30 Aug 2021 11:27:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35110) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKjBk-0004ue-EA for qemu-riscv@nongnu.org; Mon, 30 Aug 2021 11:27:08 -0400 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]:33689) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKjBg-0006sz-NS for qemu-riscv@nongnu.org; Mon, 30 Aug 2021 11:27:08 -0400 Received: by mail-pl1-x62f.google.com with SMTP id m4so8774761pll.0 for ; Mon, 30 Aug 2021 08:27:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=rIa4tKM96jkbh/gf5IOz9hRl8n7H0HMEGyk/cdqDbRc=; b=jvl67eW/rjSdodzaFxVdQLLGVLohSLWlNUBNc7sL2woeNLq588HnlI41UXe5eJgLC1 qpGkX+6f2VwYC3XElAGGY4e+YqXqAeDfzHBEhWijakLdZpD/p4UMfRx3YuDUYW4BhHja nhu8HrXfpBr54PeTW+H253wW6gRkrV9hPkDiWXOq/cN2rCLnXlx4iiktuKp1ZW0TeO3s E++wwLwLXRFbyJXwvu+Dcx1X+G96ZlZposZdHx9ojau4ajy9VYq26igQXScw5nqb60Bd mlVNu4IgQ/8ArB0gUl4zUpH4nxXbXKbkv8lGNIv1CX4CI4z1adyNNAU8REiG+uRdyrB9 pMOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=rIa4tKM96jkbh/gf5IOz9hRl8n7H0HMEGyk/cdqDbRc=; b=CJSOQhb3MqLeTplZHzDGyPMy2YfW6zmsLzipUtM6t2vcC4OcFDh6a7sb2oT+E2SPbT VvFND4feaS85VMI4+FXg6q7RVD0vtZl13LC8/CtJLkWw90e5knrvn6gnVsyzRZh9cytL VQbF6L+ebibgoKoMAgHMHUpAOhJYoplc3P7b+Op1UYlabtbbn95CmfCTYtW1s8ZbQG1B OZ1Ph2NlmeDW/SQxpHqY8FQLgoxGoYSaOI0CtdBLb699kxDxS+vumUVgue2WN1hsZmaW eSrbaBowyvSuH2EAkPXUFrSF9ERKVwdxFovftRO1twp6s9LBYjhOsYWdWQ8vPtHrmH5T M7fA== X-Gm-Message-State: AOAM531QakqmPQPRjIiX/eCPLIi2esUxqzQKdS6mB8kffrx9xiQPpewg DtXouNV1onjGfy4+PPTY2srCYZi79kSHcQ== X-Google-Smtp-Source: ABdhPJxCPgaYZRUhAOKL4H8oEqt3s5+YPYcSvdx1mHtaVsb3Y0lFB6dod53NesFE4PJr6jPE9vcZVQ== X-Received: by 2002:a17:902:bb81:b0:12d:a7ec:3d85 with SMTP id m1-20020a170902bb8100b0012da7ec3d85mr205056pls.17.1630337220852; Mon, 30 Aug 2021 08:27:00 -0700 (PDT) Received: from [192.168.1.11] (174-21-72-39.tukw.qwest.net. [174.21.72.39]) by smtp.gmail.com with ESMTPSA id b5sm10861043pfr.26.2021.08.30.08.27.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 30 Aug 2021 08:27:00 -0700 (PDT) Subject: Re: [PATCH v4 00/21] target/riscv: Use tcg_constant_* To: Alistair Francis Cc: "qemu-devel@nongnu.org Developers" , Alistair Francis , Bin Meng , "open list:RISC-V" References: <20210820174257.548286-1-richard.henderson@linaro.org> From: Richard Henderson Message-ID: <92c46154-0260-bdf8-b5f2-e37e8f009625@linaro.org> Date: Mon, 30 Aug 2021 08:26:58 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2607:f8b0:4864:20::62f; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x62f.google.com X-Spam_score_int: -29 X-Spam_score: -3.0 X-Spam_bar: --- X-Spam_report: (-3.0 / 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, NICE_REPLY_A=-0.932, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-riscv@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2021 15:27:10 -0000 On 8/30/21 3:12 AM, Alistair Francis wrote: > On Sat, Aug 21, 2021 at 3:43 AM Richard Henderson > wrote: >> >> Replace use of tcg_const_*, which makes a copy into a temp which must >> be freed, with direct use of the constant. Reorg handling of $zero, >> with different accessors for source and destination. Reorg handling >> of csrs, passing the actual write_mask instead of a regno. Use more >> helpers for RVH expansion. >> >> Patches lacking review: >> 02-tests-tcg-riscv64-Add-test-for-division.patch >> 03-target-riscv-Clean-up-division-helpers.patch >> 11-target-riscv-Add-DisasExtend-to-gen_unary.patch >> 17-target-riscv-Use-gen_shift_imm_fn-for-slli_uw.patch >> 21-target-riscv-Use-get-dest-_gpr-for-RVV.patch > > This should be all reviewed now. Do you want me to take it or do you plan on it? Please take it through the riscv tree. Thanks for the review. r~