linux/arch/mips/include/asm/mach-loongson64
Nathan Chancellor f2c6c22fa8 MIPS: Loongson64: Use three arguments for slti
LLVM's integrated assembler does not support 'slti <reg>, <imm>':

<instantiation>:16:12: error: invalid operand for instruction
 slti $12, (0x6300 | 0x0008)
           ^
arch/mips/kernel/head.S:86:2: note: while in macro instantiation
 kernel_entry_setup # cpu specific setup
 ^
<instantiation>:16:12: error: invalid operand for instruction
 slti $12, (0x6300 | 0x0008)
           ^
arch/mips/kernel/head.S:150:2: note: while in macro instantiation
 smp_slave_setup
 ^

To increase compatibility with LLVM's integrated assembler, use the full
form of 'slti <reg>, <reg>, <imm>', which matches the rest of
arch/mips/. This does not result in any change for GNU as.

Link: https://github.com/ClangBuiltLinux/linux/issues/1526
Reported-by: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2021-12-09 10:27:27 +01:00
..
boot_param.h MIPS: Loongson64: Move loongson_system_configuration to loongson.h 2021-03-12 11:09:58 +01:00
builtin_dtbs.h MIPS: Loongson64: DeviceTree for Loongson-2K1000 2021-03-25 10:44:00 +01:00
cpu-feature-overrides.h MIPS: Loongson64: Do not override watch and ejtag feature 2020-08-17 12:50:59 +02:00
cpucfg-emul.h MIPS: Loongson64: Guard against future cores without CPUCFG 2020-05-31 10:52:42 +02:00
irq.h MIPS updates for v5.10: 2020-10-16 12:40:55 -07:00
kernel-entry-init.h MIPS: Loongson64: Use three arguments for slti 2021-12-09 10:27:27 +01:00
loongson_hwmon.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
loongson_regs.h MIPS: Avoid macro redefinitions 2021-09-23 11:23:35 +02:00
loongson.h MIPS: Loongson64: Distinguish firmware dependencies DTB/LEFI 2021-03-25 10:44:01 +01:00
mmzone.h MIPS updates for v5.10: 2020-10-16 12:40:55 -07:00
pci.h MIPS: Loongson64: Cleanup unused code 2019-11-01 14:31:28 -07:00
spaces.h MIPS: Loongson64: Enlarge IO_SPACE_LIMIT 2020-07-28 22:49:53 +02:00
topology.h MIPS: Loongson64: Cleanup unused code 2019-11-01 14:31:28 -07:00
workarounds.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00