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

114 lines
5.2 KiB
ArmAsm

// RUN: llvm-mc -triple i686-unknown-unknown -x86-asm-syntax=intel -output-asm-variant=1 --show-encoding %s | FileCheck %s
// CHECK: vsm4key4 ymm2, ymm3, ymm4
// CHECK: encoding: [0xc4,0xe2,0x66,0xda,0xd4]
vsm4key4 ymm2, ymm3, ymm4
// CHECK: vsm4key4 xmm2, xmm3, xmm4
// CHECK: encoding: [0xc4,0xe2,0x62,0xda,0xd4]
vsm4key4 xmm2, xmm3, xmm4
// CHECK: vsm4key4 ymm2, ymm3, ymmword ptr [esp + 8*esi + 268435456]
// CHECK: encoding: [0xc4,0xe2,0x66,0xda,0x94,0xf4,0x00,0x00,0x00,0x10]
vsm4key4 ymm2, ymm3, ymmword ptr [esp + 8*esi + 268435456]
// CHECK: vsm4key4 ymm2, ymm3, ymmword ptr [edi + 4*eax + 291]
// CHECK: encoding: [0xc4,0xe2,0x66,0xda,0x94,0x87,0x23,0x01,0x00,0x00]
vsm4key4 ymm2, ymm3, ymmword ptr [edi + 4*eax + 291]
// CHECK: vsm4key4 ymm2, ymm3, ymmword ptr [eax]
// CHECK: encoding: [0xc4,0xe2,0x66,0xda,0x10]
vsm4key4 ymm2, ymm3, ymmword ptr [eax]
// CHECK: vsm4key4 ymm2, ymm3, ymmword ptr [2*ebp - 1024]
// CHECK: encoding: [0xc4,0xe2,0x66,0xda,0x14,0x6d,0x00,0xfc,0xff,0xff]
vsm4key4 ymm2, ymm3, ymmword ptr [2*ebp - 1024]
// CHECK: vsm4key4 ymm2, ymm3, ymmword ptr [ecx + 4064]
// CHECK: encoding: [0xc4,0xe2,0x66,0xda,0x91,0xe0,0x0f,0x00,0x00]
vsm4key4 ymm2, ymm3, ymmword ptr [ecx + 4064]
// CHECK: vsm4key4 ymm2, ymm3, ymmword ptr [edx - 4096]
// CHECK: encoding: [0xc4,0xe2,0x66,0xda,0x92,0x00,0xf0,0xff,0xff]
vsm4key4 ymm2, ymm3, ymmword ptr [edx - 4096]
// CHECK: vsm4key4 xmm2, xmm3, xmmword ptr [esp + 8*esi + 268435456]
// CHECK: encoding: [0xc4,0xe2,0x62,0xda,0x94,0xf4,0x00,0x00,0x00,0x10]
vsm4key4 xmm2, xmm3, xmmword ptr [esp + 8*esi + 268435456]
// CHECK: vsm4key4 xmm2, xmm3, xmmword ptr [edi + 4*eax + 291]
// CHECK: encoding: [0xc4,0xe2,0x62,0xda,0x94,0x87,0x23,0x01,0x00,0x00]
vsm4key4 xmm2, xmm3, xmmword ptr [edi + 4*eax + 291]
// CHECK: vsm4key4 xmm2, xmm3, xmmword ptr [eax]
// CHECK: encoding: [0xc4,0xe2,0x62,0xda,0x10]
vsm4key4 xmm2, xmm3, xmmword ptr [eax]
// CHECK: vsm4key4 xmm2, xmm3, xmmword ptr [2*ebp - 512]
// CHECK: encoding: [0xc4,0xe2,0x62,0xda,0x14,0x6d,0x00,0xfe,0xff,0xff]
vsm4key4 xmm2, xmm3, xmmword ptr [2*ebp - 512]
// CHECK: vsm4key4 xmm2, xmm3, xmmword ptr [ecx + 2032]
// CHECK: encoding: [0xc4,0xe2,0x62,0xda,0x91,0xf0,0x07,0x00,0x00]
vsm4key4 xmm2, xmm3, xmmword ptr [ecx + 2032]
// CHECK: vsm4key4 xmm2, xmm3, xmmword ptr [edx - 2048]
// CHECK: encoding: [0xc4,0xe2,0x62,0xda,0x92,0x00,0xf8,0xff,0xff]
vsm4key4 xmm2, xmm3, xmmword ptr [edx - 2048]
// CHECK: vsm4rnds4 ymm2, ymm3, ymm4
// CHECK: encoding: [0xc4,0xe2,0x67,0xda,0xd4]
vsm4rnds4 ymm2, ymm3, ymm4
// CHECK: vsm4rnds4 xmm2, xmm3, xmm4
// CHECK: encoding: [0xc4,0xe2,0x63,0xda,0xd4]
vsm4rnds4 xmm2, xmm3, xmm4
// CHECK: vsm4rnds4 ymm2, ymm3, ymmword ptr [esp + 8*esi + 268435456]
// CHECK: encoding: [0xc4,0xe2,0x67,0xda,0x94,0xf4,0x00,0x00,0x00,0x10]
vsm4rnds4 ymm2, ymm3, ymmword ptr [esp + 8*esi + 268435456]
// CHECK: vsm4rnds4 ymm2, ymm3, ymmword ptr [edi + 4*eax + 291]
// CHECK: encoding: [0xc4,0xe2,0x67,0xda,0x94,0x87,0x23,0x01,0x00,0x00]
vsm4rnds4 ymm2, ymm3, ymmword ptr [edi + 4*eax + 291]
// CHECK: vsm4rnds4 ymm2, ymm3, ymmword ptr [eax]
// CHECK: encoding: [0xc4,0xe2,0x67,0xda,0x10]
vsm4rnds4 ymm2, ymm3, ymmword ptr [eax]
// CHECK: vsm4rnds4 ymm2, ymm3, ymmword ptr [2*ebp - 1024]
// CHECK: encoding: [0xc4,0xe2,0x67,0xda,0x14,0x6d,0x00,0xfc,0xff,0xff]
vsm4rnds4 ymm2, ymm3, ymmword ptr [2*ebp - 1024]
// CHECK: vsm4rnds4 ymm2, ymm3, ymmword ptr [ecx + 4064]
// CHECK: encoding: [0xc4,0xe2,0x67,0xda,0x91,0xe0,0x0f,0x00,0x00]
vsm4rnds4 ymm2, ymm3, ymmword ptr [ecx + 4064]
// CHECK: vsm4rnds4 ymm2, ymm3, ymmword ptr [edx - 4096]
// CHECK: encoding: [0xc4,0xe2,0x67,0xda,0x92,0x00,0xf0,0xff,0xff]
vsm4rnds4 ymm2, ymm3, ymmword ptr [edx - 4096]
// CHECK: vsm4rnds4 xmm2, xmm3, xmmword ptr [esp + 8*esi + 268435456]
// CHECK: encoding: [0xc4,0xe2,0x63,0xda,0x94,0xf4,0x00,0x00,0x00,0x10]
vsm4rnds4 xmm2, xmm3, xmmword ptr [esp + 8*esi + 268435456]
// CHECK: vsm4rnds4 xmm2, xmm3, xmmword ptr [edi + 4*eax + 291]
// CHECK: encoding: [0xc4,0xe2,0x63,0xda,0x94,0x87,0x23,0x01,0x00,0x00]
vsm4rnds4 xmm2, xmm3, xmmword ptr [edi + 4*eax + 291]
// CHECK: vsm4rnds4 xmm2, xmm3, xmmword ptr [eax]
// CHECK: encoding: [0xc4,0xe2,0x63,0xda,0x10]
vsm4rnds4 xmm2, xmm3, xmmword ptr [eax]
// CHECK: vsm4rnds4 xmm2, xmm3, xmmword ptr [2*ebp - 512]
// CHECK: encoding: [0xc4,0xe2,0x63,0xda,0x14,0x6d,0x00,0xfe,0xff,0xff]
vsm4rnds4 xmm2, xmm3, xmmword ptr [2*ebp - 512]
// CHECK: vsm4rnds4 xmm2, xmm3, xmmword ptr [ecx + 2032]
// CHECK: encoding: [0xc4,0xe2,0x63,0xda,0x91,0xf0,0x07,0x00,0x00]
vsm4rnds4 xmm2, xmm3, xmmword ptr [ecx + 2032]
// CHECK: vsm4rnds4 xmm2, xmm3, xmmword ptr [edx - 2048]
// CHECK: encoding: [0xc4,0xe2,0x63,0xda,0x92,0x00,0xf8,0xff,0xff]
vsm4rnds4 xmm2, xmm3, xmmword ptr [edx - 2048]