mips-force-nomadd4
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Sun, 13 Feb 2022 13:04:40 +0000 (13:04 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Sun, 13 Feb 2022 13:04:40 +0000 (13:04 +0000)
commit36d2fb41f5511c2c5ae5675c58d7f32c9fe97143
treed7894cac83245a11aa190780c8fa6a095262dc9e
parent9b9689941f8fbfea264f91ccd1d7417aecc3211b
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