util/bufferiszero: Add loongarch64 vector acceleration
commita96a4987385c2c0477bebffdc9a2d5ceabd43141
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 6 Jun 2024 23:54:52 +0000 (6 23:54 +0000)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 19 Jun 2024 19:47:11 +0000 (19 12:47 -0700)
tree2f86af8b35cfd03ff1789b1a7d70630ea889c0a1
parent2d32a5d2a06a524c5e7967f918c406ec99418a34
util/bufferiszero: Add loongarch64 vector acceleration

Use inline assembly because no release compiler allows
per-function selection of the ISA.

Tested-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
host/include/loongarch64/host/bufferiszero.c.inc [new file with mode: 0644]