Skip to content

Commit 3829bf2

Browse files
committed
BDot AMUL
1 parent f08448b commit 3829bf2

5 files changed

Lines changed: 235 additions & 122 deletions

File tree

benchmarks/common/rvv_mx.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,11 @@
151151
#define VDOTSET_VV(rd, as) \
152152
asm volatile(".insn r 0x77, 0x0, 0x00, " rd ", x0, " as)
153153
#define VDOTSETZERO_VV(as) \
154-
asm volatile(".insn r 0x77, 0x0, 0x00, x0, x1, " as)
154+
asm volatile(".insn r 0x77, 0x0, 0x00, x0, x8, " as)
155155
#define VDOTSETZEROBC_VV() \
156-
asm volatile(".insn r 0x77, 0x0, 0x00, x0, x3, x0")
157-
#define VDOTWB_VV(rd, as) \
158-
asm volatile(".insn r 0x77, 0x0, 0x02, " rd ", x0, " as)
156+
asm volatile(".insn r 0x77, 0x0, 0x00, x0, x24, x0")
157+
#define VDOTWB_VV(rd, as, rs1) \
158+
asm volatile(".insn r 0x77, 0x0, 0x02, " rd ", " rs1 ", " as)
159159
#define VQLDOTUA_VV(as, rs2, rs1) \
160160
asm volatile(".insn r 0x77, 0x0, 0x4c, " as ", " rs1 ", " rs2)
161161
#define VQLDOTSA_VV(as, rs2, rs1) \

0 commit comments

Comments
 (0)