mips-force-nomadd4
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Sun, 20 Nov 2022 05:54:23 +0000 (05:54 +0000)
committerGianfranco Costamagna <locutusofborg@debian.org>
Sun, 20 Nov 2022 05:54:23 +0000 (05:54 +0000)
commit6c82202ffaf7324163f951211d1b93cd8d7ede60
treea0ff3b0fe01983d8290fb0f5b590343c2b1917dc
parent86d8c624b60ab018477eb8c2fdb17af0f65d1416
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