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) 8mov [rax], al 9 10// CHECK: movw %ax, (%rax) 11mov [rax], ax 12 13// CHECK: movl %eax, (%rax) 14mov [rax], eax 15 16// CHECK: movq %rax, (%rax) 17mov [rax], rax 18 19// CHECK: movdqa %xmm0, (%rax) 20movdqa [rax], xmm0 21 22// CHECK: vmovdqa %ymm0, (%rax) 23vmovdqa [rax], ymm0 24 25// CHECK: vaddps (%rax), %zmm1, %zmm1 26vaddps zmm1, zmm1, [rax] 27 28// CHECK: leal 1(%r15d), %r9d 29lea r9d, [r15d+1] 30