mips-force-nomadd4
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Thu, 28 Oct 2021 14:45:49 +0000 (15:45 +0100)
committerSylvestre Ledru <sylvestre@debian.org>
Thu, 28 Oct 2021 14:45:49 +0000 (15:45 +0100)
commitec58d1777a4075abb643102d521574695441a29b
tree9f60c60d60b6f1511e21c0c046b9461f4cac03d2
parentc201dd3768edbd1244abd5d85d6f4a89ea17f355
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