OSDN Git Service

crypto: hisilicon - add branch prediction macro
authorZaibo Xu <xuzaibo@huawei.com>
Sat, 11 Jan 2020 08:58:18 +0000 (16:58 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 16 Jan 2020 07:18:15 +0000 (15:18 +0800)
commit63fabc87a01d31ae98da5d9a8efeda04621d45aa
treee33c40fc35f09093abe6526794f0084c780473d6
parent92f0726d9c42b4fb503cb4e5c433743cc44312af
crypto: hisilicon - add branch prediction macro

This branch prediction macro on the hot path can improve
small performance(about 2%) according to the test.

Signed-off-by: Zaibo Xu <xuzaibo@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/hpre/hpre_crypto.c