Files
TheRock/compiler/amd-llvm/llvm/test/MC/X86/sm4-64-intel.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

115 lines
5.1 KiB
ArmAsm

// RUN: llvm-mc -triple x86_64 -x86-asm-syntax=intel -output-asm-variant=1 --show-encoding %s | FileCheck %s
// CHECK: vsm4key4 ymm12, ymm13, ymm4
// CHECK: encoding: [0xc4,0x62,0x16,0xda,0xe4]
vsm4key4 ymm12, ymm13, ymm4
// CHECK: vsm4key4 xmm12, xmm13, xmm4
// CHECK: encoding: [0xc4,0x62,0x12,0xda,0xe4]
vsm4key4 xmm12, xmm13, xmm4
// CHECK: vsm4key4 ymm12, ymm13, ymmword ptr [rbp + 8*r14 + 268435456]
// CHECK: encoding: [0xc4,0x22,0x16,0xda,0xa4,0xf5,0x00,0x00,0x00,0x10]
vsm4key4 ymm12, ymm13, ymmword ptr [rbp + 8*r14 + 268435456]
// CHECK: vsm4key4 ymm12, ymm13, ymmword ptr [r8 + 4*rax + 291]
// CHECK: encoding: [0xc4,0x42,0x16,0xda,0xa4,0x80,0x23,0x01,0x00,0x00]
vsm4key4 ymm12, ymm13, ymmword ptr [r8 + 4*rax + 291]
// CHECK: vsm4key4 ymm12, ymm13, ymmword ptr [rip]
// CHECK: encoding: [0xc4,0x62,0x16,0xda,0x25,0x00,0x00,0x00,0x00]
vsm4key4 ymm12, ymm13, ymmword ptr [rip]
// CHECK: vsm4key4 ymm12, ymm13, ymmword ptr [2*rbp - 1024]
// CHECK: encoding: [0xc4,0x62,0x16,0xda,0x24,0x6d,0x00,0xfc,0xff,0xff]
vsm4key4 ymm12, ymm13, ymmword ptr [2*rbp - 1024]
// CHECK: vsm4key4 ymm12, ymm13, ymmword ptr [rcx + 4064]
// CHECK: encoding: [0xc4,0x62,0x16,0xda,0xa1,0xe0,0x0f,0x00,0x00]
vsm4key4 ymm12, ymm13, ymmword ptr [rcx + 4064]
// CHECK: vsm4key4 ymm12, ymm13, ymmword ptr [rdx - 4096]
// CHECK: encoding: [0xc4,0x62,0x16,0xda,0xa2,0x00,0xf0,0xff,0xff]
vsm4key4 ymm12, ymm13, ymmword ptr [rdx - 4096]
// CHECK: vsm4key4 xmm12, xmm13, xmmword ptr [rbp + 8*r14 + 268435456]
// CHECK: encoding: [0xc4,0x22,0x12,0xda,0xa4,0xf5,0x00,0x00,0x00,0x10]
vsm4key4 xmm12, xmm13, xmmword ptr [rbp + 8*r14 + 268435456]
// CHECK: vsm4key4 xmm12, xmm13, xmmword ptr [r8 + 4*rax + 291]
// CHECK: encoding: [0xc4,0x42,0x12,0xda,0xa4,0x80,0x23,0x01,0x00,0x00]
vsm4key4 xmm12, xmm13, xmmword ptr [r8 + 4*rax + 291]
// CHECK: vsm4key4 xmm12, xmm13, xmmword ptr [rip]
// CHECK: encoding: [0xc4,0x62,0x12,0xda,0x25,0x00,0x00,0x00,0x00]
vsm4key4 xmm12, xmm13, xmmword ptr [rip]
// CHECK: vsm4key4 xmm12, xmm13, xmmword ptr [2*rbp - 512]
// CHECK: encoding: [0xc4,0x62,0x12,0xda,0x24,0x6d,0x00,0xfe,0xff,0xff]
vsm4key4 xmm12, xmm13, xmmword ptr [2*rbp - 512]
// CHECK: vsm4key4 xmm12, xmm13, xmmword ptr [rcx + 2032]
// CHECK: encoding: [0xc4,0x62,0x12,0xda,0xa1,0xf0,0x07,0x00,0x00]
vsm4key4 xmm12, xmm13, xmmword ptr [rcx + 2032]
// CHECK: vsm4key4 xmm12, xmm13, xmmword ptr [rdx - 2048]
// CHECK: encoding: [0xc4,0x62,0x12,0xda,0xa2,0x00,0xf8,0xff,0xff]
vsm4key4 xmm12, xmm13, xmmword ptr [rdx - 2048]
// CHECK: vsm4rnds4 ymm12, ymm13, ymm4
// CHECK: encoding: [0xc4,0x62,0x17,0xda,0xe4]
vsm4rnds4 ymm12, ymm13, ymm4
// CHECK: vsm4rnds4 xmm12, xmm13, xmm4
// CHECK: encoding: [0xc4,0x62,0x13,0xda,0xe4]
vsm4rnds4 xmm12, xmm13, xmm4
// CHECK: vsm4rnds4 ymm12, ymm13, ymmword ptr [rbp + 8*r14 + 268435456]
// CHECK: encoding: [0xc4,0x22,0x17,0xda,0xa4,0xf5,0x00,0x00,0x00,0x10]
vsm4rnds4 ymm12, ymm13, ymmword ptr [rbp + 8*r14 + 268435456]
// CHECK: vsm4rnds4 ymm12, ymm13, ymmword ptr [r8 + 4*rax + 291]
// CHECK: encoding: [0xc4,0x42,0x17,0xda,0xa4,0x80,0x23,0x01,0x00,0x00]
vsm4rnds4 ymm12, ymm13, ymmword ptr [r8 + 4*rax + 291]
// CHECK: vsm4rnds4 ymm12, ymm13, ymmword ptr [rip]
// CHECK: encoding: [0xc4,0x62,0x17,0xda,0x25,0x00,0x00,0x00,0x00]
vsm4rnds4 ymm12, ymm13, ymmword ptr [rip]
// CHECK: vsm4rnds4 ymm12, ymm13, ymmword ptr [2*rbp - 1024]
// CHECK: encoding: [0xc4,0x62,0x17,0xda,0x24,0x6d,0x00,0xfc,0xff,0xff]
vsm4rnds4 ymm12, ymm13, ymmword ptr [2*rbp - 1024]
// CHECK: vsm4rnds4 ymm12, ymm13, ymmword ptr [rcx + 4064]
// CHECK: encoding: [0xc4,0x62,0x17,0xda,0xa1,0xe0,0x0f,0x00,0x00]
vsm4rnds4 ymm12, ymm13, ymmword ptr [rcx + 4064]
// CHECK: vsm4rnds4 ymm12, ymm13, ymmword ptr [rdx - 4096]
// CHECK: encoding: [0xc4,0x62,0x17,0xda,0xa2,0x00,0xf0,0xff,0xff]
vsm4rnds4 ymm12, ymm13, ymmword ptr [rdx - 4096]
// CHECK: vsm4rnds4 xmm12, xmm13, xmmword ptr [rbp + 8*r14 + 268435456]
// CHECK: encoding: [0xc4,0x22,0x13,0xda,0xa4,0xf5,0x00,0x00,0x00,0x10]
vsm4rnds4 xmm12, xmm13, xmmword ptr [rbp + 8*r14 + 268435456]
// CHECK: vsm4rnds4 xmm12, xmm13, xmmword ptr [r8 + 4*rax + 291]
// CHECK: encoding: [0xc4,0x42,0x13,0xda,0xa4,0x80,0x23,0x01,0x00,0x00]
vsm4rnds4 xmm12, xmm13, xmmword ptr [r8 + 4*rax + 291]
// CHECK: vsm4rnds4 xmm12, xmm13, xmmword ptr [rip]
// CHECK: encoding: [0xc4,0x62,0x13,0xda,0x25,0x00,0x00,0x00,0x00]
vsm4rnds4 xmm12, xmm13, xmmword ptr [rip]
// CHECK: vsm4rnds4 xmm12, xmm13, xmmword ptr [2*rbp - 512]
// CHECK: encoding: [0xc4,0x62,0x13,0xda,0x24,0x6d,0x00,0xfe,0xff,0xff]
vsm4rnds4 xmm12, xmm13, xmmword ptr [2*rbp - 512]
// CHECK: vsm4rnds4 xmm12, xmm13, xmmword ptr [rcx + 2032]
// CHECK: encoding: [0xc4,0x62,0x13,0xda,0xa1,0xf0,0x07,0x00,0x00]
vsm4rnds4 xmm12, xmm13, xmmword ptr [rcx + 2032]
// CHECK: vsm4rnds4 xmm12, xmm13, xmmword ptr [rdx - 2048]
// CHECK: encoding: [0xc4,0x62,0x13,0xda,0xa2,0x00,0xf8,0xff,0xff]
vsm4rnds4 xmm12, xmm13, xmmword ptr [rdx - 2048]