* [arc:topic-zol-remove 10/30] arch/arc/include/asm/checksum.h:46: Error: opcode 'ldd' not supported for target arc700
@ 2020-05-06 21:57 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-06 21:57 UTC (permalink / raw)
To: Vineet Gupta; +Cc: linux-snps-arc, kbuild-all
[-- Attachment #1: Type: text/plain, Size: 5980 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.git topic-zol-remove
head: 8ce6b2a73b83a4a77f5444a0a2c27748bb27ea0f
commit: d033e9026a729efc2101065b8251f94f78e48566 [10/30] ARC: checksum: elide ZOL, use double load/stores
config: arc-tb10x_defconfig (attached as .config)
compiler: arc-elf-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout d033e9026a729efc2101065b8251f94f78e48566
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=arc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
arch/arc/include/asm/checksum.h: Assembler messages:
>> arch/arc/include/asm/checksum.h:46: Error: opcode 'ldd' not supported for target arc700
arch/arc/include/asm/checksum.h:47: Error: opcode 'ldd' not supported for target arc700
>> arch/arc/include/asm/checksum.h:46: Error: opcode 'ldd' not supported for target arc700
arch/arc/include/asm/checksum.h:47: Error: opcode 'ldd' not supported for target arc700
--
arch/arc/include/asm/checksum.h: Assembler messages:
>> arch/arc/include/asm/checksum.h:46: Error: opcode 'ldd' not supported for target arc700
arch/arc/include/asm/checksum.h:47: Error: opcode 'ldd' not supported for target arc700
--
arch/arc/include/asm/checksum.h: Assembler messages:
>> arch/arc/include/asm/checksum.h:46: Error: opcode 'ldd' not supported for target arc700
arch/arc/include/asm/checksum.h:47: Error: opcode 'ldd' not supported for target arc700
>> arch/arc/include/asm/checksum.h:46: Error: opcode 'ldd' not supported for target arc700
arch/arc/include/asm/checksum.h:47: Error: opcode 'ldd' not supported for target arc700
>> arch/arc/include/asm/checksum.h:46: Error: opcode 'ldd' not supported for target arc700
arch/arc/include/asm/checksum.h:47: Error: opcode 'ldd' not supported for target arc700
>> arch/arc/include/asm/checksum.h:46: Error: opcode 'ldd' not supported for target arc700
arch/arc/include/asm/checksum.h:47: Error: opcode 'ldd' not supported for target arc700
>> arch/arc/include/asm/checksum.h:46: Error: opcode 'ldd' not supported for target arc700
arch/arc/include/asm/checksum.h:47: Error: opcode 'ldd' not supported for target arc700
>> arch/arc/include/asm/checksum.h:46: Error: opcode 'ldd' not supported for target arc700
arch/arc/include/asm/checksum.h:47: Error: opcode 'ldd' not supported for target arc700
>> arch/arc/include/asm/checksum.h:46: Error: opcode 'ldd' not supported for target arc700
arch/arc/include/asm/checksum.h:47: Error: opcode 'ldd' not supported for target arc700
>> arch/arc/include/asm/checksum.h:46: Error: opcode 'ldd' not supported for target arc700
arch/arc/include/asm/checksum.h:47: Error: opcode 'ldd' not supported for target arc700
vim +/ldd +46 arch/arc/include/asm/checksum.h
ca15c8ecd588dd Vineet Gupta 2013-01-18 33
ca15c8ecd588dd Vineet Gupta 2013-01-18 34 /*
ca15c8ecd588dd Vineet Gupta 2013-01-18 35 * This is a version of ip_compute_csum() optimized for IP headers,
ca15c8ecd588dd Vineet Gupta 2013-01-18 36 * which always checksum on 4 octet boundaries.
d033e9026a729e Vineet Gupta 2020-04-08 37 * @ihl comes from IP hdr and is number of 4-byte words
d033e9026a729e Vineet Gupta 2020-04-08 38 * optimized for 5 words (no loop taken)
ca15c8ecd588dd Vineet Gupta 2013-01-18 39 */
ca15c8ecd588dd Vineet Gupta 2013-01-18 40 static inline __sum16
ca15c8ecd588dd Vineet Gupta 2013-01-18 41 ip_fast_csum(const void *iph, unsigned int ihl)
ca15c8ecd588dd Vineet Gupta 2013-01-18 42 {
d033e9026a729e Vineet Gupta 2020-04-08 43 unsigned int tmp, sum;
d033e9026a729e Vineet Gupta 2020-04-08 44 u64 dw1, dw2;
ca15c8ecd588dd Vineet Gupta 2013-01-18 45
ca15c8ecd588dd Vineet Gupta 2013-01-18 @46 __asm__(
d033e9026a729e Vineet Gupta 2020-04-08 47 " ldd.ab %0, [%4, 8] \n"
d033e9026a729e Vineet Gupta 2020-04-08 48 " ldd.ab %1, [%4, 8] \n"
d033e9026a729e Vineet Gupta 2020-04-08 49 " sub %5, %5, 4 \n"
d033e9026a729e Vineet Gupta 2020-04-08 50 " add.f %3, %L0, %H0 \n"
d033e9026a729e Vineet Gupta 2020-04-08 51 " adc.f %3, %3, %L1 \n"
d033e9026a729e Vineet Gupta 2020-04-08 52 " adc.f %3, %3, %H1 \n"
d033e9026a729e Vineet Gupta 2020-04-08 53 "1: ld.ab %2, [%4, 4] \n"
d033e9026a729e Vineet Gupta 2020-04-08 54 " adc.f %3, %3, %2 \n"
d033e9026a729e Vineet Gupta 2020-04-08 55 #ifdef CONFIG_ARC_LACKS_ZOL
d033e9026a729e Vineet Gupta 2020-04-08 56 " dbnz %5, 1b \n"
d033e9026a729e Vineet Gupta 2020-04-08 57 #else
d033e9026a729e Vineet Gupta 2020-04-08 58 " sub_s %5, %5, 1 \n"
d033e9026a729e Vineet Gupta 2020-04-08 59 " brne_s %5, 0, 1b \n"
d033e9026a729e Vineet Gupta 2020-04-08 60 #endif
d033e9026a729e Vineet Gupta 2020-04-08 61 " add.cs %3, %3, 1 \n"
d033e9026a729e Vineet Gupta 2020-04-08 62
d033e9026a729e Vineet Gupta 2020-04-08 63 : "=&r" (dw1), "=&r" (dw2), "=&r" (tmp), "=&r" (sum),
d033e9026a729e Vineet Gupta 2020-04-08 64 "+&r" (iph), "+&r"(ihl)
d033e9026a729e Vineet Gupta 2020-04-08 65 :
d033e9026a729e Vineet Gupta 2020-04-08 66 : "cc", "memory");
ca15c8ecd588dd Vineet Gupta 2013-01-18 67
ca15c8ecd588dd Vineet Gupta 2013-01-18 68 return csum_fold(sum);
ca15c8ecd588dd Vineet Gupta 2013-01-18 69 }
d033e9026a729e Vineet Gupta 2020-04-08 70 #define ip_fast_csum ip_fast_csum
ca15c8ecd588dd Vineet Gupta 2013-01-18 71
:::::: The code at line 46 was first introduced by commit
:::::: ca15c8ecd588dda4377d18d6d27bc1e87b4177cb ARC: Checksum/byteorder/swab routines
:::::: TO: Vineet Gupta <vgupta@synopsys.com>
:::::: CC: Vineet Gupta <vgupta@synopsys.com>
---
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: 10318 bytes --]
[-- Attachment #3: Type: text/plain, Size: 170 bytes --]
_______________________________________________
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-05-06 21:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-06 21:57 [arc:topic-zol-remove 10/30] arch/arc/include/asm/checksum.h:46: Error: opcode 'ldd' not supported for target arc700 kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).