aboutsummaryrefslogtreecommitdiff
path: root/test/MC/AsmParser/expr-shr.s
blob: fc117b64e95ac5393323de9c5ccf87af906183e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: llvm-mc -triple x86_64-unknown-unknown-elf %s | FileCheck %s --check-prefix=CHECK
// RUN: llvm-mc -triple x86_64-pc-windows-msvc %s | FileCheck %s --check-prefix=MSVC
// RUN: llvm-mc -triple x86_64-unknown-darwin %s | FileCheck %s --check-prefix=DARWIN

.data

// CHECK: .quad 3

// Both COFF and Darwin still use AShr.
// MSVC: .quad -1
// DARWIN: .quad -1

.quad (~0 >> 62)