| # RUN: llvm-mc -triple powerpc64-unknown-linux-gnu --show-encoding %s | \ |
| # RUN: FileCheck -check-prefix=CHECK-BE %s |
| # RUN: llvm-mc -triple powerpc64le-unknown-linux-gnu --show-encoding %s | \ |
| # RUN: FileCheck -check-prefix=CHECK-LE %s |
| # RUN: llvm-mc -triple powerpc-unknown-aix-gnu --show-encoding %s | \ |
| # RUN: FileCheck -check-prefix=CHECK-BE %s |
| |
| # CHECK-BE: dmxxextfdmr512 1, 2, 34, 0 # encoding: [0xf0,0x82,0x17,0x12] |
| # CHECK-LE: dmxxextfdmr512 1, 2, 34, 0 # encoding: [0x12,0x17,0x82,0xf0] |
| dmxxextfdmr512 1, 2, 34, 0 |
| |
| # CHECK-BE: dmxxextfdmr512 1, 2, 34, 1 # encoding: [0xf0,0x83,0x17,0x12] |
| # CHECK-LE: dmxxextfdmr512 1, 2, 34, 1 # encoding: [0x12,0x17,0x83,0xf0] |
| dmxxextfdmr512 1, 2, 34, 1 |
| |
| # CHECK-BE: dmxxextfdmr256 3, 8, 0 # encoding: [0xf1,0x80,0x47,0x90] |
| # CHECK-LE: dmxxextfdmr256 3, 8, 0 # encoding: [0x90,0x47,0x80,0xf1] |
| dmxxextfdmr256 3, 8, 0 |
| |
| # CHECK-BE: dmxxextfdmr256 3, 8, 3 # encoding: [0xf1,0x81,0x4f,0x90] |
| # CHECK-LE: dmxxextfdmr256 3, 8, 3 # encoding: [0x90,0x4f,0x81,0xf1] |
| dmxxextfdmr256 3, 8, 3 |
| |
| # CHECK-BE: dmxxinstfdmr512 1, 2, 34, 0 # encoding: [0xf0,0x82,0x17,0x52] |
| # CHECK-LE: dmxxinstfdmr512 1, 2, 34, 0 # encoding: [0x52,0x17,0x82,0xf0] |
| dmxxinstfdmr512 1, 2, 34, 0 |
| |
| # CHECK-BE: dmxxinstfdmr512 1, 2, 34, 1 # encoding: [0xf0,0x83,0x17,0x52] |
| # CHECK-LE: dmxxinstfdmr512 1, 2, 34, 1 # encoding: [0x52,0x17,0x83,0xf0] |
| dmxxinstfdmr512 1, 2, 34, 1 |
| |
| # CHECK-BE: dmxxinstfdmr256 3, 8, 0 # encoding: [0xf1,0x80,0x47,0x94] |
| # CHECK-LE: dmxxinstfdmr256 3, 8, 0 # encoding: [0x94,0x47,0x80,0xf1] |
| dmxxinstfdmr256 3, 8, 0 |
| |
| # CHECK-BE: dmxxinstfdmr256 3, 8, 3 # encoding: [0xf1,0x81,0x4f,0x94] |
| # CHECK-LE: dmxxinstfdmr256 3, 8, 3 # encoding: [0x94,0x4f,0x81,0xf1] |
| dmxxinstfdmr256 3, 8, 3 |
| |
| # CHECK-BE: dmsetdmrz 3 # encoding: [0x7d,0x82,0x01,0x62] |
| # CHECK-LE: dmsetdmrz 3 # encoding: [0x62,0x01,0x82,0x7d] |
| dmsetdmrz 3 |
| |
| # CHECK-BE: dmmr 4, 5 # encoding: [0x7e,0x06,0xa1,0x62] |
| # CHECK-LE: dmmr 4, 5 # encoding: [0x62,0xa1,0x06,0x7e] |
| dmmr 4, 5 |
| |
| # CHECK-BE: dmxor 6, 7 # encoding: [0x7f,0x07,0xe1,0x62] |
| # CHECK-LE: dmxor 6, 7 # encoding: [0x62,0xe1,0x07,0x7f] |
| dmxor 6, 7 |
| |
| # CHECK-BE: subfus 3, 0, 4, 5 # encoding: [0x7c,0x64,0x28,0x90] |
| # CHECK-LE: subfus 3, 0, 4, 5 # encoding: [0x90,0x28,0x64,0x7c] |
| subfus 3, 0, 4, 5 |
| |
| # CHECK-BE: subfus 3, 1, 4, 5 # encoding: [0x7c,0x64,0x2c,0x90] |
| # CHECK-LE: subfus 3, 1, 4, 5 # encoding: [0x90,0x2c,0x64,0x7c] |
| subfus 3, 1, 4, 5 |
| |
| # CHECK-BE: subfus. 3, 0, 4, 5 # encoding: [0x7c,0x64,0x28,0x91] |
| # CHECK-LE: subfus. 3, 0, 4, 5 # encoding: [0x91,0x28,0x64,0x7c] |
| subfus. 3, 0, 4, 5 |
| |
| # CHECK-BE: subfus. 3, 1, 4, 5 # encoding: [0x7c,0x64,0x2c,0x91] |
| # CHECK-LE: subfus. 3, 1, 4, 5 # encoding: [0x91,0x2c,0x64,0x7c] |
| subfus. 3, 1, 4, 5 |
| |
| # CHECK-BE: lxvrl 1, 1, 2 # encoding: [0x7c,0x21,0x14,0x1a] |
| # CHECK-LE: lxvrl 1, 1, 2 # encoding: [0x1a,0x14,0x21,0x7c] |
| lxvrl 1, 1, 2 |
| |
| # CHECK-BE: lxvrll 0, 3, 4 # encoding: [0x7c,0x03,0x24,0x5a] |
| # CHECK-LE: lxvrll 0, 3, 4 # encoding: [0x5a,0x24,0x03,0x7c] |
| lxvrll 0, 3, 4 |
| |
| # CHECK-BE: stxvrl 2, 0, 1 # encoding: [0x7c,0x40,0x0d,0x1a] |
| # CHECK-LE: stxvrl 2, 0, 1 # encoding: [0x1a,0x0d,0x40,0x7c] |
| stxvrl 2, 0, 1 |
| |
| # CHECK-BE: stxvrll 3, 1, 5 # encoding: [0x7c,0x61,0x2d,0x5a] |
| # CHECK-LE: stxvrll 3, 1, 5 # encoding: [0x5a,0x2d,0x61,0x7c] |
| stxvrll 3, 1, 5 |
| |
| # CHECK-BE: lxvprl 6, 1, 5 # encoding: [0x7c,0xc1,0x2c,0x9a] |
| # CHECK-LE: lxvprl 6, 1, 5 # encoding: [0x9a,0x2c,0xc1,0x7c] |
| lxvprl 6, 1, 5 |
| |
| # CHECK-BE: lxvprll 6, 2, 1 # encoding: [0x7c,0xc2,0x0c,0xda] |
| # CHECK-LE: lxvprll 6, 2, 1 # encoding: [0xda,0x0c,0xc2,0x7c] |
| lxvprll 6, 2, 1 |
| |
| # CHECK-BE: stxvprl 0, 1, 2 # encoding: [0x7c,0x01,0x15,0x9a] |
| # CHECK-LE: stxvprl 0, 1, 2 # encoding: [0x9a,0x15,0x01,0x7c] |
| stxvprl 0, 1, 2 |
| |
| # CHECK-BE: stxvprll 6, 0, 1 # encoding: [0x7c,0xc0,0x0d,0xda] |
| # CHECK-LE: stxvprll 6, 0, 1 # encoding: [0xda,0x0d,0xc0,0x7c] |
| stxvprll 6, 0, 1 |