Untitled
unknown
plain_text
a year ago
322 B
2
Indexable
Never
// TODO : "vvaddint16:\n\t" "li t1,4\n\t" // t1 is the n of "vsetvli t0, t1,e32 \n\t" "vle16.v v0,(%[x])\n\t" "sub t1,t1,t0\n\t" "slli t0,t0,1\n\t" "add t1,t1,t0\n\t" "vle16.v v1,(%[h])\n\t" "add %[h], %[h], t0\n\t" "vadd.vv v2,v0,v1\n\t" "vse16.v v2, (%[y])\n\t" "add %[y], %[y], t0\n\t" "bnez t1, vvaddint32\n\t" "ret"