commit | be169fe3cec9efe2bfff98b3f645bca6cc7d09cd | [log] [tgz] |
---|---|---|
author | Uros Bizjak <ubizjak@gmail.com> | Fri Nov 27 11:18:12 2020 +0100 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Dec 04 18:13:16 2020 +1100 |
tree | 86e49b23852f31a5618a4086ca22ab641c312dd0 | |
parent | 0b837f1ef8822a8df880ffba6778ba42f707b83d [diff] |
crypto: x86/poly1305 - Use TEST %reg,%reg instead of CMP $0,%reg 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 <ubizjak@gmail.com> Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: Borislav Petkov <bp@alien8.de> Cc: "H. Peter Anvin" <hpa@zytor.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>