From nobody Tue Feb 10 04:15:25 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1596712649; cv=none; d=zohomail.com; s=zohoarc; b=UKQdfQF0EEyxUr2YPikKXt8b1b4txWMNiUeKjf682ATsJM6J13gAwX9UbUZHd/HrHT7Gp259wpl2+f58CQwhl6FSiLmR7j3eH+1F3U3GZzUJjUqduh5FMeobx+CTiqUOYrVOb16EQI8/ZjzJSDvSZ5VaLkAJzeUfHfgTwqrEBHk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1596712649; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=IQ3uTgsg443PO8q/BPWjaloyJQL2rLdGPV+ewS61ZxI=; b=UPjVvHyo3Jr7lOzHeaqxhdd3augv7t5C2mwMnIFjxbQf7YOagLK/ElatsqMe+6pvnA96fz7094eJ/2ltAJGsZIFuuUDWY1zdTdpAHr3D/55heauetL/L5Z31Isq+VhCsgISiKVuifxLAj15MHJhy3dJjwLkYVX+KMBQT8QhfioI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1596712649073483.48399928531103; Thu, 6 Aug 2020 04:17:29 -0700 (PDT) Received: from localhost ([::1]:47640 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k3dtm-0005qs-Ni for importer@patchew.org; Thu, 06 Aug 2020 07:17:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41972) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k3dTC-0004fi-VS for qemu-devel@nongnu.org; Thu, 06 Aug 2020 06:49:58 -0400 Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]:36502) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k3dTA-00085X-Iu for qemu-devel@nongnu.org; Thu, 06 Aug 2020 06:49:58 -0400 Received: by mail-pf1-x42e.google.com with SMTP id m8so17863943pfh.3 for ; Thu, 06 Aug 2020 03:49:54 -0700 (PDT) Received: from frankchang-ThinkPad-T490.internal.sifive.com (114-34-229-221.HINET-IP.hinet.net. [114.34.229.221]) by smtp.gmail.com with ESMTPSA id f18sm6567309pgv.84.2020.08.06.03.49.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Aug 2020 03:49:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=IQ3uTgsg443PO8q/BPWjaloyJQL2rLdGPV+ewS61ZxI=; b=V8OyAFAQjDme8o5BF/+qB9z8Fc1+Tj75iHOcX8eTWH0hURIlHAhN+1rK5fBhu5C+vx MvmK/eRAlgrN6yPuajAGrZXxdtGj22qCxcQqE2gJoEwBnTROjS0lH7IqWkHkD+xIMotm ILVquca0q0k3g9cWXJBJ6/Qqbgl0cR4jwNruRNZckKrmAez2K+RInyJpE4F3AIedvgZQ cWnXFtqepTdEaGawhsDMkdBKC9HsxVDoJDaDARvholyzBW25o3dS71FRPM/Wpz5i5aCU lNGxYoFOrRGGDh8nCYppW7VpBNnECZuAPGGGz/bZBDEBr7Lh549P+n5L/5WP2FhzQUfN cnqg== 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; bh=IQ3uTgsg443PO8q/BPWjaloyJQL2rLdGPV+ewS61ZxI=; b=rmPKSAgTPceDcaY2+SSg4f6voZSzTHiAiVeuGL5PhEBDlQ5+HIM6AZ2eYVY/hbDot4 QFpxo/MC6J3YHhPbqrDUk0hW+hFeIXKeKyVIVCgzaRPHcghviupjX+bltFdrbIUcue9s 085VeROgG5lgt/SpcdTCUG/+7/i1jtn0uhYc7rTyHXE9uureW++Rbjy/31VEk2JBBtrO AspcPZpQptII//RQVBLHkcE4wBnDttx5om2eboapLSeKbVDur49h7rLqZkVl2skPDJTi AjU15DGougqopzeFaZFQ87lhdbEAvTTV9IGIVsB2qG2ZolcxdbFRrHdICUHKlJR8JLZM e/Zw== X-Gm-Message-State: AOAM533bpfswGdbKR/mSojcRszXgQAR0HlDSGlh9wrkukObYCNshJ9Mf NEM3oK/+x4oCQS2h++RZfaiD1QqAyUM= X-Google-Smtp-Source: ABdhPJz7ER815wZQTveNKqwFVjivJQ/3CWKBeX9EFojYCZBzDphkzkXGIaEfuRardBpd1Ads8kDNYA== X-Received: by 2002:aa7:9ace:: with SMTP id x14mr7269835pfp.216.1596710993595; Thu, 06 Aug 2020 03:49:53 -0700 (PDT) From: frank.chang@sifive.com To: qemu-devel@nongnu.org, qemu-riscv@nongnu.org Subject: [RFC v3 63/71] target/riscv: rvv-1.0: floating-point min/max instructions Date: Thu, 6 Aug 2020 18:47:00 +0800 Message-Id: <20200806104709.13235-64-frank.chang@sifive.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200806104709.13235-1-frank.chang@sifive.com> References: <20200806104709.13235-1-frank.chang@sifive.com> Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::42e; envelope-from=frank.chang@sifive.com; helo=mail-pf1-x42e.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, URIBL_BLOCKED=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: Frank Chang , Alistair Francis , Palmer Dabbelt , Sagar Karandikar , Bastian Koppelmann Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Frank Chang Signed-off-by: Frank Chang --- target/riscv/vector_helper.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/target/riscv/vector_helper.c b/target/riscv/vector_helper.c index 359ed6605c6..10b99113712 100644 --- a/target/riscv/vector_helper.c +++ b/target/riscv/vector_helper.c @@ -3658,28 +3658,28 @@ GEN_VEXT_V_ENV(vfsqrt_v_w, 4, 4) GEN_VEXT_V_ENV(vfsqrt_v_d, 8, 8) =20 /* Vector Floating-Point MIN/MAX Instructions */ -RVVCALL(OPFVV2, vfmin_vv_h, OP_UUU_H, H2, H2, H2, float16_minnum) -RVVCALL(OPFVV2, vfmin_vv_w, OP_UUU_W, H4, H4, H4, float32_minnum) -RVVCALL(OPFVV2, vfmin_vv_d, OP_UUU_D, H8, H8, H8, float64_minnum) +RVVCALL(OPFVV2, vfmin_vv_h, OP_UUU_H, H2, H2, H2, float16_minnum_noprop) +RVVCALL(OPFVV2, vfmin_vv_w, OP_UUU_W, H4, H4, H4, float32_minnum_noprop) +RVVCALL(OPFVV2, vfmin_vv_d, OP_UUU_D, H8, H8, H8, float64_minnum_noprop) GEN_VEXT_VV_ENV(vfmin_vv_h, 2, 2) GEN_VEXT_VV_ENV(vfmin_vv_w, 4, 4) GEN_VEXT_VV_ENV(vfmin_vv_d, 8, 8) -RVVCALL(OPFVF2, vfmin_vf_h, OP_UUU_H, H2, H2, float16_minnum) -RVVCALL(OPFVF2, vfmin_vf_w, OP_UUU_W, H4, H4, float32_minnum) -RVVCALL(OPFVF2, vfmin_vf_d, OP_UUU_D, H8, H8, float64_minnum) +RVVCALL(OPFVF2, vfmin_vf_h, OP_UUU_H, H2, H2, float16_minnum_noprop) +RVVCALL(OPFVF2, vfmin_vf_w, OP_UUU_W, H4, H4, float32_minnum_noprop) +RVVCALL(OPFVF2, vfmin_vf_d, OP_UUU_D, H8, H8, float64_minnum_noprop) GEN_VEXT_VF(vfmin_vf_h, 2, 2) GEN_VEXT_VF(vfmin_vf_w, 4, 4) GEN_VEXT_VF(vfmin_vf_d, 8, 8) =20 -RVVCALL(OPFVV2, vfmax_vv_h, OP_UUU_H, H2, H2, H2, float16_maxnum) -RVVCALL(OPFVV2, vfmax_vv_w, OP_UUU_W, H4, H4, H4, float32_maxnum) -RVVCALL(OPFVV2, vfmax_vv_d, OP_UUU_D, H8, H8, H8, float64_maxnum) +RVVCALL(OPFVV2, vfmax_vv_h, OP_UUU_H, H2, H2, H2, float16_maxnum_noprop) +RVVCALL(OPFVV2, vfmax_vv_w, OP_UUU_W, H4, H4, H4, float32_maxnum_noprop) +RVVCALL(OPFVV2, vfmax_vv_d, OP_UUU_D, H8, H8, H8, float64_maxnum_noprop) GEN_VEXT_VV_ENV(vfmax_vv_h, 2, 2) GEN_VEXT_VV_ENV(vfmax_vv_w, 4, 4) GEN_VEXT_VV_ENV(vfmax_vv_d, 8, 8) -RVVCALL(OPFVF2, vfmax_vf_h, OP_UUU_H, H2, H2, float16_maxnum) -RVVCALL(OPFVF2, vfmax_vf_w, OP_UUU_W, H4, H4, float32_maxnum) -RVVCALL(OPFVF2, vfmax_vf_d, OP_UUU_D, H8, H8, float64_maxnum) +RVVCALL(OPFVF2, vfmax_vf_h, OP_UUU_H, H2, H2, float16_maxnum_noprop) +RVVCALL(OPFVF2, vfmax_vf_w, OP_UUU_W, H4, H4, float32_maxnum_noprop) +RVVCALL(OPFVF2, vfmax_vf_d, OP_UUU_D, H8, H8, float64_maxnum_noprop) GEN_VEXT_VF(vfmax_vf_h, 2, 2) GEN_VEXT_VF(vfmax_vf_w, 4, 4) GEN_VEXT_VF(vfmax_vf_d, 8, 8) --=20 2.17.1