]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit116f3e7c8425370632e74f8987c23a5097c672a0
tree8fc4465aff55383635670aedd46fc4988b76cd57
parentdddc1d1562490b3966e51793e415a6c42bde1111
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