Re: [PATCH -v4] crypto: Add PCLMULQDQ accelerated GHASHimplementation

From: Ingo Molnar
Date: Mon Nov 02 2009 - 02:51:07 EST



* Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:

> - pshufb BSWAP, DATA
> + # pshufb BSWAP, DATA
> + .byte 0x66, 0x0f, 0x38, 0x00, 0xc5

A cleanup request: mind creating two macros for this PSHUFB MMX/SSE
instruction in arch/x86/include/asm/i387.h, instead of open-coding the
.byte sequences in ~6 places?

( After the .33 merge window we'll collect such instruction format
knowledge in arch/x86/include/asm/inst.h. That file is not upstream
yet so i387.h will do for now for FPU/SSE instructions. )

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/