1// RUN: llvm-mc -triple x86_64-unknown-unknown -x86-asm-syntax=att %s | FileCheck %s 2 3.intel_syntax 4 5// CHECK: andl $3, %ecx 6 and ecx, 1+2 7// CHECK: andl $3, %ecx 8 and ecx, 1|2 9// CHECK: andl $3, %ecx 10 and ecx, 1*3 11// CHECK: andl $1, %ecx 12 and ecx, 1&3 13// CHECK: andl $0, %ecx 14 and ecx, (1&2) 15// CHECK: andl $3, %ecx 16 and ecx, ((1)|2) 17// CHECK: andl $1, %ecx 18 and ecx, 1&2+3 19// CHECK: addl $4938, %eax 20 add eax, 9876 >> 1 21// CHECK: addl $19752, %eax 22 add eax, 9876 << 1 23// CHECK: addl $5, %eax 24 add eax, 6 ^ 3 25