1
0
mirror of https://github.com/xmrig/xmrig.git synced 2026-01-23 14:52:52 -05:00
Files
xmrig/src/crypto/randomx/tests/riscv64_vector.s
2025-12-26 22:11:39 +01:00

13 lines
189 B
ArmAsm

/* RISC-V - test if the vector extension is present */
.text
.option arch, rv64gcv
.global main
main:
li x5, 4
vsetvli x6, x5, e64, m1, ta, ma
vxor.vv v0, v0, v0
sub x10, x5, x6
ret