mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-22 20:43:44 +02:00
5ddc53b3ef
Use the new instruction deprecation feature to mark mftb (now replaced with mfspr) and dst (along with the other Altivec cache control instructions) as deprecated when targeting cores supporting at least ISA v2.03. llvm-svn: 190605
13 lines
401 B
ArmAsm
13 lines
401 B
ArmAsm
# 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.
|
|
|