Home | History | Annotate | Download | only in X86
      1 // RUN: llvm-mc -triple x86_64-unknown-unknown -x86-asm-syntax=intel -mcpu=knl %s | FileCheck %s
      2 
      3 // Check that we deduce unsized memory operands in the general, unambiguous, case.
      4 // We can't deduce xword memory operands, because there is no instruction
      5 // unambiguously accessing 80-bit memory.
      6 
      7 // CHECK: movb %al, (%rax)
      8 mov [rax], al
      9 
     10 // CHECK: movw %ax, (%rax)
     11 mov [rax], ax
     12 
     13 // CHECK: movl %eax, (%rax)
     14 mov [rax], eax
     15 
     16 // CHECK: movq %rax, (%rax)
     17 mov [rax], rax
     18 
     19 // CHECK: movdqa %xmm0, (%rax)
     20 movdqa [rax], xmm0
     21 
     22 // CHECK: vmovdqa %ymm0, (%rax)
     23 vmovdqa [rax], ymm0
     24 
     25 // CHECK: vaddps (%rax), %zmm1, %zmm1
     26 vaddps zmm1, zmm1, [rax]
     27 
     28 // CHECK: leal 1(%r15d), %r9d
     29 lea r9d, [r15d+1]
     30