RISC-V: Clarify the behavior of .option arch directive.
[binutils-gdb.git] / gas / testsuite / gas / riscv / option-arch-01.s
1 .attribute arch, "rv64ic"
2 add a0, a0, a1
3 .option push
4 .option arch, +d2p0, -c, +xvendor1p0
5 add a0, a0, a1
6 frcsr a0 # Should add mapping symbol with ISA here, and then dump it to frcsr.
7 .option push
8 .option arch, +m3p0, +d3p0
9 .option pop
10 .option pop