diff options
Diffstat (limited to 'src/rv64detect.c')
| -rw-r--r-- | src/rv64detect.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rv64detect.c b/src/rv64detect.c index 9c7a37cf..698200cc 100644 --- a/src/rv64detect.c +++ b/src/rv64detect.c @@ -68,6 +68,11 @@ void RV64_Detect_Function() BR(xRA); rv64_zbs = Check(my_block); + // Test Vector v1.0 with CSRR zero, vcsr + CSRRS(xZR, xZR, 0x00f); + BR(xRA); + rv64_vector = Check(my_block); + // THead vendor extensions if (!rv64_zba) { // Test XTheadBa with TH_ADDSL |