Index: llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td =================================================================== --- llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td +++ llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td @@ -3696,3 +3696,9 @@ defm WHILELO_CXX : sve2p1_int_while_rr_pn<"whilelo", 0b110>; defm WHILELS_CXX : sve2p1_int_while_rr_pn<"whilels", 0b111>; } // End HasSVE2p1_or_HasSME2 + +let Predicates = [HasSVE2p1_or_HasSME2p1] in { +defm ORQV : sve2p1_log_reduction_q<0b00, "orqv">; +defm EORQV : sve2p1_log_reduction_q<0b01, "eorqv">; +defm ANDQV : sve2p1_log_reduction_q<0b10, "andqv">; +} Index: llvm/lib/Target/AArch64/SVEInstrFormats.td =================================================================== --- llvm/lib/Target/AArch64/SVEInstrFormats.td +++ llvm/lib/Target/AArch64/SVEInstrFormats.td @@ -9199,3 +9199,30 @@ def : InstAlias(NAME) Z_q:$Zt, PPR3bAny:$Pg, ZPR64:$Zn, XZR), 1>; } + + +// SVE bitwise logical reduction (quadwords) +class sve2p1_log_reduction_q sz, bits<2> opc, string mnemonic, + RegisterOperand zpr_ty, string vec_sfx> + : I<(outs V128:$Vd), (ins PPR3bAny:$Pg, zpr_ty:$Zn), + mnemonic, "\t$Vd." # vec_sfx # ", $Pg, $Zn", + "", []>, Sched<[]> { + bits<5> Vd; + bits<5> Zn; + bits<3> Pg; + let Inst{31-24} = 0b00000100; + let Inst{23-22} = sz; + let Inst{21-18} = 0b0111; + let Inst{17-16} = opc; + let Inst{15-13} = 0b001; + let Inst{12-10} = Pg; + let Inst{9-5} = Zn; + let Inst{4-0} = Vd; +} + +multiclass sve2p1_log_reduction_q opc, string mnemonic> { + def _B : sve2p1_log_reduction_q<0b00, opc, mnemonic, ZPR8, "16b">; + def _H : sve2p1_log_reduction_q<0b01, opc, mnemonic, ZPR16, "8h">; + def _S : sve2p1_log_reduction_q<0b10, opc, mnemonic, ZPR32, "4s">; + def _D : sve2p1_log_reduction_q<0b11, opc, mnemonic, ZPR64, "2d">; +} Index: llvm/test/MC/AArch64/SVE2p1/andqv-diagnostics.s =================================================================== --- /dev/null +++ llvm/test/MC/AArch64/SVE2p1/andqv-diagnostics.s @@ -0,0 +1,30 @@ +// RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sve2p1 2>&1 < %s | FileCheck %s + +// --------------------------------------------------------------------------// +// Invalid predicate register + +andqv v0.2d, p11, z0.d +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid restricted predicate register, expected p0..p7 (without element suffix) +// CHECK-NEXT: andqv v0.2d, p11, z0.d +// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: + +// --------------------------------------------------------------------------// +// Invalid vector register + +andqv v0.4h, p1, z0.h +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction +// CHECK-NEXT: andqv v0.4h, p1, z0.h +// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: + +andqv z1.s, p1, z0.s +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction +// CHECK-NEXT: andqv z1.s, p1, z0.s +// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: + +// --------------------------------------------------------------------------// +// Invalid vector suffix + +andqv v0.8h, p1, z0.s +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid element width +// CHECK-NEXT: andqv v0.8h, p1, z0.s +// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: Index: llvm/test/MC/AArch64/SVE2p1/andqv.s =================================================================== --- /dev/null +++ llvm/test/MC/AArch64/SVE2p1/andqv.s @@ -0,0 +1,110 @@ +// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme2p1 < %s \ +// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST +// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve2p1 < %s \ +// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST +// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \ +// RUN: | FileCheck %s --check-prefix=CHECK-ERROR +// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme2p1 < %s \ +// RUN: | llvm-objdump -d --mattr=+sme2p1 - | FileCheck %s --check-prefix=CHECK-INST +// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme2p1 < %s \ +// RUN: | llvm-objdump -d - | FileCheck %s --check-prefix=CHECK-UNKNOWN +// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme2p1 < %s \ +// RUN: | sed '/.text/d' | sed 's/.*encoding: //g' \ +// RUN: | llvm-mc -triple=aarch64 -mattr=+sme2p1 -disassemble -show-encoding \ +// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST + +andqv v0.8h, p0, z0.h // 00000100-01011110-00100000-00000000 +// CHECK-INST: andqv v0.8h, p0, z0.h +// CHECK-ENCODING: [0x00,0x20,0x5e,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 045e2000 + +andqv v21.8h, p5, z10.h // 00000100-01011110-00110101-01010101 +// CHECK-INST: andqv v21.8h, p5, z10.h +// CHECK-ENCODING: [0x55,0x35,0x5e,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 045e3555 + +andqv v23.8h, p3, z13.h // 00000100-01011110-00101101-10110111 +// CHECK-INST: andqv v23.8h, p3, z13.h +// CHECK-ENCODING: [0xb7,0x2d,0x5e,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 045e2db7 + +andqv v31.8h, p7, z31.h // 00000100-01011110-00111111-11111111 +// CHECK-INST: andqv v31.8h, p7, z31.h +// CHECK-ENCODING: [0xff,0x3f,0x5e,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 045e3fff + +andqv v0.4s, p0, z0.s // 00000100-10011110-00100000-00000000 +// CHECK-INST: andqv v0.4s, p0, z0.s +// CHECK-ENCODING: [0x00,0x20,0x9e,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 049e2000 + +andqv v21.4s, p5, z10.s // 00000100-10011110-00110101-01010101 +// CHECK-INST: andqv v21.4s, p5, z10.s +// CHECK-ENCODING: [0x55,0x35,0x9e,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 049e3555 + +andqv v23.4s, p3, z13.s // 00000100-10011110-00101101-10110111 +// CHECK-INST: andqv v23.4s, p3, z13.s +// CHECK-ENCODING: [0xb7,0x2d,0x9e,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 049e2db7 + +andqv v31.4s, p7, z31.s // 00000100-10011110-00111111-11111111 +// CHECK-INST: andqv v31.4s, p7, z31.s +// CHECK-ENCODING: [0xff,0x3f,0x9e,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 049e3fff + +andqv v0.2d, p0, z0.d // 00000100-11011110-00100000-00000000 +// CHECK-INST: andqv v0.2d, p0, z0.d +// CHECK-ENCODING: [0x00,0x20,0xde,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 04de2000 + +andqv v21.2d, p5, z10.d // 00000100-11011110-00110101-01010101 +// CHECK-INST: andqv v21.2d, p5, z10.d +// CHECK-ENCODING: [0x55,0x35,0xde,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 04de3555 + +andqv v23.2d, p3, z13.d // 00000100-11011110-00101101-10110111 +// CHECK-INST: andqv v23.2d, p3, z13.d +// CHECK-ENCODING: [0xb7,0x2d,0xde,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 04de2db7 + +andqv v31.2d, p7, z31.d // 00000100-11011110-00111111-11111111 +// CHECK-INST: andqv v31.2d, p7, z31.d +// CHECK-ENCODING: [0xff,0x3f,0xde,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 04de3fff + +andqv v0.16b, p0, z0.b // 00000100-00011110-00100000-00000000 +// CHECK-INST: andqv v0.16b, p0, z0.b +// CHECK-ENCODING: [0x00,0x20,0x1e,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 041e2000 + +andqv v21.16b, p5, z10.b // 00000100-00011110-00110101-01010101 +// CHECK-INST: andqv v21.16b, p5, z10.b +// CHECK-ENCODING: [0x55,0x35,0x1e,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 041e3555 + +andqv v23.16b, p3, z13.b // 00000100-00011110-00101101-10110111 +// CHECK-INST: andqv v23.16b, p3, z13.b +// CHECK-ENCODING: [0xb7,0x2d,0x1e,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 041e2db7 + +andqv v31.16b, p7, z31.b // 00000100-00011110-00111111-11111111 +// CHECK-INST: andqv v31.16b, p7, z31.b +// CHECK-ENCODING: [0xff,0x3f,0x1e,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 041e3fff Index: llvm/test/MC/AArch64/SVE2p1/eorqv-diagnostics.s =================================================================== --- /dev/null +++ llvm/test/MC/AArch64/SVE2p1/eorqv-diagnostics.s @@ -0,0 +1,30 @@ +// RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sve2p1 2>&1 < %s | FileCheck %s + +// --------------------------------------------------------------------------// +// Invalid predicate register + +eorqv v0.2d, p11, z0.d +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid restricted predicate register, expected p0..p7 (without element suffix) +// CHECK-NEXT: eorqv v0.2d, p11, z0.d +// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: + +// --------------------------------------------------------------------------// +// Invalid vector register + +eorqv v0.4h, p1, z0.h +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction +// CHECK-NEXT: eorqv v0.4h, p1, z0.h +// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: + +eorqv z1.s, p1, z0.s +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction +// CHECK-NEXT: eorqv z1.s, p1, z0.s +// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: + +// --------------------------------------------------------------------------// +// Invalid vector suffix + +eorqv v0.8h, p1, z0.s +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid element width +// CHECK-NEXT: eorqv v0.8h, p1, z0.s +// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: Index: llvm/test/MC/AArch64/SVE2p1/eorqv.s =================================================================== --- /dev/null +++ llvm/test/MC/AArch64/SVE2p1/eorqv.s @@ -0,0 +1,115 @@ +// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme2p1 < %s \ +// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST +// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve2p1 < %s \ +// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST +// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \ +// RUN: | FileCheck %s --check-prefix=CHECK-ERROR +// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme2p1 < %s \ +// RUN: | llvm-objdump -d --mattr=+sme2p1 - | FileCheck %s --check-prefix=CHECK-INST +// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme2p1 < %s \ +// RUN: | llvm-objdump -d - | FileCheck %s --check-prefix=CHECK-UNKNOWN +// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme2p1 < %s \ +// RUN: | sed '/.text/d' | sed 's/.*encoding: //g' \ +// RUN: | llvm-mc -triple=aarch64 -mattr=+sme2p1 -disassemble -show-encoding \ +// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST + + +eorqv v0.8h, p0, z0.h // 00000100-01011101-00100000-00000000 +// CHECK-INST: eorqv v0.8h, p0, z0.h +// CHECK-ENCODING: [0x00,0x20,0x5d,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 045d2000 + +eorqv v21.8h, p5, z10.h // 00000100-01011101-00110101-01010101 +// CHECK-INST: eorqv v21.8h, p5, z10.h +// CHECK-ENCODING: [0x55,0x35,0x5d,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 045d3555 + +eorqv v23.8h, p3, z13.h // 00000100-01011101-00101101-10110111 +// CHECK-INST: eorqv v23.8h, p3, z13.h +// CHECK-ENCODING: [0xb7,0x2d,0x5d,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 045d2db7 + +eorqv v31.8h, p7, z31.h // 00000100-01011101-00111111-11111111 +// CHECK-INST: eorqv v31.8h, p7, z31.h +// CHECK-ENCODING: [0xff,0x3f,0x5d,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 045d3fff + + +eorqv v0.4s, p0, z0.s // 00000100-10011101-00100000-00000000 +// CHECK-INST: eorqv v0.4s, p0, z0.s +// CHECK-ENCODING: [0x00,0x20,0x9d,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 049d2000 + +eorqv v21.4s, p5, z10.s // 00000100-10011101-00110101-01010101 +// CHECK-INST: eorqv v21.4s, p5, z10.s +// CHECK-ENCODING: [0x55,0x35,0x9d,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 049d3555 + +eorqv v23.4s, p3, z13.s // 00000100-10011101-00101101-10110111 +// CHECK-INST: eorqv v23.4s, p3, z13.s +// CHECK-ENCODING: [0xb7,0x2d,0x9d,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 049d2db7 + +eorqv v31.4s, p7, z31.s // 00000100-10011101-00111111-11111111 +// CHECK-INST: eorqv v31.4s, p7, z31.s +// CHECK-ENCODING: [0xff,0x3f,0x9d,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 049d3fff + + +eorqv v0.2d, p0, z0.d // 00000100-11011101-00100000-00000000 +// CHECK-INST: eorqv v0.2d, p0, z0.d +// CHECK-ENCODING: [0x00,0x20,0xdd,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 04dd2000 + +eorqv v21.2d, p5, z10.d // 00000100-11011101-00110101-01010101 +// CHECK-INST: eorqv v21.2d, p5, z10.d +// CHECK-ENCODING: [0x55,0x35,0xdd,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 04dd3555 + +eorqv v23.2d, p3, z13.d // 00000100-11011101-00101101-10110111 +// CHECK-INST: eorqv v23.2d, p3, z13.d +// CHECK-ENCODING: [0xb7,0x2d,0xdd,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 04dd2db7 + +eorqv v31.2d, p7, z31.d // 00000100-11011101-00111111-11111111 +// CHECK-INST: eorqv v31.2d, p7, z31.d +// CHECK-ENCODING: [0xff,0x3f,0xdd,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 04dd3fff + + +eorqv v0.16b, p0, z0.b // 00000100-00011101-00100000-00000000 +// CHECK-INST: eorqv v0.16b, p0, z0.b +// CHECK-ENCODING: [0x00,0x20,0x1d,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 041d2000 + +eorqv v21.16b, p5, z10.b // 00000100-00011101-00110101-01010101 +// CHECK-INST: eorqv v21.16b, p5, z10.b +// CHECK-ENCODING: [0x55,0x35,0x1d,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 041d3555 + +eorqv v23.16b, p3, z13.b // 00000100-00011101-00101101-10110111 +// CHECK-INST: eorqv v23.16b, p3, z13.b +// CHECK-ENCODING: [0xb7,0x2d,0x1d,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 041d2db7 + +eorqv v31.16b, p7, z31.b // 00000100-00011101-00111111-11111111 +// CHECK-INST: eorqv v31.16b, p7, z31.b +// CHECK-ENCODING: [0xff,0x3f,0x1d,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 041d3fff + Index: llvm/test/MC/AArch64/SVE2p1/orqv-diagnostics.s =================================================================== --- /dev/null +++ llvm/test/MC/AArch64/SVE2p1/orqv-diagnostics.s @@ -0,0 +1,30 @@ +// RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sve2p1 2>&1 < %s | FileCheck %s + +// --------------------------------------------------------------------------// +// Invalid predicate register + +orqv v0.2d, p11, z0.d +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid restricted predicate register, expected p0..p7 (without element suffix) +// CHECK-NEXT: orqv v0.2d, p11, z0.d +// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: + +// --------------------------------------------------------------------------// +// Invalid vector register + +orqv v0.4h, p1, z0.h +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction +// CHECK-NEXT: orqv v0.4h, p1, z0.h +// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: + +orqv z1.s, p1, z0.s +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction +// CHECK-NEXT: orqv z1.s, p1, z0.s +// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: + +// --------------------------------------------------------------------------// +// Invalid vector suffix + +orqv v0.8h, p1, z0.s +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid element width +// CHECK-NEXT: orqv v0.8h, p1, z0.s +// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: Index: llvm/test/MC/AArch64/SVE2p1/orqv.s =================================================================== --- /dev/null +++ llvm/test/MC/AArch64/SVE2p1/orqv.s @@ -0,0 +1,115 @@ +// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme2p1 < %s \ +// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST +// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve2p1 < %s \ +// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST +// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \ +// RUN: | FileCheck %s --check-prefix=CHECK-ERROR +// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme2p1 < %s \ +// RUN: | llvm-objdump -d --mattr=+sme2p1 - | FileCheck %s --check-prefix=CHECK-INST +// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme2p1 < %s \ +// RUN: | llvm-objdump -d - | FileCheck %s --check-prefix=CHECK-UNKNOWN +// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme2p1 < %s \ +// RUN: | sed '/.text/d' | sed 's/.*encoding: //g' \ +// RUN: | llvm-mc -triple=aarch64 -mattr=+sme2p1 -disassemble -show-encoding \ +// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST + + +orqv v0.8h, p0, z0.h // 00000100-01011100-00100000-00000000 +// CHECK-INST: orqv v0.8h, p0, z0.h +// CHECK-ENCODING: [0x00,0x20,0x5c,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 045c2000 + +orqv v21.8h, p5, z10.h // 00000100-01011100-00110101-01010101 +// CHECK-INST: orqv v21.8h, p5, z10.h +// CHECK-ENCODING: [0x55,0x35,0x5c,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 045c3555 + +orqv v23.8h, p3, z13.h // 00000100-01011100-00101101-10110111 +// CHECK-INST: orqv v23.8h, p3, z13.h +// CHECK-ENCODING: [0xb7,0x2d,0x5c,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 045c2db7 + +orqv v31.8h, p7, z31.h // 00000100-01011100-00111111-11111111 +// CHECK-INST: orqv v31.8h, p7, z31.h +// CHECK-ENCODING: [0xff,0x3f,0x5c,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 045c3fff + + +orqv v0.4s, p0, z0.s // 00000100-10011100-00100000-00000000 +// CHECK-INST: orqv v0.4s, p0, z0.s +// CHECK-ENCODING: [0x00,0x20,0x9c,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 049c2000 + +orqv v21.4s, p5, z10.s // 00000100-10011100-00110101-01010101 +// CHECK-INST: orqv v21.4s, p5, z10.s +// CHECK-ENCODING: [0x55,0x35,0x9c,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 049c3555 + +orqv v23.4s, p3, z13.s // 00000100-10011100-00101101-10110111 +// CHECK-INST: orqv v23.4s, p3, z13.s +// CHECK-ENCODING: [0xb7,0x2d,0x9c,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 049c2db7 + +orqv v31.4s, p7, z31.s // 00000100-10011100-00111111-11111111 +// CHECK-INST: orqv v31.4s, p7, z31.s +// CHECK-ENCODING: [0xff,0x3f,0x9c,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 049c3fff + + +orqv v0.2d, p0, z0.d // 00000100-11011100-00100000-00000000 +// CHECK-INST: orqv v0.2d, p0, z0.d +// CHECK-ENCODING: [0x00,0x20,0xdc,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 04dc2000 + +orqv v21.2d, p5, z10.d // 00000100-11011100-00110101-01010101 +// CHECK-INST: orqv v21.2d, p5, z10.d +// CHECK-ENCODING: [0x55,0x35,0xdc,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 04dc3555 + +orqv v23.2d, p3, z13.d // 00000100-11011100-00101101-10110111 +// CHECK-INST: orqv v23.2d, p3, z13.d +// CHECK-ENCODING: [0xb7,0x2d,0xdc,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 04dc2db7 + +orqv v31.2d, p7, z31.d // 00000100-11011100-00111111-11111111 +// CHECK-INST: orqv v31.2d, p7, z31.d +// CHECK-ENCODING: [0xff,0x3f,0xdc,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 04dc3fff + + +orqv v0.16b, p0, z0.b // 00000100-00011100-00100000-00000000 +// CHECK-INST: orqv v0.16b, p0, z0.b +// CHECK-ENCODING: [0x00,0x20,0x1c,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 041c2000 + +orqv v21.16b, p5, z10.b // 00000100-00011100-00110101-01010101 +// CHECK-INST: orqv v21.16b, p5, z10.b +// CHECK-ENCODING: [0x55,0x35,0x1c,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 041c3555 + +orqv v23.16b, p3, z13.b // 00000100-00011100-00101101-10110111 +// CHECK-INST: orqv v23.16b, p3, z13.b +// CHECK-ENCODING: [0xb7,0x2d,0x1c,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 041c2db7 + +orqv v31.16b, p7, z31.b // 00000100-00011100-00111111-11111111 +// CHECK-INST: orqv v31.16b, p7, z31.b +// CHECK-ENCODING: [0xff,0x3f,0x1c,0x04] +// CHECK-ERROR: instruction requires: sme2p1 or sve2p1 +// CHECK-UNKNOWN: 041c3fff +