arch/Config.in.mips: add support for XBurst cores
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Wed, 9 Nov 2016 16:16:57 +0000 (16:16 +0000)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 9 Nov 2016 20:36:34 +0000 (21:36 +0100)
commit240564a6933d9300473b5ced02d2f6f2a2fa4cd9
tree041f93eeb38b46cceed6872a6160b88397d45988
parentd13b1ce707fb609e53164e1ae4281e1e3e7c84ac
arch/Config.in.mips: add support for XBurst cores

The Ingenic XBurst is a MIPS32R2 microprocessor.

It has a bug in the FPU that can generate incorrect results in certain
cases. The problem shows up when you have several fused madd
instructions in sequence with dependant operands.

Using the -mno-fused-madd option prevents gcc from emitting these
instructions. This patch adds changes to the toolchain wrapper to use
that option.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
arch/Config.in.mips
toolchain/toolchain-wrapper.c
toolchain/toolchain-wrapper.mk