Skip to content

Conversation

@SChernykh
Copy link
Collaborator

Vector and AES extensions are detected and used in runtime, even in rv64gc builds, because they are crucial for performance.

@SChernykh
Copy link
Collaborator Author

@hyc @tevador please review

@SChernykh SChernykh force-pushed the rvv branch 3 times, most recently from d92de47 to f7c3a9c Compare January 5, 2026 17:27
@SChernykh
Copy link
Collaborator Author

@tevador @hyc please review

@hyc
Copy link
Collaborator

hyc commented Jan 22, 2026

Looks good to me. Lichee Pi 4a

debian@lpi4a:~/RandomX/build$ ./randomx-benchmark --mine --auto --threads 4  --largePages
RandomX benchmark v1.2.1
 - Argon2 implementation: reference
 - full memory mode (2080 MiB)
 - JIT compiled mode 
 - software AES mode
 - large pages mode
 - batch mode
Initializing (4 threads) ...
Memory initialized in 29.9412 s
Initializing 4 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Reference result:  10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Performance: 132.342 hashes per second
debian@lpi4a:~/RandomX/build$ ./randomx-benchmark --mine --auto --threads 4  --largePages --v2
RandomX benchmark v1.2.1
 - Argon2 implementation: reference
 - full memory mode (2080 MiB)
 - JIT compiled mode 
 - software AES mode
 - large pages mode
 - batch mode
Initializing (4 threads) ...
Memory initialized in 29.9764 s
Initializing 4 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: c9e7466cb44a37e78ad21415c73ef21075bca75a0b8c28ec439a16df0b5c21cd
Reference result:  c9e7466cb44a37e78ad21415c73ef21075bca75a0b8c28ec439a16df0b5c21cd
Performance: 89.7117 hashes per second

Built with gcc 14.3.0, gas (binutils) 2.45

@SChernykh SChernykh merged commit cf15f40 into tevador:master Jan 22, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants