2 // RUN
: llvm-mc
-triple aarch64
-show-encoding
< %s | FileCheck
%s
--check-prefix
=NO-SLC
3 // RUN
: llvm-mc
-triple aarch64
-show-encoding
-mattr
=+v8.9
a < %s | FileCheck
%s
4 // RUN
: llvm-mc
-triple aarch64
-show-encoding
-mattr
=+v9.4
a < %s | FileCheck
%s
7 // CHECK
: prfm pldslckeep
, [x3
] // encoding
: [0x66,0x00,0x80,0xf9]
8 // NO-SLC
: prfm
#6, [x3]
10 // CHECK
: prfm pldslcstrm
, [x3
] // encoding
: [0x67,0x00,0x80,0xf9]
11 // NO-SLC
: prfm
#7, [x3]
13 // CHECK
: prfm plislckeep
, [x3
] // encoding
: [0x6e,0x00,0x80,0xf9]
14 // NO-SLC
: prfm
#14, [x3]
16 // CHECK
: prfm plislcstrm
, [x3
] // encoding
: [0x6f,0x00,0x80,0xf9]
17 // NO-SLC
: prfm
#15, [x3]
19 // CHECK
: prfm pstslckeep
, [x3
] // encoding
: [0x76,0x00,0x80,0xf9]
20 // NO-SLC
: prfm
#22, [x3]
22 // CHECK
: prfm pstslcstrm
, [x3
] // encoding
: [0x77,0x00,0x80,0xf9]
23 // NO-SLC
: prfm
#23, [x3]
27 // CHECK
: prfm pldslckeep
, self
// encoding
: [0bAAA00110
,A,A,0xd8]
28 // NO-SLC
: prfm
#6, self
30 prfm pldslckeep
, [x3
, x5
]
31 // CHECK
: prfm pldslckeep
, [x3
, x5
] // encoding
: [0x66,0x68,0xa5,0xf8]
32 // NO-SLC
: prfm
#6, [x3, x5]