crypto: ghash-clmulni-intel - Use gas macro for PCLMULQDQ-NI and PSHUFB
authorHuang Ying <ying.huang@intel.com>
Mon, 23 Nov 2009 11:55:22 +0000 (19:55 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 23 Nov 2009 11:55:22 +0000 (19:55 +0800)
commit564ec0ec05ac6ee409bde81f7ef27a3dadbf3a6a
treeb4bb4e29cdfc2ceb90ac10ed4da139546375faa7
parentb369e521237d6ef21c453f3ac4f4b8577ec14f87
crypto: ghash-clmulni-intel - Use gas macro for PCLMULQDQ-NI and PSHUFB

Old binutils do not support PCLMULQDQ-NI and PSHUFB, to make kernel
can be compiled by them, .byte code is used instead of assembly
instructions. But the readability and flexibility of raw .byte code is
not good.

So corresponding assembly instruction like gas macro is used instead.

Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/ghash-clmulni-intel_asm.S