mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* {standard input}:1174: Error: inappropriate arguments for opcode 'mpydu'
@ 2020-08-29 23:39 kernel test robot
  2020-08-30  2:58 ` Nicolas Pitre
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2020-08-29 23:39 UTC (permalink / raw)
  To: Nicolas Pitre; +Cc: kbuild-all, linux-kernel, Arnd Bergmann

[-- Attachment #1: Type: text/plain, Size: 1139 bytes --]

Hi Nicolas,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   e77aee1326f7691763aa968eee2f57db37840b9d
commit: 602828c1aade576ac5f3fbd59b4eb014c5fc2414 __div64_const32(): improve the generic C version
date:   12 months ago
config: arc-allmodconfig (attached as .config)
compiler: arceb-elf-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 602828c1aade576ac5f3fbd59b4eb014c5fc2414
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   {standard input}: Assembler messages:
>> {standard input}:1174: Error: inappropriate arguments for opcode 'mpydu'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 60082 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: {standard input}:1174: Error: inappropriate arguments for opcode 'mpydu'
  2020-08-29 23:39 {standard input}:1174: Error: inappropriate arguments for opcode 'mpydu' kernel test robot
@ 2020-08-30  2:58 ` Nicolas Pitre
       [not found]   ` <783f6c8f-1ef4-f5f6-9ac2-b2372c7f340d@intel.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Pitre @ 2020-08-30  2:58 UTC (permalink / raw)
  To: kernel test robot; +Cc: kbuild-all, linux-kernel, Arnd Bergmann

This looks like a buggy compiler to me.


On Sun, 30 Aug 2020, kernel test robot wrote:

> Hi Nicolas,
> 
> FYI, the error/warning still remains.
> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   e77aee1326f7691763aa968eee2f57db37840b9d
> commit: 602828c1aade576ac5f3fbd59b4eb014c5fc2414 __div64_const32(): improve the generic C version
> date:   12 months ago
> config: arc-allmodconfig (attached as .config)
> compiler: arceb-elf-gcc (GCC) 9.3.0
> reproduce (this is a W=1 build):
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         git checkout 602828c1aade576ac5f3fbd59b4eb014c5fc2414
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc 
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
> 
> All errors (new ones prefixed by >>):
> 
>    {standard input}: Assembler messages:
> >> {standard input}:1174: Error: inappropriate arguments for opcode 'mpydu'
> 
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: {standard input}:1174: Error: inappropriate arguments for opcode 'mpydu'
       [not found]   ` <783f6c8f-1ef4-f5f6-9ac2-b2372c7f340d@intel.com>
@ 2020-09-28 21:43     ` Nicolas Pitre
  0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Pitre @ 2020-09-28 21:43 UTC (permalink / raw)
  To: Rong Chen; +Cc: kernel test robot, kbuild-all, linux-kernel, Arnd Bergmann, gcc

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-09-28 23:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-29 23:39 {standard input}:1174: Error: inappropriate arguments for opcode 'mpydu' kernel test robot
2020-08-30  2:58 ` Nicolas Pitre
     [not found]   ` <783f6c8f-1ef4-f5f6-9ac2-b2372c7f340d@intel.com>
2020-09-28 21:43     ` Nicolas Pitre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®