Files
TheRock/compiler/amd-llvm/llvm/test/MC/X86/apx/crc32-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

93 lines
3.1 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-22: error:
# ERROR-NOT: error:
# CHECK: {evex} crc32b %al, %ebx
# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0xf0,0xd8]
{evex} crc32b %al, %ebx
# CHECK: {evex} crc32b %al, %rbx
# CHECK: encoding: [0x62,0xf4,0xfc,0x08,0xf0,0xd8]
{evex} crc32b %al, %rbx
# CHECK: {evex} crc32w %ax, %ebx
# CHECK: encoding: [0x62,0xf4,0x7d,0x08,0xf1,0xd8]
{evex} crc32w %ax, %ebx
# CHECK: {evex} crc32l %eax, %ebx
# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0xf1,0xd8]
{evex} crc32l %eax, %ebx
# CHECK: {evex} crc32q %rax, %rbx
# CHECK: encoding: [0x62,0xf4,0xfc,0x08,0xf1,0xd8]
{evex} crc32q %rax, %rbx
# CHECK: {evex} crc32w 291(%rax,%rbx,4), %ecx
# CHECK: encoding: [0x62,0xf4,0x7d,0x08,0xf1,0x8c,0x98,0x23,0x01,0x00,0x00]
{evex} crc32w 291(%rax,%rbx,4), %ecx
# CHECK: {evex} crc32l 291(%rax,%rbx,4), %ecx
# CHECK: encoding: [0x62,0xf4,0x7c,0x08,0xf1,0x8c,0x98,0x23,0x01,0x00,0x00]
{evex} crc32l 291(%rax,%rbx,4), %ecx
# CHECK: {evex} crc32b 291(%rax,%rbx,4), %rcx
# CHECK: encoding: [0x62,0xf4,0xfc,0x08,0xf0,0x8c,0x98,0x23,0x01,0x00,0x00]
{evex} crc32b 291(%rax,%rbx,4), %rcx
# CHECK: {evex} crc32q 291(%rax,%rbx,4), %rcx
# CHECK: encoding: [0x62,0xf4,0xfc,0x08,0xf1,0x8c,0x98,0x23,0x01,0x00,0x00]
{evex} crc32q 291(%rax,%rbx,4), %rcx
# CHECK: crc32b %r16b, %r22d
# CHECK: encoding: [0x62,0xec,0x7c,0x08,0xf0,0xf0]
crc32b %r16b, %r22d
# CHECK: crc32b %r16b, %r23
# CHECK: encoding: [0x62,0xec,0xfc,0x08,0xf0,0xf8]
crc32b %r16b, %r23
# CHECK: crc32w %r17w, %r22d
# CHECK: encoding: [0x62,0xec,0x7d,0x08,0xf1,0xf1]
crc32w %r17w, %r22d
# CHECK: crc32l %r18d, %r22d
# CHECK: encoding: [0x62,0xec,0x7c,0x08,0xf1,0xf2]
crc32l %r18d, %r22d
# CHECK: crc32q %r19, %r23
# CHECK: encoding: [0x62,0xec,0xfc,0x08,0xf1,0xfb]
crc32q %r19, %r23
# CHECK: crc32w 291(%r28,%r29,4), %r18d
# CHECK: encoding: [0x62,0x8c,0x79,0x08,0xf1,0x94,0xac,0x23,0x01,0x00,0x00]
crc32w 291(%r28,%r29,4), %r18d
# CHECK: crc32l 291(%r28,%r29,4), %r18d
# CHECK: encoding: [0x62,0x8c,0x78,0x08,0xf1,0x94,0xac,0x23,0x01,0x00,0x00]
crc32l 291(%r28,%r29,4), %r18d
# CHECK: crc32b 291(%r28,%r29,4), %r19
# CHECK: encoding: [0x62,0x8c,0xf8,0x08,0xf0,0x9c,0xac,0x23,0x01,0x00,0x00]
crc32b 291(%r28,%r29,4), %r19
# CHECK: crc32q 291(%r28,%r29,4), %r19
# CHECK: encoding: [0x62,0x8c,0xf8,0x08,0xf1,0x9c,0xac,0x23,0x01,0x00,0x00]
crc32q 291(%r28,%r29,4), %r19
# CHECK: crc32w 123(%r28,%r29,4), %r18d
# CHECK: encoding: [0x62,0x8c,0x79,0x08,0xf1,0x54,0xac,0x7b]
crc32w 123(%r28,%r29,4), %r18d
# CHECK: crc32l 123(%r28,%r29,4), %r18d
# CHECK: encoding: [0x62,0x8c,0x78,0x08,0xf1,0x54,0xac,0x7b]
crc32l 123(%r28,%r29,4), %r18d
# CHECK: crc32b 123(%r28,%r29,4), %r19
# CHECK: encoding: [0x62,0x8c,0xf8,0x08,0xf0,0x5c,0xac,0x7b]
crc32b 123(%r28,%r29,4), %r19
# CHECK: crc32q 123(%r28,%r29,4), %r19
# CHECK: encoding: [0x62,0x8c,0xf8,0x08,0xf1,0x5c,0xac,0x7b]
crc32q 123(%r28,%r29,4), %r19