llvm/llvm/test/MC/Disassembler/X86/apx/amx-tile.txt

# RUN: llvm-mc --disassemble %s -triple=x86_64 | FileCheck %s --check-prefixes=ATT
# RUN: llvm-mc --disassemble %s -triple=x86_64 -x86-asm-syntax=intel --output-asm-variant=1 | FileCheck %s --check-prefixes=INTEL

## ldtilecfg

# ATT:   ldtilecfg	123(%rax,%rbx,4)
# INTEL: ldtilecfg	[rax + 4*rbx + 123]
0x62,0xf2,0x7c,0x08,0x49,0x44,0x98,0x7b

# ATT:   ldtilecfg	291(%r28,%r29,4)
# INTEL: ldtilecfg	[r28 + 4*r29 + 291]
0x62,0x9a,0x78,0x08,0x49,0x84,0xac,0x23,0x01,0x00,0x00

## sttilecfg

# ATT:   sttilecfg	123(%rax,%rbx,4)
# INTEL: sttilecfg	[rax + 4*rbx + 123]
0x62,0xf2,0x7d,0x08,0x49,0x44,0x98,0x7b

# ATT:   sttilecfg	291(%r28,%r29,4)
# INTEL: sttilecfg	[r28 + 4*r29 + 291]
0x62,0x9a,0x79,0x08,0x49,0x84,0xac,0x23,0x01,0x00,0x00

## tileloadd

# ATT:   tileloadd	123(%rax,%rbx,4), %tmm6
# INTEL: tileloadd	tmm6, [rax + 4*rbx + 123]
0x62,0xf2,0x7f,0x08,0x4b,0x74,0x98,0x7b

# ATT:   tileloadd	291(%r28,%r29,4), %tmm6
# INTEL: tileloadd	tmm6, [r28 + 4*r29 + 291]
0x62,0x9a,0x7b,0x08,0x4b,0xb4,0xac,0x23,0x01,0x00,0x00

## tileloaddt1

# ATT:   tileloaddt1	123(%rax,%rbx,4), %tmm6
# INTEL: tileloaddt1	tmm6, [rax + 4*rbx + 123]
0x62,0xf2,0x7d,0x08,0x4b,0x74,0x98,0x7b

# ATT:   tileloaddt1	291(%r28,%r29,4), %tmm6
# INTEL: tileloaddt1	tmm6, [r28 + 4*r29 + 291]
0x62,0x9a,0x79,0x08,0x4b,0xb4,0xac,0x23,0x01,0x00,0x00

## tilestored

# ATT:   tilestored	%tmm6, 123(%rax,%rbx,4)
# INTEL: tilestored	[rax + 4*rbx + 123], tmm6
0x62,0xf2,0x7e,0x08,0x4b,0x74,0x98,0x7b

# ATT:   tilestored	%tmm6, 291(%r28,%r29,4)
# INTEL: tilestored	[r28 + 4*r29 + 291], tmm6
0x62,0x9a,0x7a,0x08,0x4b,0xb4,0xac,0x23,0x01,0x00,0x00