RISC-V: Add missing hint instructions from RV128I.
[external/binutils.git] / gas / testsuite / gas / riscv / c-zero-reg.s
1         .option rvc
2         # These are hints.
3         c.li x0, 1
4         c.lui x0, 2
5         c.slli x0, 3
6         c.mv x0, x1
7         c.add x0, x1
8         # Don't let these compress to hints.
9         li x0, 5
10         lui x0, 6
11         slli x0, x0, 7
12         mv x0, x1
13         add x0, x0, x1
14 # RV128 support not implemented yet.
15 #       slli x0, x0, 64