mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
e0b46dae60
This adds new system instructions which act as barriers to speculative execution based on earlier execution within a particular execution context. Patch by Pablo Barrio! Differential revision: https://reviews.llvm.org/D52479 llvm-svn: 343214
21 lines
579 B
ArmAsm
21 lines
579 B
ArmAsm
// RUN: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+predctrl < %s 2>&1| FileCheck %s
|
|
|
|
cfp rctx
|
|
dvp rctx
|
|
cpp rctx
|
|
|
|
// CHECK: specified cfp op requires a register
|
|
// CHECK: specified dvp op requires a register
|
|
// CHECK: specified cpp op requires a register
|
|
|
|
cfp x0, x1
|
|
dvp x1, x2
|
|
cpp x2, x3
|
|
|
|
// CHECK: invalid operand for prediction restriction instruction
|
|
// CHECK-NEXT: cfp
|
|
// CHECK: invalid operand for prediction restriction instruction
|
|
// CHECK-NEXT: dvp
|
|
// CHECK: invalid operand for prediction restriction instruction
|
|
// CHECK-NEXT: cpp
|