OSDN Git Service

Update aosp/master LLVM for rebase to r256229
[android-x86/external-llvm.git] / test / MC / PowerPC / deprecated-p7.s
1 # RUN: llvm-mc -triple powerpc64-unknown-linux-gnu -mcpu=pwr7 -show-encoding < %s 2>&1 | FileCheck %s
2 # RUN: llvm-mc -triple powerpc64le-unknown-linux-gnu -mcpu=pwr7 -show-encoding < %s 2>&1 | FileCheck %s
3 # RUN: llvm-mc -triple powerpc-unknown-linux-gnu -mcpu=601 -show-encoding < %s 2>&1 | FileCheck -check-prefix=CHECK-OLD %s
4
5          mftb 3
6 # CHECK-NOT: warning: deprecated
7 # CHECK: mfspr 3, 268
8
9 # CHECK-OLD-NOT: warning: deprecated
10 # CHECK-OLD: mftb 3
11
12 # FIXME: Test dst and friends once we can parse them.
13