powerpc: add vcmpequd/vcmpequb ppc instruction macro
authorSimon Guo <wei.guo.simon@gmail.com>
Thu, 7 Jun 2018 01:57:52 +0000 (09:57 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 24 Jul 2018 12:03:20 +0000 (22:03 +1000)
commitf1ecbaf466be5a7a5c666b41eede6991caff8646
tree43dcfcbc73a16a6012e23f27e2ac036af5389143
parent2d9ee327adce5f6becea2dd51d282a6183e40b0f
powerpc: add vcmpequd/vcmpequb ppc instruction macro

Some old tool chains don't know about instructions like vcmpequd.

This patch adds .long macro for vcmpequd and vcmpequb, which is
a preparation to optimize ppc64 memcmp with VMX instructions.

Signed-off-by: Simon Guo <wei.guo.simon@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/ppc-opcode.h