x86: optimize AND/OR with twice the same register
[deliverable/binutils-gdb.git] / gas / testsuite / gas / i386 / optimize-2.d
index ffc15f65eea568c4215aeff66d11d6afd3cc5d2a..243cf9f545c6be4ab74b6f4732fa12857e31b659 100644 (file)
@@ -16,6 +16,12 @@ Disassembly of section .text:
  +[a-f0-9]+:   f6 c3 7f                test   \$0x7f,%bl
  +[a-f0-9]+:   f7 c7 7f 00 00 00       test   \$0x7f,%edi
  +[a-f0-9]+:   66 f7 c7 7f 00          test   \$0x7f,%di
+ +[a-f0-9]+:   20 c9                   and    %cl,%cl
+ +[a-f0-9]+:   66 21 d2                and    %dx,%dx
+ +[a-f0-9]+:   21 db                   and    %ebx,%ebx
+ +[a-f0-9]+:   08 e4                   or     %ah,%ah
+ +[a-f0-9]+:   66 09 ed                or     %bp,%bp
+ +[a-f0-9]+:   09 f6                   or     %esi,%esi
  +[a-f0-9]+:   c5 f1 55 e9             vandnpd %xmm1,%xmm1,%xmm5
  +[a-f0-9]+:   c5 f9 6f d1             vmovdqa %xmm1,%xmm2
  +[a-f0-9]+:   c5 f9 6f d1             vmovdqa %xmm1,%xmm2
This page took 0.02568 seconds and 4 git commands to generate.