chiark / gitweb /
base/asm-common.h, ...: Add missing `cmov' instruction (and `.CC' variants).
authorMark Wooding <mdw@distorted.org.uk>
Tue, 13 Oct 2020 23:15:17 +0000 (00:15 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 13 Oct 2020 23:17:03 +0000 (00:17 +0100)
commit5f49478bd78e79bedb811e93f1f8feea83fc2979
treedc3ac999a345abc4df4822dbd795d0354729a206
parent483edf69cdc738c2315040ff9f98e4f25afdf4ae
base/asm-common.h, ...: Add missing `cmov' instruction (and `.CC' variants).

This instruction conditionally moves a value from one register to
another, otherwise leaving the destination unchanged:

cmov RD, RN, CC == csel RD, RN, RD, CC

Also define `cmov.CC' for all condition codes CC.

Use this to slightly improve `rijndael_setup_arm64_crypto'.
base/asm-common.h
symm/rijndael-arm64-crypto.S