xref: /llvm-project/llvm/test/MC/PowerPC/ppc32-extpid-e500.s (revision cf4701bb89fcf1aa536b2008320690d85ce43c40)
1# RUN: llvm-mc -triple powerpc-unknown-unknown --show-encoding %s | FileCheck %s
2
3# Extended PID instructions specific to the e500 / e500mc cores:
4
5# CHECK: lbepx    1, 2, 3                  # encoding: [0x7c,0x22,0x18,0xbe]
6         lbepx    1, 2, 3
7# CHECK: lfdepx   4, 5, 6                  # encoding: [0x7c,0x85,0x34,0xbe]
8         lfdepx   4, 5, 6
9# CHECK: lhepx    7, 8, 9                  # encoding: [0x7c,0xe8,0x4a,0x3e]
10         lhepx    7, 8, 9
11# CHECK: lwepx    10, 11, 12               # encoding: [0x7d,0x4b,0x60,0x3e]
12         lwepx    10, 11, 12
13# CHECK: stbepx   13, 14, 15               # encoding: [0x7d,0xae,0x79,0xbe]
14         stbepx   13, 14, 15
15# CHECK: stfdepx  16, 17, 18               # encoding: [0x7e,0x11,0x95,0xbe]
16         stfdepx  16, 17, 18
17# CHECK: sthepx   19, 20, 21               # encoding: [0x7e,0x74,0xab,0x3e]
18         sthepx   19, 20, 21
19# CHECK: stwepx   22, 23, 24               # encoding: [0x7e,0xd7,0xc1,0x3e]
20         stwepx   22, 23, 24
21# CHECK: dcbfep   25, 26                   # encoding: [0x7c,0x19,0xd0,0xfe]
22         dcbfep   25, 26
23# CHECK: dcbstep  27, 28                   # encoding: [0x7c,0x1b,0xe0,0x7e]
24         dcbstep  27, 28
25# CHECK: dcbtep   29, 30, 31               # encoding: [0x7f,0xbe,0xfa,0x7e]
26         dcbtep   29, 30, 31
27# CHECK: dcbtstep 0, 1, 2                  # encoding: [0x7c,0x01,0x11,0xfe]
28         dcbtstep 0, 1, 2
29# CHECK: dcbzep   3, 4                     # encoding: [0x7c,0x03,0x27,0xfe]
30         dcbzep   3, 4
31# CHECK: dcbzlep  5, 6                     # encoding: [0x7c,0x25,0x37,0xfe]
32         dcbzlep  5, 6
33# CHECK: icbiep   7, 8                     # encoding: [0x7c,0x07,0x47,0xbe]
34         icbiep   7, 8
35