[AMDGPU] Add commute for some VOP3 inst (#121326)
[llvm-project.git] / llvm / test / MC / AArch64 / armv8.9a-prfm-slc.s
blobb7af572e814455dc7b1d7bec9f24719e072595ce
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.9a < %s | FileCheck %s
4 // RUN: llvm-mc -triple aarch64 -show-encoding -mattr=+v9.4a < %s | FileCheck %s
6 prfm pldslckeep, [x3]
7 // CHECK: prfm pldslckeep, [x3] // encoding: [0x66,0x00,0x80,0xf9]
8 // NO-SLC: prfm #6, [x3]
9 prfm pldslcstrm, [x3]
10 // CHECK: prfm pldslcstrm, [x3] // encoding: [0x67,0x00,0x80,0xf9]
11 // NO-SLC: prfm #7, [x3]
12 prfm plislckeep, [x3]
13 // CHECK: prfm plislckeep, [x3] // encoding: [0x6e,0x00,0x80,0xf9]
14 // NO-SLC: prfm #14, [x3]
15 prfm plislcstrm, [x3]
16 // CHECK: prfm plislcstrm, [x3] // encoding: [0x6f,0x00,0x80,0xf9]
17 // NO-SLC: prfm #15, [x3]
18 prfm pstslckeep, [x3]
19 // CHECK: prfm pstslckeep, [x3] // encoding: [0x76,0x00,0x80,0xf9]
20 // NO-SLC: prfm #22, [x3]
21 prfm pstslcstrm, [x3]
22 // CHECK: prfm pstslcstrm, [x3] // encoding: [0x77,0x00,0x80,0xf9]
23 // NO-SLC: prfm #23, [x3]
25 self:
26 prfm pldslckeep, self
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]