Re: {standard input}:533: Error: opcode not supported on this processor: mips3 (mips3) `dins $8,$11,32,32'

From: Maciej W. Rozycki
Date: Wed Oct 20 2021 - 19:41:50 EST


On Mon, 28 Dec 2020, kernel test robot wrote:

> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 5c8fe583cce542aa0b84adc939ce85293de36e5e
> commit: c7e2d71dda7ac4731bae54a25c49cd81fe7b9046 MIPS: Fix set_pte() for Netlogic XLR using cmpxchg64()
> date: 1 year, 11 months ago
> config: mips-randconfig-c004-20201228 (attached as .config)
> compiler: mipsel-linux-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
> # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c7e2d71dda7ac4731bae54a25c49cd81fe7b9046
> git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> git fetch --no-tags linus master
> git checkout c7e2d71dda7ac4731bae54a25c49cd81fe7b9046
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
>
> All errors (new ones prefixed by >>):
>
> {standard input}: Assembler messages:
> >> {standard input}:533: Error: opcode not supported on this processor: mips3 (mips3) `dins $8,$11,32,32'

Good catch! :) Fix posted:

<https://patchwork.kernel.org/project/linux-mips/patch/alpine.DEB.2.21.2110210054080.31442@xxxxxxxxxxxxxxxxx/>

Maciej