lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Mon, 28 Sep 2020 17:43:20 -0400 (EDT)
From:   Nicolas Pitre <nico@...xnic.net>
To:     Rong Chen <rong.a.chen@...el.com>
cc:     kernel test robot <lkp@...el.com>, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org, Arnd Bergmann <arnd@...db.de>,
        gcc@....gnu.org
Subject: Re: {standard input}:1174: Error: inappropriate arguments for opcode
 'mpydu'

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ