mips-force-nomadd4
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Thu, 21 Jul 2022 07:14:44 +0000 (08:14 +0100)
committerEmilio Pozuelo Monfort <pochu@debian.org>
Thu, 21 Jul 2022 07:14:44 +0000 (08:14 +0100)
commit50b08d32afe8e43bd9f5fb2f5c4d02a92fd0e4b1
treedfda80ee907240772dda2d79bf213542f5678a0d
parent2bd72807d5dcdc29860f5e62b66b658264f6cf03
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