mips-force-nomadd4
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Sat, 29 Jan 2022 09:17:38 +0000 (09:17 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Sat, 29 Jan 2022 09:17:38 +0000 (09:17 +0000)
commita7fc0dcef1b08ae489c13b38622ce68db6963799
treee7d748a088e6b280361d48b05059b1e2acc2c6e4
parent6758349be8b8bdf66c25af6478a9306f2b0b34be
mips-force-nomadd4

The MIPS port aims to support the Loongson 3 family of CPUs in addition
of the other MIPS CPUs. On the Loongson 3 family the MADD4 instructions
are fused, while they are not fused on the other MIPS CPUs. In order to
support both, we have to disabled those instructions.

For that, the patch below basically corresponds to the --with-madd4=no
used on the GCC side.

Gbp-Pq: Topic mips
Gbp-Pq: Name mips-force-nomadd4.patch
clang/lib/Basic/Targets/Mips.h
llvm/lib/Target/Mips/MipsSubtarget.cpp