mips-force-nomadd4
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Wed, 6 Jan 2021 19:16:26 +0000 (19:16 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Wed, 6 Jan 2021 19:16:26 +0000 (19:16 +0000)
commit664dc4d9003fe8fe0b5f41f62636a17810337085
tree190f7bba900636e36be317a00b76bcc5a789e78a
parentb40171e219854dfbda017076fb05515585399a31
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: Name mips-force-nomadd4.diff
clang/lib/Basic/Targets/Mips.h
llvm/lib/Target/Mips/Mips.td
llvm/lib/Target/Mips/MipsInstrInfo.td
llvm/lib/Target/Mips/MipsSubtarget.cpp