llvm-6502/test/MC/PowerPC/deprecated-p7.s

13 lines
401 B
ArmAsm
Raw Normal View History

# RUN: llvm-mc -triple powerpc64-unknown-linux-gnu -mcpu=pwr7 -show-encoding < %s 2>&1 | FileCheck %s
# RUN: llvm-mc -triple powerpc-unknown-linux-gnu -mcpu=601 -show-encoding < %s 2>&1 | FileCheck -check-prefix=CHECK-OLD %s
mftb 3
# CHECK: warning: deprecated
# CHECK: mftb 3
# CHECK-OLD-NOT: warning: deprecated
# CHECK-OLD: mftb 3
# FIXME: Test dst and friends once we can parse them.