arch/ia64/kernel/entry.S:621: Error: Operand 2 of `adds' should be a 14-bit integer (-8192-8191)

From: kbuild test robot
Date: Sun Jun 26 2016 - 00:15:36 EST


Hi,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: da2f6aba4a21f8da3331e5251a117c52764da579
commit: da48d094ce5d7c7dcdad9011648a81c42fd1c2ef Kconfig: remove HAVE_LATENCYTOP_SUPPORT
date: 5 months ago
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 4.9.0
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout da48d094ce5d7c7dcdad9011648a81c42fd1c2ef
# save the attached .config to linux build tree
make.cross ARCH=ia64

All errors (new ones prefixed by >>):

arch/ia64/kernel/entry.S: Assembler messages:
>> arch/ia64/kernel/entry.S:621: Error: Operand 2 of `adds' should be a 14-bit integer (-8192-8191)
arch/ia64/kernel/entry.S:728: Error: Operand 2 of `adds' should be a 14-bit integer (-8192-8191)
arch/ia64/kernel/entry.S:859: Error: Operand 2 of `adds' should be a 14-bit integer (-8192-8191)
--
arch/ia64/kernel/fsys.S: Assembler messages:
>> arch/ia64/kernel/fsys.S:67: Error: Operand 3 of `add' should be a general register r0-r3
arch/ia64/kernel/fsys.S:97: Error: Operand 3 of `add' should be a general register r0-r3
arch/ia64/kernel/fsys.S:193: Error: Operand 3 of `add' should be a general register r0-r3
arch/ia64/kernel/fsys.S:336: Error: Operand 3 of `add' should be a general register r0-r3
arch/ia64/kernel/fsys.S:338: Error: Operand 3 of `add' should be a general register r0-r3
--
arch/ia64/kernel/ivt.S: Assembler messages:
>> arch/ia64/kernel/ivt.S:759: Error: Operand 3 of `add' should be a general register r0-r3

vim +621 arch/ia64/kernel/entry.S

^1da177e Linus Torvalds 2005-04-16 605 PT_REGS_UNWIND_INFO(0)
^1da177e Linus Torvalds 2005-04-16 606 { /*
^1da177e Linus Torvalds 2005-04-16 607 * Some versions of gas generate bad unwind info if the first instruction of a
^1da177e Linus Torvalds 2005-04-16 608 * procedure doesn't go into the first slot of a bundle. This is a workaround.
^1da177e Linus Torvalds 2005-04-16 609 */
^1da177e Linus Torvalds 2005-04-16 610 nop.m 0
^1da177e Linus Torvalds 2005-04-16 611 nop.i 0
^1da177e Linus Torvalds 2005-04-16 612 /*
^1da177e Linus Torvalds 2005-04-16 613 * We need to call schedule_tail() to complete the scheduling process.
^1da177e Linus Torvalds 2005-04-16 614 * Called by ia64_switch_to() after do_fork()->copy_thread(). r8 contains the
^1da177e Linus Torvalds 2005-04-16 615 * address of the previously executing task.
^1da177e Linus Torvalds 2005-04-16 616 */
^1da177e Linus Torvalds 2005-04-16 617 br.call.sptk.many rp=ia64_invoke_schedule_tail
^1da177e Linus Torvalds 2005-04-16 618 }
^1da177e Linus Torvalds 2005-04-16 619 .ret8:
54d496c3 Al Viro 2012-10-14 620 (pKStk) br.call.sptk.many rp=call_payload
^1da177e Linus Torvalds 2005-04-16 @621 adds r2=TI_FLAGS+IA64_TASK_SIZE,r13
^1da177e Linus Torvalds 2005-04-16 622 ;;
^1da177e Linus Torvalds 2005-04-16 623 ld4 r2=[r2]
^1da177e Linus Torvalds 2005-04-16 624 ;;
^1da177e Linus Torvalds 2005-04-16 625 mov r8=0
^1da177e Linus Torvalds 2005-04-16 626 and r2=_TIF_SYSCALL_TRACEAUDIT,r2
^1da177e Linus Torvalds 2005-04-16 627 ;;
^1da177e Linus Torvalds 2005-04-16 628 cmp.ne p6,p0=r2,r0
^1da177e Linus Torvalds 2005-04-16 629 (p6) br.cond.spnt .strace_check_retval

:::::: The code at line 621 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data