X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=isa%2Fmacros%2Fsimplev%2Fsv_test_macros.h;h=e5ab75305d39901a7e10295438a203131c132eb3;hb=f29fd720d1ec58319ee2acb33f4b2d53f5a96807;hp=543f0c3b9c99935a1d54aa38be63b9a4dd043f84;hpb=bf9f76229e6055d71cc33f71249ce02ce6c3f566;p=riscv-tests.git diff --git a/isa/macros/simplev/sv_test_macros.h b/isa/macros/simplev/sv_test_macros.h index 543f0c3..e5ab753 100644 --- a/isa/macros/simplev/sv_test_macros.h +++ b/isa/macros/simplev/sv_test_macros.h @@ -56,7 +56,7 @@ csrrw x0, 0x4c8, x1 // clears the 2 CSRs set above -#define CLR_SV_CSRS( ) csrrw x0, 0x4c0, 0 +#define CLR_SV_CSRS( ) csrrw x0, 0x4c0, 0; csrrw x0, 0x4c0, 0; csrrw x0, 0x4c0, 0; #define CLR_SV_PRED_CSRS( ) csrrw x0, 0x4c8, 0 // set maximum vector length.