Files
TheRock/compiler/amd-llvm/llvm/test/MC/X86/apx/kmov-att.s
T
derek.holloway 7502bf64a4
CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
Flatten subprojects into a single base monorepo
2026-09-02 16:34:47 -07:00

84 lines
2.9 KiB
ArmAsm

# RUN: llvm-mc -triple x86_64 -show-encoding %s | FileCheck %s
# RUN: not llvm-mc -triple i386 -show-encoding %s 2>&1 | FileCheck %s --check-prefix=ERROR
# ERROR-COUNT-24: error:
# ERROR-NOT: error:
# CHECK: {evex} kmovb %k1, %k2
# CHECK: encoding: [0x62,0xf1,0x7d,0x08,0x90,0xd1]
{evex} kmovb %k1, %k2
# CHECK: {evex} kmovw %k1, %k2
# CHECK: encoding: [0x62,0xf1,0x7c,0x08,0x90,0xd1]
{evex} kmovw %k1, %k2
# CHECK: {evex} kmovd %k1, %k2
# CHECK: encoding: [0x62,0xf1,0xfd,0x08,0x90,0xd1]
{evex} kmovd %k1, %k2
# CHECK: {evex} kmovq %k1, %k2
# CHECK: encoding: [0x62,0xf1,0xfc,0x08,0x90,0xd1]
{evex} kmovq %k1, %k2
# CHECK: {evex} kmovb -16(%rax), %k0
# CHECK: encoding: [0x62,0xf1,0x7d,0x08,0x90,0x40,0xf0]
{evex} kmovb -0x10(%rax), %k0
# CHECK: {evex} kmovw -16(%rax), %k0
# CHECK: encoding: [0x62,0xf1,0x7c,0x08,0x90,0x40,0xf0]
{evex} kmovw -0x10(%rax), %k0
# CHECK: {evex} kmovd -16(%rax), %k0
# CHECK: encoding: [0x62,0xf1,0xfd,0x08,0x90,0x40,0xf0]
{evex} kmovd -0x10(%rax), %k0
# CHECK: {evex} kmovq -16(%rax), %k0
# CHECK: encoding: [0x62,0xf1,0xfc,0x08,0x90,0x40,0xf0]
{evex} kmovq -0x10(%rax), %k0
# CHECK-NOT: {evex}
# CHECK: kmovb %r16d, %k1
# CHECK: encoding: [0x62,0xf9,0x7d,0x08,0x92,0xc8]
kmovb %r16d, %k1
# CHECK: kmovw %r16d, %k1
# CHECK: encoding: [0x62,0xf9,0x7c,0x08,0x92,0xc8]
kmovw %r16d, %k1
# CHECK: kmovd %r16d, %k1
# CHECK: encoding: [0x62,0xf9,0x7f,0x08,0x92,0xc8]
kmovd %r16d, %k1
# CHECK: kmovq %r16, %k1
# CHECK: encoding: [0x62,0xf9,0xff,0x08,0x92,0xc8]
kmovq %r16, %k1
# CHECK: kmovb %k1, %r16d
# CHECK: encoding: [0x62,0xe1,0x7d,0x08,0x93,0xc1]
kmovb %k1, %r16d
# CHECK: kmovw %k1, %r16d
# CHECK: encoding: [0x62,0xe1,0x7c,0x08,0x93,0xc1]
kmovw %k1, %r16d
# CHECK: kmovd %k1, %r16d
# CHECK: encoding: [0x62,0xe1,0x7f,0x08,0x93,0xc1]
kmovd %k1, %r16d
# CHECK: kmovq %k1, %r16
# CHECK: encoding: [0x62,0xe1,0xff,0x08,0x93,0xc1]
kmovq %k1, %r16
# CHECK: kmovb (%r16,%r17), %k1
# CHECK: encoding: [0x62,0xf9,0x79,0x08,0x90,0x0c,0x08]
kmovb (%r16,%r17), %k1
# CHECK: kmovw (%r16,%r17), %k1
# CHECK: encoding: [0x62,0xf9,0x78,0x08,0x90,0x0c,0x08]
kmovw (%r16,%r17), %k1
# CHECK: kmovd (%r16,%r17), %k1
# CHECK: encoding: [0x62,0xf9,0xf9,0x08,0x90,0x0c,0x08]
kmovd (%r16,%r17), %k1
# CHECK: kmovq (%r16,%r17), %k1
# CHECK: encoding: [0x62,0xf9,0xf8,0x08,0x90,0x0c,0x08]
kmovq (%r16,%r17), %k1
# CHECK: kmovb %k1, (%r16,%r17)
# CHECK: encoding: [0x62,0xf9,0x79,0x08,0x91,0x0c,0x08]
kmovb %k1, (%r16,%r17)
# CHECK: kmovw %k1, (%r16,%r17)
# CHECK: encoding: [0x62,0xf9,0x78,0x08,0x91,0x0c,0x08]
kmovw %k1, (%r16,%r17)
# CHECK: kmovd %k1, (%r16,%r17)
# CHECK: encoding: [0x62,0xf9,0xf9,0x08,0x91,0x0c,0x08]
kmovd %k1, (%r16,%r17)
# CHECK: kmovq %k1, (%r16,%r17)
# CHECK: encoding: [0x62,0xf9,0xf8,0x08,0x91,0x0c,0x08]
kmovq %k1, (%r16,%r17)