diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/gas/riscv/reg-syms-C.d | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/riscv/reg-syms.d | 8 | ||||
-rw-r--r-- | gas/testsuite/gas/riscv/reg-syms.s | 10 |
3 files changed, 22 insertions, 0 deletions
diff --git a/gas/testsuite/gas/riscv/reg-syms-C.d b/gas/testsuite/gas/riscv/reg-syms-C.d new file mode 100644 index 0000000..3cc8400 --- /dev/null +++ b/gas/testsuite/gas/riscv/reg-syms-C.d @@ -0,0 +1,4 @@ +#as: -march=rv32ic +#source: reg-syms.s +#nm: -- +#dump: reg-syms.d diff --git a/gas/testsuite/gas/riscv/reg-syms.d b/gas/testsuite/gas/riscv/reg-syms.d new file mode 100644 index 0000000..c7f8ad8 --- /dev/null +++ b/gas/testsuite/gas/riscv/reg-syms.d @@ -0,0 +1,8 @@ +#as: -march=rv32i +#nm: -- + +0+ t start + +U x2 + +U x4 + +U x6 + +U x8 diff --git a/gas/testsuite/gas/riscv/reg-syms.s b/gas/testsuite/gas/riscv/reg-syms.s new file mode 100644 index 0000000..4748fbf --- /dev/null +++ b/gas/testsuite/gas/riscv/reg-syms.s @@ -0,0 +1,10 @@ + .text +start: + and x8, x8, x1 + j x2 + jal x3, x4 + lui x5, %hi(x6) + lw x7, %lo(x8)(x9) + sll x1, x1, x10 + sra x8, x8, x11 + srl x8, x8, x12 |