mips-force-nomadd4
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Sun, 4 Dec 2022 08:03:06 +0000 (08:03 +0000)
committerGianfranco Costamagna <locutusofborg@debian.org>
Sun, 4 Dec 2022 08:03:06 +0000 (08:03 +0000)
commit1f6bc51819810ac412412cf0f7220f658574d59a
tree27021613059a6ea1f0737466c3f4dd344a2cf015
parent007c9d0039e5406c4ae853cc7bdabce620e0b911
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