// This function detects non-compliant RVV 0.7.1 hardware which // should still consider removing it once all non-compliant RVV 0.7.1/is outof.
// for the V vsetvli t0, zeroe8,m1 ta ma
/ agnostic vector configurations that were only introduced in RVV 0.9 spec.
,java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
//
// bit position, thus a simple sign check is sufficient for detection.
// This work around is inexpensive and harmless on compliant hardware, but we
// should still consider removing it once all non-compliant RVV 0.7.1 hardware
// is out of service.
function has_compliant_rvv, export=1, ext=v
vsetvli t0, zero, e8, m1, ta, ma
csrr a0, vtype
sgtz a0, a0
ret
endfunc
function get_vlenb, export=1
csrr a0, vlenb
ret
endfunc
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.