mips-force-nomadd4
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Sat, 14 Oct 2023 16:37:48 +0000 (17:37 +0100)
committerSylvestre Ledru <sylvestre@debian.org>
Sat, 14 Oct 2023 16:37:48 +0000 (17:37 +0100)
commitb267b5b37fb5008f57513053d6e7f0b60337ec76
tree96566f971d79786727dbf4d21de6cad17bc70761
parentf196157d432b32dbaee443986b66d6e51f1e0518
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