RISC-V: Support rvv extension with released version 1.0.
[binutils-gdb.git] / gas / testsuite / gas / riscv / attribute-14.s
1 # The priv instruction is explicit used, so we need to generate
2 # the priv spec attributes even if the attributes are not set.
3 .ifdef priv_insn_a
4 mret
5 .endif
6 .ifdef priv_insn_b
7 sret
8 .endif
9 .ifdef priv_insn_c
10 wfi
11 .endif
12 .ifdef priv_insn_d
13 sfence.vma
14 .endif
15
16 # Obselete priv instruction.
17 .ifdef priv_insn_e
18 sfence.vm
19 .endif