Hi Greentime,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on linus/master]
[also build test ERROR on v5.9-rc4]
[cannot apply to next-20200910]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Greentime-Hu/riscv-Add-vector-IS...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
7fe10096c1508c7f033d34d0741809f8eecc1ed4
config: riscv-allmodconfig (attached as .config)
compiler: riscv64-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
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
arch/riscv/kernel/kernel_mode_vector.c: Assembler messages:
> arch/riscv/kernel/kernel_mode_vector.c:88: Error: unrecognized
opcode `vsetvli a5,x0,e8,m8'
arch/riscv/kernel/kernel_mode_vector.c:89:
Error: unrecognized opcode `vmv.v.i v0,0'
arch/riscv/kernel/kernel_mode_vector.c:90: Error: unrecognized opcode `vmv.v.i
v8,0'
arch/riscv/kernel/kernel_mode_vector.c:91: Error: unrecognized opcode `vmv.v.i
v16,0'
arch/riscv/kernel/kernel_mode_vector.c:92: Error: unrecognized opcode `vmv.v.i
v24,0'
> arch/riscv/kernel/kernel_mode_vector.c:88: Error: unrecognized
opcode `vsetvli a5,x0,e8,m8'
arch/riscv/kernel/kernel_mode_vector.c:89:
Error: unrecognized opcode `vmv.v.i v0,0'
arch/riscv/kernel/kernel_mode_vector.c:90: Error: unrecognized opcode `vmv.v.i
v8,0'
arch/riscv/kernel/kernel_mode_vector.c:91: Error: unrecognized opcode `vmv.v.i
v16,0'
arch/riscv/kernel/kernel_mode_vector.c:92: Error: unrecognized opcode `vmv.v.i
v24,0'
#
https://github.com/0day-ci/linux/commit/1db9feafad65555b15f06c15f969b2b54...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Greentime-Hu/riscv-Add-vector-ISA-support/20200910-163426
git checkout 1db9feafad65555b15f06c15f969b2b54d0324bb
vim +88 arch/riscv/kernel/kernel_mode_vector.c
9bc3e08158278c Greentime Hu 2020-09-10 83
9bc3e08158278c Greentime Hu 2020-09-10 84 static void vector_flush_cpu_state(void)
9bc3e08158278c Greentime Hu 2020-09-10 85 {
9bc3e08158278c Greentime Hu 2020-09-10 86 long tmp;
9bc3e08158278c Greentime Hu 2020-09-10 87
9bc3e08158278c Greentime Hu 2020-09-10 @88 __asm__ __volatile__ (
1db9feafad6555 Greentime Hu 2020-09-10 89 "vsetvli %0, x0, e8, m8\n"
9bc3e08158278c Greentime Hu 2020-09-10 90 "vmv.v.i v0, 0\n"
9bc3e08158278c Greentime Hu 2020-09-10 91 "vmv.v.i v8, 0\n"
9bc3e08158278c Greentime Hu 2020-09-10 92 "vmv.v.i v16, 0\n"
1db9feafad6555 Greentime Hu 2020-09-10 93 "vmv.v.i v24,
0\n":"=r"(tmp)::);
9bc3e08158278c Greentime Hu 2020-09-10 94 }
9bc3e08158278c Greentime Hu 2020-09-10 95
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org