]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gas/testsuite/gas/i386/lea64.s
x86-64: avoid bogus warnings with 32-bit addressing
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / i386 / lea64.s
index 1778adc4851b5acbec8734082e620aeba384cfca..5c20062b9fde7ba28b4fdbb1331f5a11108aebb0 100644 (file)
@@ -82,3 +82,11 @@ start:
        lea     (,1), %rax
        lea     (,1), %eax
        lea     (,1), %ax
+
+       lea     0xffffffff(%ecx), %eax
+       lea     0xffffffff(%ecx), %rax
+       lea     0xffffffff(%rcx), %eax
+
+       lea     -0xffffffff(%ecx), %eax
+       lea     -0xffffffff(%ecx), %rax
+       lea     -0xffffffff(%rcx), %eax