// RUN: llvm-mc -triple=aarch64-none-linux-gnu < %s | FileCheck %s
// RUN: not llvm-mc -mattr=+no-neg-immediates -triple=aarch64-none-linux-gnu < %s 2>&1 | FileCheck %s --check-prefix=CHECK-NO-NEG-IMM
// CHECK: and x0, x1, // CHECK: and x0, x1, // CHECK-NO-NEG-IMM: instruction requires: NegativeImmediates
and x0, x1, bic x0, x1,
// CHECK: and w0, w1, // CHECK: and w0, w1, // CHECK-NO-NEG-IMM: instruction requires: NegativeImmediates
and w0, w1, bic w0, w1,
// CHECK: ands x0, x1, // CHECK: ands x0, x1, // CHECK-NO-NEG-IMM: instruction requires: NegativeImmediates
ands x0, x1, bics x0, x1,
// CHECK: ands w0, w1, // CHECK: ands w0, w1, // CHECK-NO-NEG-IMM: instruction requires: NegativeImmediates
ands w0, w1, bics w0, w1,
// CHECK: orr x0, x1, // CHECK: orr x0, x1, // CHECK-NO-NEG-IMM: instruction requires: NegativeImmediates
orr x0, x1, orn x0, x1,
// CHECK: orr w2, w1, // CHECK: orr w2, w1, // CHECK-NO-NEG-IMM: instruction requires: NegativeImmediates
orr w2, w1, orn w2, w1,
// CHECK: eor x0, x1, // CHECK: eor x0, x1, // CHECK-NO-NEG-IMM: instruction requires: NegativeImmediates
eor x0, x1, eon x0, x1,
// CHECK: eor w2, w1, // CHECK: eor w2, w1, // CHECK-NO-NEG-IMM: instruction requires: NegativeImmediates
eor w2, w1, eon w2, w1,