mips-force-nomadd4
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Sat, 4 Jan 2025 08:12:52 +0000 (09:12 +0100)
committerMatthias Klose <doko@debian.org>
Sat, 4 Jan 2025 08:12:52 +0000 (09:12 +0100)
commite0bc4738f38837a7f5b692f5a5948f16244bca61
tree318236d124f0aa1fdd188972f9ad94338e3fcdef
parent1524bec255ccdec450670d418ac619e167be9473
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