From c0840799e3f7638ffcb535485973655a5ab18632 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Fri, 6 May 2022 15:39:05 +0100 Subject: [PATCH] [MC][X86] Add vcmpps disassembler tests for Issue #41491 We were missing coverage for vcmpps imm, vreg, vreg, mreg {mreg} patterns --- llvm/test/MC/Disassembler/X86/avx-512.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/llvm/test/MC/Disassembler/X86/avx-512.txt b/llvm/test/MC/Disassembler/X86/avx-512.txt index 563f6c6a2757..af1f02d23c20 100644 --- a/llvm/test/MC/Disassembler/X86/avx-512.txt +++ b/llvm/test/MC/Disassembler/X86/avx-512.txt @@ -174,6 +174,12 @@ # CHECK: vcmpps $127, %xmm27, %xmm11, %k4 0x62 0x91 0x24 0x08 0xc2 0xe3 0x7f +# CHECK: vcmpps $37, %xmm1, %xmm0, %k1 {%k7} +0x62 0xf1 0x7c 0x0f 0xc2 0xc9 0x25 + +# CHECK: vcmpps $37, %ymm1, %ymm0, %k1 {%k7} +0x62 0xf1 0x7c 0x2f 0xc2 0xc9 0x25 + # CHECK: vpgatherdd 256(%r9,%xmm31), %xmm17 {%k1} 0x62 0x82 0x7d 0x01 0x90 0x4c 0x39 0x40