@@ -31,12 +31,33 @@ case "$BUILDBOT_BUILDERNAME" in
3131 " clang-riscv-rva23-evl-vec-2stage" )
3232 TARGET_CFLAGS=" -march=rva23u64 -mllvm -force-tail-folding-style=data-with-evl -mllvm -prefer-predicate-over-epilogue=predicate-else-scalar-epilogue"
3333 export BB_IMG_DIR=$( pwd) /..
34- # TODO: Switch to specifying rva23u64 once support is available in a
35- # released QEMU .
34+ # TODO: Switch to specifying rva23u64 once qemu on the builder is
35+ # upgraded to a version that recognises it .
3636 export BB_QEMU_CPU=" rv64,zba=true,zbb=true,zbc=false,zbs=true,zfhmin=true,v=true,vext_spec=v1.0,zkt=true,zvfhmin=true,zvbb=true,zvkt=true,zihintntl=true,zicond=true,zimop=true,zcmop=true,zcb=true,zfa=true,zawrs=true,rvv_ta_all_1s=true,rvv_ma_all_1s=true,rvv_vl_half_avl=true"
3737 export BB_QEMU_SMP=32
3838 export BB_QEMU_MEM=" 64G"
3939 ;;
40+ " clang-riscv-rva23-zvl512b-2stage" )
41+ TARGET_CFLAGS=" -march=rva23u64_zvl512b"
42+ export BB_IMG_DIR=$( pwd) /..
43+ export BB_QEMU_CPU=" rva23u64,vlen=512,rvv_ta_all_1s=true,rvv_ma_all_1s=true,rvv_vl_half_avl=true"
44+ export BB_QEMU_SMP=32
45+ export BB_QEMU_MEM=" 64G"
46+ ;;
47+ " clang-riscv-rva23-zvl1024b-2stage" )
48+ TARGET_CFLAGS=" -march=rva23u64_zvl1024b"
49+ export BB_IMG_DIR=$( pwd) /..
50+ export BB_QEMU_CPU=" rva23u64,vlen=1024,rvv_ta_all_1s=true,rvv_ma_all_1s=true,rvv_vl_half_avl=true"
51+ export BB_QEMU_SMP=32
52+ export BB_QEMU_MEM=" 64G"
53+ ;;
54+ " clang-riscv-x60-mrvv-vec-bits-2stage" )
55+ TARGET_CFLAGS=" -mcpu=spacemit-x60 -mrvv-vector-bits=zvl"
56+ export BB_IMG_DIR=$( pwd) /..
57+ export BB_QEMU_CPU=" rva22u64,v=true,zbc=true,zbkc=true,zfh=true,zicond=true,zvkt=true,vlen=256,rvv_ta_all_1s=true,rvv_ma_all_1s=true,rvv_vl_half_avl=true"
58+ export BB_QEMU_SMP=32
59+ export BB_QEMU_MEM=" 64G"
60+ ;;
4061 * )
4162 echo " Unrecognised builder name"
4263 exit 1
0 commit comments