Files
clang-p2996/llvm/test/MC/Disassembler/PowerPC/ppc64-encoding-p8htm.txt
Kang Zhang 86e3abc9e6 [PowerPC] Add some InstAlias definitions
Summary:
This patch add the InstAlias definitions for below instructions.

ADDI ADDIS ADDI8 ADDIS8
RLWINM8
ISEL ISEL8
OR OR_rec ORI ORI8 XORI8
CNTLZW8 CNTLZW8_rec
TEND TSR
RFEBB
NOR NOR_rec
MTCRF
SUBF SUBF_rec SUBFC SUBFC_rec
RLDICL_32_64
TW

Reviewed By: steven.zhang

Differential Revision: https://reviews.llvm.org/D77559
2020-05-24 14:05:28 +00:00

44 lines
681 B
Plaintext

# RUN: llvm-mc --disassemble %s -triple powerpc64-unknown-unknown -mcpu=pwr8 | FileCheck %s
# CHECK: tbegin. 1
0x7c 0x20 0x05 0x1d
# CHECK: tbegin. 0
0x7c 0x00 0x05 0x1d
# CHECK: tend.
0x7c 0x00 0x05 0x5d
# CHECK: tendall.
0x7e 0x00 0x05 0x5d
# CHECK: tabort. 3
0x7c 0x03 0x07 0x1d
# CHECK: tabortdc. 9, 0, 0
0x7d 0x20 0x06 0x5d
# CHECK: tabortdci. 1, 0, 3
0x7c 0x20 0x1e 0xdd
# CHECK: tabortwc. 0, 4, 3
0x7c 0x04 0x1e 0x1d
# CHECK: tabortwci. 0, 4, 2
0x7c 0x04 0x16 0x9d
# CHECK: tresume.
0x7c 0x20 0x05 0xdd
# CHECK: tsuspend.
0x7c 0x00 0x05 0xdd
# CHECK: tcheck 0
0x7c 0x00 0x05 0x9c
# CHECK: treclaim. 3
0x7c 0x03 0x07 0x5d
# CHECK: trechkpt.
0x7c 0x00 0x07 0xdd