2013-09-12 16:40:06 +02:00
|
|
|
# RUN: llvm-mc -triple powerpc64-unknown-linux-gnu -mcpu=pwr7 -show-encoding < %s 2>&1 | FileCheck %s
|
2014-03-24 19:16:09 +01:00
|
|
|
# RUN: llvm-mc -triple powerpc64le-unknown-linux-gnu -mcpu=pwr7 -show-encoding < %s 2>&1 | FileCheck %s
|
2013-09-12 16:40:06 +02:00
|
|
|
# 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.
|
|
|
|
|