opcodes/
[deliverable/binutils-gdb.git] / gas / testsuite / gas / aarch64 / ldst-reg-reg-offset.s
index afa7c4d1efce6b711501e373498a8c72ad1d1bc5..195c83032dd1be7604acff4dc45a573e2b21173c 100644 (file)
@@ -86,3 +86,9 @@
 func:
        ld_or_st        str
        ld_or_st        ldr
+
+       /* When the index register is of register 31, it should be ZR.  */
+       ldr     x1, [sp, xzr, sxtx #3]
+       str     x1, [sp, xzr, sxtx #3]
+       ldr     w1, [sp, wzr, sxtw #2]
+       str     w1, [sp, wzr, sxtw #2]
This page took 0.023451 seconds and 4 git commands to generate.