Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3378662pxk; Mon, 28 Sep 2020 16:21:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyGQsqHiwvT1JYMGrCpUz3n5jOboTdgmGPMhGRhMXYl8MiNG8nVQ2xo0bbFHnBHmFnfQrUc X-Received: by 2002:a17:907:20d0:: with SMTP id qq16mr1029946ejb.65.1601335269155; Mon, 28 Sep 2020 16:21:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601335269; cv=none; d=google.com; s=arc-20160816; b=pmUHv0g7JKUDRxlMhycwXUHE0DhPh/6qayinE1ZbebUfIYOqWr4vEdTXsmZF8ZSffe anTmRW4imxnIpPYF/wHWASMZL1ajTSDc94BH5D1rurEhF1TgZO0jsiBV7uSxO/Y0jL6Q 23nIcfKnHU1P++DEtTz4BH5PmxtEZM8ajDEcsdvwicHzkeZ0pqu75pWviKgbGrqAQLBB WUyQFq6QJakkU42G644Yxy+fpjtamWou0YxHGm05zxFgeRLBu91DhdykJas/L96H5nbu /rx4LvuGcSeSRYX5zG4hBDJsxUYNulqqqlelMabnqZMYoDLOJzRAJ3/u5e5KfIM5Beji TLDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date:dkim-signature:dkim-signature; bh=p9EeR/YK8w4ocjwAg98NE+D9g7Nvi0feW/OeGFcCB6M=; b=EgglbCBf4Mvs2aXixfSjDgfrA0uSwJZnnHMIELoZcHd5cWQGGU5fWmPc2RdXI4DRji yt7aRxhVud/AfMnrlCnDVLpa4U0UYRoam1NhRjYulVHS8yvoka1Igqwqq/YY36Wa0S91 KZ1mZLesNwcVBJDypA0Jb208yhe77CFqnFUJ7MCy+UJUOvIretCc3OX0SlAV0qVTuXNS 0KtMtoFauoV87trvuUOczxSVz6BKIpAmFhYeJH2C4fJW/vAxgnaKbJ9pkGf9PRs5kbaU pYenCwmvQO4SLeWeIB+fL8wWnpsoxL6wGIOyrpnZCTdKQ9zWaeLOKZPUZMV9EIqq4pLH 96pA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=VCiLey7s; dkim=pass header.i=@fluxnic.net header.s=2016-12.pbsmtp header.b=TwI3tNfL; 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 n15si1592957eje.58.2020.09.28.16.20.39; Mon, 28 Sep 2020 16:21:08 -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=@pobox.com header.s=sasl header.b=VCiLey7s; dkim=pass header.i=@fluxnic.net header.s=2016-12.pbsmtp header.b=TwI3tNfL; 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 S1727115AbgI1XSy (ORCPT + 99 others); Mon, 28 Sep 2020 19:18:54 -0400 Received: from pb-smtp20.pobox.com ([173.228.157.52]:51889 "EHLO pb-smtp20.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727106AbgI1XSv (ORCPT ); Mon, 28 Sep 2020 19:18:51 -0400 X-Greylist: delayed 5723 seconds by postgrey-1.27 at vger.kernel.org; Mon, 28 Sep 2020 19:18:49 EDT Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id B920DF0A8C; Mon, 28 Sep 2020 17:43:25 -0400 (EDT) (envelope-from nico@fluxnic.net) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=date:from:to :cc:subject:in-reply-to:message-id:references:mime-version :content-type; s=sasl; bh=cKCCV4JvVtKZVo2OWfaysl1dwHc=; b=VCiLey 7sFegHk1JI8eAUJdm3Pe2FLaOeZeFedpU8mzoPhBkJqpmtDkLarTjtCT7awxP94M ArVAPQWGhgBF7DC/zHrld4smaqaGQ86udavX3eOxcr82TXuCjF7WAvwctTp+W12N ygMlh3A0jXdtZ+5lJSezNZvhZHi77N14q99sQ= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id B0E1EF0A8B; Mon, 28 Sep 2020 17:43:25 -0400 (EDT) (envelope-from nico@fluxnic.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=fluxnic.net; h=date:from:to:cc:subject:in-reply-to:message-id:references:mime-version:content-type; s=2016-12.pbsmtp; bh=CgOZQoxVv2I9ohh2CWrXtupYw1WiMqMLwgc7oQUtRkg=; b=TwI3tNfLUeCSwk0mgmH1tT7bumPQgaA/crFEEGy3MAr2zRuKqOkWTM4dbgaywZ9UDajnVg+BQ3ffv6OkjegU2jUiok7giZ+5LKKH9g2vcBai1aRbpP1glhFSWig2LAB/uhI65/YTQlQ1uuDW4svZhiYHMLwjRhv0Szcq+6cVZbA= Received: from yoda.home (unknown [24.203.50.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp20.pobox.com (Postfix) with ESMTPSA id 87BDFF0A8A; Mon, 28 Sep 2020 17:43:22 -0400 (EDT) (envelope-from nico@fluxnic.net) Received: from xanadu.home (xanadu.home [192.168.2.2]) by yoda.home (Postfix) with ESMTPSA id 708D42DA0543; Mon, 28 Sep 2020 17:43:20 -0400 (EDT) Date: Mon, 28 Sep 2020 17:43:20 -0400 (EDT) From: Nicolas Pitre To: Rong Chen cc: kernel test robot , kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Arnd Bergmann , gcc@gcc.gnu.org Subject: Re: {standard input}:1174: Error: inappropriate arguments for opcode 'mpydu' In-Reply-To: <783f6c8f-1ef4-f5f6-9ac2-b2372c7f340d@intel.com> Message-ID: References: <202008300726.ynqzYKmk%lkp@intel.com> <783f6c8f-1ef4-f5f6-9ac2-b2372c7f340d@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Pobox-Relay-ID: A1979A74-01D3-11EB-BDB7-F0EA2EB3C613-78420484!pb-smtp20.pobox.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 27 Sep 2020, Rong Chen wrote: > Hi Nicolas, > > Thanks for the feedback, the error still remains with gcc 10.2.0: I've created the simplest test case that can be. You won't believe it. Test case: $ cat test.c unsigned int test(unsigned int x, unsigned long long y) { y /= 0x20000000; if (x > 1) y *= x; return y; } $ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/0day/gcc-9.3.0-nolibc/arc-elf/libexec/gcc/arc-elf/9.3.0 $ ~/0day/gcc-9.3.0-nolibc/arc-elf/bin/arc-elf-gcc -mcpu=hs38 -mbig-endian -O2 -c test.c /tmp/cc0GAomh.s: Assembler messages: /tmp/cc0GAomh.s:21: Error: inappropriate arguments for opcode 'mpydu' I know nothing about ARC. Please anyone take it over from here. Nicolas