]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: Fix MSA assembly warnings
authorJames Hogan <james.hogan@imgtec.com>
Fri, 15 Apr 2016 09:07:26 +0000 (10:07 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 9 May 2016 10:00:05 +0000 (12:00 +0200)
commit92e9953c5865b47281d74d43f08d7cecde11e58a
tree9594801a76cd5f1b7d073f4cd79ed911e72832ee
parent143e93d74e19febd491792cdd3aec3054883b776
MIPS: Fix MSA assembly warnings

Building an MSA capable kernel with a toolchain that supports MSA
produces warnings such as this:

arch/mips/kernel/r4k_fpu.S:229: Warning: the `msa' extension requires 64-bit FPRs

This is due to ".set msa" without ".set fp=64" in the non doubleword MSA
load/store macros, since MSA requires the 64-bit FPU registers (FR=1).
Add the missing fp=64 in these macros to silence the warnings.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/13063/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/asmmacro.h