mips-force-nomadd4
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Fri, 7 Feb 2025 09:17:16 +0000 (10:17 +0100)
committerMatthias Klose <doko@debian.org>
Fri, 7 Feb 2025 09:17:16 +0000 (10:17 +0100)
commit40f79ca46b44fc9303be31b75f5780b61f4a08b8
tree4c003670d110792b75c9e293f691c9a7675a805c
parent84b02297927304f45e642e3f810e41e0d78cea80
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