riscv: fix builds without Zbb support
This commit is contained in:
parent
2d4aef8982
commit
cd6089dc9c
@ -92,6 +92,11 @@
|
|||||||
shnadd 3, \rd, \rs1, \rs2
|
shnadd 3, \rd, \rs1, \rs2
|
||||||
.endm
|
.endm
|
||||||
#endif
|
#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 */
|
/* Convenience macro to load a Vector type (vtype) as immediate */
|
||||||
.macro lvtypei rd, e, m=m1, tp=tu, mp=mu
|
.macro lvtypei rd, e, m=m1, tp=tu, mp=mu
|
||||||
|
Loading…
x
Reference in New Issue
Block a user