Commit cd6089dc authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

riscv: fix builds without Zbb support

parent 2d4aef89
......@@ -92,6 +92,11 @@
shnadd 3, \rd, \rs1, \rs2
.endm
#endif
#if !defined (__riscv_zbb)
.macro min rd, rs1, rs2
.insn r OP, 4, 5, \rd, \rs1, \rs2
.endm
#endif
/* Convenience macro to load a Vector type (vtype) as immediate */
.macro lvtypei rd, e, m=m1, tp=tu, mp=mu
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment