]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gas/testsuite/gas/i386/x86-64-suffix.s
x86: Clear modrm if not needed
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / i386 / x86-64-suffix.s
index 2261c2c1aeed526c03aad8c56ece3a13e6ae19bb..a226836215c3d8f8919bf41ed09b3560213af0dd 100644 (file)
@@ -14,6 +14,7 @@ foo:
        iretl
        iretq
        sysretl
+       mov     %rsp,%rbp
        sysretq
 
        .intel_syntax noprefix
@@ -22,4 +23,5 @@ foo:
        iret
        iretq
        sysretd
+       mov     rbp,rsp
        sysretq