x86: optimize AND/OR with twice the same register
[external/binutils.git] / gas / testsuite / gas / i386 / x86-64-optimize-3.s
index 56bda5c..45b418a 100644 (file)
@@ -20,6 +20,16 @@ _start:
        test    $0x7f, %r9w
        test    $0x7f, %r9b
 
+       and     %cl, %cl
+       and     %dx, %dx
+       and     %ebx, %ebx
+       and     %rsp, %rsp
+
+       or      %bpl, %bpl
+       or      %si, %si
+       or      %edi, %edi
+       or      %r8, %r8
+
        vandnpd %zmm1, %zmm1, %zmm5
 
        vmovdqa32       %xmm1, %xmm2