From patchwork Mon Apr 1 20:58:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Roth X-Patchwork-Id: 161580 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp985945jan; Mon, 1 Apr 2019 15:02:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqy4ufkjGNTF5lo9r/AozI/NzPM13j3TYvU1L9GzHt7NBe7izwkpzpXTgoOHsgLMCPZ1v66/ X-Received: by 2002:a5b:11:: with SMTP id a17mr57535259ybp.141.1554156150346; Mon, 01 Apr 2019 15:02:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554156150; cv=none; d=google.com; s=arc-20160816; b=fcuUcljaPzA0LkjHkuZOh4/xcumQa4cIZQ0edXEPuCoId4uhZuldMGSb/DEwyrL8LE XgQsw0B/FKKr0DPaX0sV3gESeju2tZNszFxynOi2PAn+479t3KhbWbfCxa340+8oTWn9 AHKn7JVpImPeEAsliEcQk7ql8ubbkj+FC+2ISf8Ods3vfxIywFtcEnQ8iQNnaGADwH2i KhTgqOOTptE+leHjRly2bs66BoTxjkSO6PFqyeeKEcAFEwxmv7qVS4OwXYm7c01Sv556 ehzm3bo2LSmk29KIR0IDWqF7OS15s/mlkibSe+B6rMfaC+jtVyzlEOsZ+3RIPNj1AlQb cHOQ== 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:subject:message-id:references :in-reply-to:date:to:from; bh=XaC1A2ZyLdv3WbfiUy3OwYg3gn2CI3OcQmAnaEMJrrY=; b=iWHCSTCsFfoWQKMVYQlwHk/ShDaYMa5p5HWUl6QYZ52w3vdwhgLw9gRat6dM+Aeqmk Psb836Qk/nJu1ZeH4AUAArpVztj3k9bfwAOfZk+pZscQduSHbFzT1sNHIsOLUnd7Gej/ rfp2w++wdekIq3nSTMXYXaB1gH993F9S5JxoWHgJNd3uXJGNngmvzvyP9Mdl48XLe8mI Ava3jHBHPEG5q1EipIfhMQOlMbrNLsRkYYnSvOtYK0ygOCSsMEh2Z9D4gGtS0vMT/i6U 1Ltd1dmvUAO1RjRHKsWYvbqrvLVWby8xocv8wEomiJk3Q7fxpF8pygbe4qcLg5mCqEW0 wSYg== ARC-Authentication-Results: i=1; mx.google.com; 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=ibm.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id y184si5214403yba.312.2019.04.01.15.02.30 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 01 Apr 2019 15:02:30 -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; 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=ibm.com Received: from localhost ([127.0.0.1]:54163 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hB50f-0001q4-Q7 for patch@linaro.org; Mon, 01 Apr 2019 18:02:29 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43265) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hB47Z-0004Dk-6w for qemu-devel@nongnu.org; Mon, 01 Apr 2019 17:05:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hB47I-0005Fx-QG for qemu-devel@nongnu.org; Mon, 01 Apr 2019 17:05:22 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:39580) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hB47F-0004xG-Pz for qemu-devel@nongnu.org; Mon, 01 Apr 2019 17:05:14 -0400 Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x31L505h140533 for ; Mon, 1 Apr 2019 17:05:01 -0400 Received: from e33.co.us.ibm.com (e33.co.us.ibm.com [32.97.110.151]) by mx0a-001b2d01.pphosted.com with ESMTP id 2rksqasqe4-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 01 Apr 2019 17:05:00 -0400 Received: from localhost by e33.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 1 Apr 2019 22:01:44 +0100 Received: from b03cxnp07029.gho.boulder.ibm.com (9.17.130.16) by e33.co.us.ibm.com (192.168.1.133) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Mon, 1 Apr 2019 22:01:41 +0100 Received: from b03ledav004.gho.boulder.ibm.com (b03ledav004.gho.boulder.ibm.com [9.17.130.235]) by b03cxnp07029.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x31L1ede27263032 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 1 Apr 2019 21:01:40 GMT Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9A1AA7805C; Mon, 1 Apr 2019 21:01:40 +0000 (GMT) Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 605F478067; Mon, 1 Apr 2019 21:01:40 +0000 (GMT) Received: from localhost (unknown [9.80.94.43]) by b03ledav004.gho.boulder.ibm.com (Postfix) with ESMTP; Mon, 1 Apr 2019 21:01:40 +0000 (GMT) From: Michael Roth To: qemu-devel@nongnu.org Date: Mon, 1 Apr 2019 15:58:49 -0500 X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190401210011.16009-1-mdroth@linux.vnet.ibm.com> References: <20190401210011.16009-1-mdroth@linux.vnet.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 19040121-0036-0000-0000-00000AA31D98 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00010857; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000283; SDB=6.01182941; UDB=6.00619269; IPR=6.00963683; MB=3.00026249; MTD=3.00000008; XFM=3.00000015; UTC=2019-04-01 21:01:43 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19040121-0037-0000-0000-00004B3CB11A Message-Id: <20190401210011.16009-16-mdroth@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-04-01_06:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1904010136 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 148.163.156.1 Subject: [Qemu-devel] [PATCH 15/97] target/arm: Use fp_status_fp16 for do_fmpa_zpzzz_h X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Richard Henderson , qemu-stable@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Richard Henderson This makes float16_muladd correctly use FZ16 not FZ. Fixes: 6ceabaad110 Cc: qemu-stable@nongnu.org (3.0.1) Reported-by: Laurent Desnogues Signed-off-by: Richard Henderson Reviewed-by: Laurent Desnogues Tested-by: Laurent Desnogues Message-id: 20180810193129.1556-4-richard.henderson@linaro.org Signed-off-by: Peter Maydell (cherry picked from commit 52a339b11d1719a6589de40606859939875fda9a) Signed-off-by: Michael Roth --- target/arm/sve_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/target/arm/sve_helper.c b/target/arm/sve_helper.c index e03f954a26..0f98097253 100644 --- a/target/arm/sve_helper.c +++ b/target/arm/sve_helper.c @@ -3358,7 +3358,7 @@ static void do_fmla_zpzzz_h(CPUARMState *env, void *vg, uint32_t desc, e1 = *(uint16_t *)(vn + H1_2(i)) ^ neg1; e2 = *(uint16_t *)(vm + H1_2(i)); e3 = *(uint16_t *)(va + H1_2(i)) ^ neg3; - r = float16_muladd(e1, e2, e3, 0, &env->vfp.fp_status); + r = float16_muladd(e1, e2, e3, 0, &env->vfp.fp_status_f16); *(uint16_t *)(vd + H1_2(i)) = r; } } while (i & 63);