Received: by 2002:a17:90b:8d0:0:0:0:0 with SMTP id ds16csp4868415pjb; Mon, 27 Jul 2020 07:13:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwjP3vR/FZBDxOc2n1dglDRP3yMsxni/JjfniXuCe7e38mo1aGR4DsDVOvBrcMm4wvOMIJI X-Received: by 2002:a17:906:2b50:: with SMTP id b16mr21939853ejg.410.1595859199878; Mon, 27 Jul 2020 07:13:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595859199; cv=none; d=google.com; s=arc-20160816; b=oobojRR5nH7z7eiCNUt7U58/NNnycmJstHX5M+TqnA0QpsUbvnk9DCHuvNCDePVl7G 203nyE4zrA6WtdnuE7Wnti2Bo81CqriEehJXBkMElfk0XVLb4Y4anxHi/IMI7ZXCTthh iG7D0a/TKzXhLv4amr1WseAtAV5cj4qtMjjfefisXCFyLR2c+6ae7h7tIy/VRPgSaSn3 1OlsppC7EcQbyHYWIFS+XtbNtJYOcDGUi0bt9OySPexr4xuFYqh6Kqq/wJVEArIivscL 17Q2dXOSbD6qFZBnzlMPSD4b8VbdVAlcm89wcg6Pd1GvlbAx+eaDiK4/qRg6b/x8213X 3dZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=+g2gp8qBPZq78TsIE6FdPXe3Sq/yWzgsxRT8xRfUf4o=; b=Dn/hDHrJSIWbUq8kPqlgxl1FewO54MyrJ5jYBCbMPIBbRKxIjgDlWEfuf+eud77p20 fONf0oGTeoJ7YkSEh7oFuoE0QYPI/mfaofb4HJ214uBsAn9wlnL7Tl9vZIfphvKhDI0Q Fux0mkdYjPn5VDc232vrXyB7VOFo9J0EgS1k8BH7SGObRS7ceqvOn4h+SgvOF8PtX+C5 9vdjEy6bLrjj3xgyKr/ppSPo/Yx5LU1bSaIzZmkwdPu+7SI+HrvbMwJ7pS82xQDy5Rsg A+w5S1L3jxFQ48P0ihjnT3iNzx1Mtc7nct9yLR1tKYBw8CTxOM4RirSW2myUh0rVJInJ kEUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=180DPRe+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f3si5771760edy.2.2020.07.27.07.12.57; Mon, 27 Jul 2020 07:13:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=180DPRe+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729428AbgG0OLh (ORCPT + 99 others); Mon, 27 Jul 2020 10:11:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:35052 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729452AbgG0OL0 (ORCPT ); Mon, 27 Jul 2020 10:11:26 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C972920838; Mon, 27 Jul 2020 14:11:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595859086; bh=kB41gXh/gK69Ub+thQTzV8vVMeVaJNEl8ZZLFyl95ZQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=180DPRe+hrjhJZC6XYqnwqzGxeMzu1JbtxFWLlO1dNkqondoJMWmWmgVdgA7TzMec RoB/jrlYbAEimVeRUhmz5ZkrSY7t/PftZR+PTdatNgCf1TYOE/pIxKA8nEngzunxcY YvAw3/QuwxS2YQwliCV+X+SOL2hKwILvlY3TGnFE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann , Thomas Gleixner , Nick Desaulniers , Sasha Levin Subject: [PATCH 4.19 59/86] x86: math-emu: Fix up cmp insn for clang ias Date: Mon, 27 Jul 2020 16:04:33 +0200 Message-Id: <20200727134917.395764070@linuxfoundation.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200727134914.312934924@linuxfoundation.org> References: <20200727134914.312934924@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann [ Upstream commit 81e96851ea32deb2c921c870eecabf335f598aeb ] The clang integrated assembler requires the 'cmp' instruction to have a length prefix here: arch/x86/math-emu/wm_sqrt.S:212:2: error: ambiguous instructions require an explicit suffix (could be 'cmpb', 'cmpw', or 'cmpl') cmp $0xffffffff,-24(%ebp) ^ Make this a 32-bit comparison, which it was clearly meant to be. Signed-off-by: Arnd Bergmann Signed-off-by: Thomas Gleixner Reviewed-by: Nick Desaulniers Link: https://lkml.kernel.org/r/20200527135352.1198078-1-arnd@arndb.de Signed-off-by: Sasha Levin --- arch/x86/math-emu/wm_sqrt.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/math-emu/wm_sqrt.S b/arch/x86/math-emu/wm_sqrt.S index f031c0e193565..515cdee90df72 100644 --- a/arch/x86/math-emu/wm_sqrt.S +++ b/arch/x86/math-emu/wm_sqrt.S @@ -209,7 +209,7 @@ sqrt_stage_2_finish: #ifdef PARANOID /* It should be possible to get here only if the arg is ffff....ffff */ - cmp $0xffffffff,FPU_fsqrt_arg_1 + cmpl $0xffffffff,FPU_fsqrt_arg_1 jnz sqrt_stage_2_error #endif /* PARANOID */ -- 2.25.1