mips-force-nomadd4
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Sat, 5 Nov 2022 08:14:23 +0000 (08:14 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Sat, 5 Nov 2022 08:14:23 +0000 (08:14 +0000)
commita9b1b86e8281e28de90ae2813250602edc8c726c
treea3967b99ef6f7f0df07adc1df825c500090cdf9f
parent76124ac8a35d274cba23d5679f73f2f618b56ed4
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