On Fri, Nov 27, 2020 at 10:44:52AM +0100, Uros Bizjak wrote: > CMP $0,%reg can't set overflow flag, so we can use shorter TEST %reg,%reg > instruction when only zero and sign flags are checked (E,L,LE,G,GE > conditions). > > Signed-off-by: Uros Bizjak <[email protected]> > Cc: Herbert Xu <[email protected]> > Cc: Borislav Petkov <[email protected]> > Cc: "H. Peter Anvin" <[email protected]> > --- > arch/x86/crypto/aesni-intel_asm.S | 20 ++++++++++---------- > arch/x86/crypto/aesni-intel_avx-x86_64.S | 20 ++++++++++---------- > 2 files changed, 20 insertions(+), 20 deletions(-)
Patch applied. Thanks. -- Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
