; RUN: llc -mtriple=aarch64-linux-gnu -mattr=+sve2 -asm-verbose=0 < %s 2>%t | FileCheck %s ; RUN: FileCheck --check-prefix=WARN --allow-empty %s <%t ; If this check fails please read test/CodeGen/AArch64/README for instructions on how to resolve it. ; WARN-NOT: warning ; ; EORBT ; define @eorbt_i8( %a, %b, %c) { ; CHECK-LABEL: eorbt_i8: ; CHECK: eorbt z0.b, z1.b, z2.b ; CHECK-NEXT: ret %out = call @llvm.aarch64.sve.eorbt.nxv16i8( %a, %b, %c) ret %out } define @eorbt_i16( %a, %b, %c) { ; CHECK-LABEL: eorbt_i16: ; CHECK: eorbt z0.h, z1.h, z2.h ; CHECK-NEXT: ret %out = call @llvm.aarch64.sve.eorbt.nxv8i16( %a, %b, %c) ret %out } define @eorbt_i32( %a, %b, %c) { ; CHECK-LABEL: eorbt_i32: ; CHECK: eorbt z0.s, z1.s, z2.s ; CHECK-NEXT: ret %out = call @llvm.aarch64.sve.eorbt.nxv4i32( %a, %b, %c) ret %out } define @eorbt_i64( %a, %b, %c) { ; CHECK-LABEL: eorbt_i64: ; CHECK: eorbt z0.d, z1.d, z2.d ; CHECK-NEXT: ret %out = call @llvm.aarch64.sve.eorbt.nxv2i64( %a, %b, %c) ret %out } ; ; EORTB ; define @eortb_i8( %a, %b, %c) { ; CHECK-LABEL: eortb_i8: ; CHECK: eortb z0.b, z1.b, z2.b ; CHECK-NEXT: ret %out = call @llvm.aarch64.sve.eortb.nxv16i8( %a, %b, %c) ret %out } define @eortb_i16( %a, %b, %c) { ; CHECK-LABEL: eortb_i16: ; CHECK: eortb z0.h, z1.h, z2.h ; CHECK-NEXT: ret %out = call @llvm.aarch64.sve.eortb.nxv8i16( %a, %b, %c) ret %out } define @eortb_i32( %a, %b, %c) { ; CHECK-LABEL: eortb_i32: ; CHECK: eortb z0.s, z1.s, z2.s ; CHECK-NEXT: ret %out = call @llvm.aarch64.sve.eortb.nxv4i32( %a, %b, %c) ret %out } define @eortb_i64( %a, %b, %c) { ; CHECK-LABEL: eortb_i64: ; CHECK: eortb z0.d, z1.d, z2.d ; CHECK-NEXT: ret %out = call @llvm.aarch64.sve.eortb.nxv2i64( %a, %b, %c) ret %out } ; ; PMULLB ; define @pmullb_i8( %a, %b) { ; CHECK-LABEL: pmullb_i8: ; CHECK: pmullb z0.h, z0.b, z1.b ; CHECK-NEXT: ret %out = call @llvm.aarch64.sve.pmullb.pair.nxv16i8( %a, %b) ret %out } define @pmullb_i32( %a, %b) { ; CHECK-LABEL: pmullb_i32: ; CHECK: pmullb z0.d, z0.s, z1.s ; CHECK-NEXT: ret %out = call @llvm.aarch64.sve.pmullb.pair.nxv4i32( %a, %b) ret %out } ; ; PMULLT ; define @pmullt_i8( %a, %b) { ; CHECK-LABEL: pmullt_i8: ; CHECK: pmullt z0.h, z0.b, z1.b ; CHECK-NEXT: ret %out = call @llvm.aarch64.sve.pmullt.pair.nxv16i8( %a, %b) ret %out } define @pmullt_i32( %a, %b) { ; CHECK-LABEL: pmullt_i32: ; CHECK: pmullt z0.d, z0.s, z1.s ; CHECK-NEXT: ret %out = call @llvm.aarch64.sve.pmullt.pair.nxv4i32( %a, %b) ret %out } declare @llvm.aarch64.sve.eorbt.nxv16i8(, , ) declare @llvm.aarch64.sve.eorbt.nxv8i16(, , ) declare @llvm.aarch64.sve.eorbt.nxv4i32(, , ) declare @llvm.aarch64.sve.eorbt.nxv2i64(, , ) declare @llvm.aarch64.sve.eortb.nxv16i8(, , ) declare @llvm.aarch64.sve.eortb.nxv8i16(, , ) declare @llvm.aarch64.sve.eortb.nxv4i32(, , ) declare @llvm.aarch64.sve.eortb.nxv2i64(, , ) declare @llvm.aarch64.sve.pmullb.pair.nxv16i8(, ) declare @llvm.aarch64.sve.pmullb.pair.nxv4i32(, ) declare @llvm.aarch64.sve.pmullt.pair.nxv16i8(, ) declare @llvm.aarch64.sve.pmullt.pair.nxv4i32(, )