scudo: Use DC GZVA instruction in storeTags().
authorPeter Collingbourne <peter@pcc.me.uk>
Tue, 20 Apr 2021 21:53:41 +0000 (14:53 -0700)
committerPeter Collingbourne <peter@pcc.me.uk>
Wed, 21 Apr 2021 20:53:26 +0000 (13:53 -0700)
commit46c59d91dc7a39cc98be7a68d6dc60f3e8a35df0
tree2281e881ead81ed4d74f634a7d1a01617e26ce6f
parent79fbbeb41280ed170a387ad925c5397c0af32364
scudo: Use DC GZVA instruction in storeTags().

DC GZVA can operate on multiple granules at a time (corresponding to
the CPU's cache line size) so we can generally expect it to be faster
than STZG in a loop.

Differential Revision: https://reviews.llvm.org/D100910
compiler-rt/lib/scudo/standalone/memtag.h