mips-force-nomadd4
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Mon, 9 May 2022 18:47:26 +0000 (19:47 +0100)
committerSylvestre Ledru <sylvestre@debian.org>
Mon, 9 May 2022 18:47:26 +0000 (19:47 +0100)
commitc6f0e721e13d396cc3f9a70b79a4df9098664877
treed727bef7bec95f96cf80c4dc2d2f08ddbec38ecf
parent1b565966e491bbee3c45ae1f696d5b56f1ea2cd3
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