MIPS: MSA: Update helpers to use new asm macros
authorJames Hogan <jhogan@kernel.org>
Wed, 22 Nov 2017 11:30:33 +0000 (11:30 +0000)
committerJames Hogan <jhogan@kernel.org>
Mon, 22 Jan 2018 20:52:27 +0000 (20:52 +0000)
commit93738d48939637af05a270306a153200aae43990
tree8fc4465aff55383635670aedd46fc4988b76cd57
parentabbd52fd6bb15211b578598d8f31d5bc6084f02e
MIPS: MSA: Update helpers to use new asm macros

Update MSA control register access helpers to use the new helpers for
parsing register names and creating custom assembly macro instructions.

This allows the move via $at to be dropped (saving a total of about 20
bytes of kernel code).

Note, this does not alter the equivalent code in .S files, which still
uses the $at trick.

Signed-off-by: James Hogan <jhogan@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/17776/
arch/mips/include/asm/msa.h