x86: optimize AND/OR with twice the same register
[deliverable/binutils-gdb.git] / gas / testsuite / gas / i386 / optimize-2.s
index c84840ceddd7eb615f88b6396fa876394b1addc8..0ad973cd07fe51ae01eda8d6fa9fe7eb9dc7451a 100644 (file)
@@ -12,6 +12,14 @@ _start:
        test    $0x7f, %edi
        test    $0x7f, %di
 
+       and     %cl, %cl
+       and     %dx, %dx
+       and     %ebx, %ebx
+
+       or      %ah, %ah
+       or      %bp, %bp
+       or      %esi, %esi
+
        vandnpd %zmm1, %zmm1, %zmm5
 
        vmovdqa32       %xmm1, %xmm2
This page took 0.024455 seconds and 4 git commands to generate.