[AArch64][SME] Introduce feature for streaming mode

The Scalable Matrix Extension (SME) introduces a new execution mode
called Streaming SVE mode. In streaming mode a substantial subset of the
SVE and SVE2 instruction set is available, along with new outer product,
load, store, extract and insert instructions that operate on the new
architectural register state for the matrix.

To support streaming mode this patch introduces a new subtarget feature
+streaming-sve. If enabled, the subset of SVE(2) instructions are
available. The existing behaviour for SVE(2) remains unchanged, the
subset of instructions that are legal in streaming mode are enabled if
either +sve[2] or +streaming-sve is specified. Instructions that are
illegal in streaming mode remain predicated on +sve[2].

The SME target feature has been updated to imply +streaming-sve rather
than +sve.

The following changes are made to the SVE(2) tests:
  * For instructions that are legal in streaming mode:
    - added RUN line to verify +streaming-sve enables the instruction.
    - updated diagnostic to 'instruction requires: streaming-sve or sve'.
  * For instructions that are illegal in streaming-mode:
    - added RUN line to verify +streaming-sve does not enable the
      instruction.

SVE(2) instructions that are legal in streaming mode have:

  if !HaveSVE[2]() && !HaveSME() then UNDEFINED;

at the top of the pseudocode in the XML.

The reference can be found here:
https://developer.arm.com/documentation/ddi0602/2021-06/SVE-Instructions

Reviewed By: sdesmalen, david-arm

Differential Revision: https://reviews.llvm.org/D106272
This commit is contained in:
Cullen Rhodes 2021-07-30 07:30:45 +00:00
parent 8a241cd9c2
commit 3a349d2269
566 changed files with 8145 additions and 6780 deletions

View File

@ -429,10 +429,13 @@ def FeatureEnhancedCounterVirtualization :
def FeatureRME : SubtargetFeature<"rme", "HasRME",
"true", "Enable Realm Management Extension">;
// FIXME: SME should only imply the subset of SVE(2) instructions that are
// legal in streaming mode.
// A subset of SVE(2) instructions are legal in Streaming SVE execution mode
// defined by SME.
def FeatureStreamingSVE : SubtargetFeature<"streaming-sve",
"HasStreamingSVE", "true",
"Enable subset of SVE(2) instructions for Streaming SVE execution mode">;
def FeatureSME : SubtargetFeature<"sme", "HasSME", "true",
"Enable Scalable Matrix Extension (SME)", [FeatureSVE2, FeatureBF16]>;
"Enable Scalable Matrix Extension (SME)", [FeatureStreamingSVE, FeatureBF16]>;
def FeatureSMEF64 : SubtargetFeature<"sme-f64", "HasSMEF64", "true",
"Enable Scalable Matrix Extension (SME) F64F64 instructions", [FeatureSME]>;
@ -553,7 +556,7 @@ class AArch64Unsupported { list<Predicate> F; }
def SVEUnsupported : AArch64Unsupported {
let F = [HasSVE, HasSVE2, HasSVE2AES, HasSVE2SM4, HasSVE2SHA3,
HasSVE2BitPerm];
HasSVE2BitPerm, HasSVEorStreamingSVE, HasSVE2orStreamingSVE];
}
def PAUnsupported : AArch64Unsupported {

View File

@ -128,6 +128,18 @@ def HasSMEF64 : Predicate<"Subtarget->hasSMEF64()">,
AssemblerPredicate<(all_of FeatureSMEF64), "sme-f64">;
def HasSMEI64 : Predicate<"Subtarget->hasSMEI64()">,
AssemblerPredicate<(all_of FeatureSMEI64), "sme-i64">;
def HasStreamingSVE : Predicate<"Subtarget->hasStreamingSVE()">,
AssemblerPredicate<(all_of FeatureStreamingSVE), "streaming-sve">;
// A subset of SVE(2) instructions are legal in Streaming SVE execution mode,
// they should be enabled if either has been specified.
def HasSVEorStreamingSVE
: Predicate<"Subtarget->hasSVE() || Subtarget->hasStreamingSVE()">,
AssemblerPredicate<(any_of FeatureSVE, FeatureStreamingSVE),
"streaming-sve or sve">;
def HasSVE2orStreamingSVE
: Predicate<"Subtarget->hasSVE2() || Subtarget->hasStreamingSVE()">,
AssemblerPredicate<(any_of FeatureSVE2, FeatureStreamingSVE),
"streaming-sve or sve2">;
def HasRCPC : Predicate<"Subtarget->hasRCPC()">,
AssemblerPredicate<(all_of FeatureRCPC), "rcpc">;
def HasAltNZCV : Predicate<"Subtarget->hasAlternativeNZCV()">,

View File

@ -286,7 +286,9 @@ let Predicates = [HasSVE] in {
defm RDFFR_P : sve_int_rdffr_unpred<"rdffr", int_aarch64_sve_rdffr>;
def SETFFR : sve_int_setffr<"setffr", int_aarch64_sve_setffr>;
def WRFFR : sve_int_wrffr<"wrffr", int_aarch64_sve_wrffr>;
} // End HasSVE
let Predicates = [HasSVEorStreamingSVE] in {
defm ADD_ZZZ : sve_int_bin_cons_arit_0<0b000, "add", add>;
defm SUB_ZZZ : sve_int_bin_cons_arit_0<0b001, "sub", sub>;
defm SQADD_ZZZ : sve_int_bin_cons_arit_0<0b100, "sqadd", saddsat>;
@ -305,13 +307,15 @@ let Predicates = [HasSVE] in {
defm ADD_ZPZZ : sve_int_bin_pred_bhsd<AArch64add_p>;
defm SUB_ZPZZ : sve_int_bin_pred_bhsd<AArch64sub_p>;
} // End HasSVEorStreamingSVE
let Predicates = [HasSVE, UseExperimentalZeroingPseudos] in {
defm ADD_ZPZZ : sve_int_bin_pred_zeroing_bhsd<int_aarch64_sve_add>;
defm SUB_ZPZZ : sve_int_bin_pred_zeroing_bhsd<int_aarch64_sve_sub>;
defm SUBR_ZPZZ : sve_int_bin_pred_zeroing_bhsd<int_aarch64_sve_subr>;
}
let Predicates = [HasSVEorStreamingSVE, UseExperimentalZeroingPseudos] in {
defm ADD_ZPZZ : sve_int_bin_pred_zeroing_bhsd<int_aarch64_sve_add>;
defm SUB_ZPZZ : sve_int_bin_pred_zeroing_bhsd<int_aarch64_sve_sub>;
defm SUBR_ZPZZ : sve_int_bin_pred_zeroing_bhsd<int_aarch64_sve_subr>;
} // End HasSVEorStreamingSVE, UseExperimentalZeroingPseudos
let Predicates = [HasSVEorStreamingSVE] in {
defm ORR_ZPmZ : sve_int_bin_pred_log<0b000, "orr", int_aarch64_sve_orr>;
defm EOR_ZPmZ : sve_int_bin_pred_log<0b001, "eor", int_aarch64_sve_eor>;
defm AND_ZPmZ : sve_int_bin_pred_log<0b010, "and", int_aarch64_sve_and>;
@ -437,31 +441,43 @@ let Predicates = [HasSVE] in {
defm FMAX_ZPZZ : sve_fp_bin_pred_hfd<AArch64fmax_p>;
defm FMIN_ZPZZ : sve_fp_bin_pred_hfd<AArch64fmin_p>;
defm FDIV_ZPZZ : sve_fp_bin_pred_hfd<AArch64fdiv_p>;
} // End HasSVEorStreamingSVE
let Predicates = [HasSVE, UseExperimentalZeroingPseudos] in {
defm FADD_ZPZZ : sve_fp_2op_p_zds_zeroing_hsd<int_aarch64_sve_fadd>;
defm FSUB_ZPZZ : sve_fp_2op_p_zds_zeroing_hsd<int_aarch64_sve_fsub>;
defm FMUL_ZPZZ : sve_fp_2op_p_zds_zeroing_hsd<int_aarch64_sve_fmul>;
defm FSUBR_ZPZZ : sve_fp_2op_p_zds_zeroing_hsd<int_aarch64_sve_fsubr>;
defm FMAXNM_ZPZZ : sve_fp_2op_p_zds_zeroing_hsd<int_aarch64_sve_fmaxnm>;
defm FMINNM_ZPZZ : sve_fp_2op_p_zds_zeroing_hsd<int_aarch64_sve_fminnm>;
defm FMAX_ZPZZ : sve_fp_2op_p_zds_zeroing_hsd<int_aarch64_sve_fmax>;
defm FMIN_ZPZZ : sve_fp_2op_p_zds_zeroing_hsd<int_aarch64_sve_fmin>;
defm FABD_ZPZZ : sve_fp_2op_p_zds_zeroing_hsd<int_aarch64_sve_fabd>;
defm FMULX_ZPZZ : sve_fp_2op_p_zds_zeroing_hsd<int_aarch64_sve_fmulx>;
defm FDIVR_ZPZZ : sve_fp_2op_p_zds_zeroing_hsd<int_aarch64_sve_fdivr>;
defm FDIV_ZPZZ : sve_fp_2op_p_zds_zeroing_hsd<int_aarch64_sve_fdiv>;
}
let Predicates = [HasSVEorStreamingSVE, UseExperimentalZeroingPseudos] in {
defm FADD_ZPZZ : sve_fp_2op_p_zds_zeroing_hsd<int_aarch64_sve_fadd>;
defm FSUB_ZPZZ : sve_fp_2op_p_zds_zeroing_hsd<int_aarch64_sve_fsub>;
defm FMUL_ZPZZ : sve_fp_2op_p_zds_zeroing_hsd<int_aarch64_sve_fmul>;
defm FSUBR_ZPZZ : sve_fp_2op_p_zds_zeroing_hsd<int_aarch64_sve_fsubr>;
defm FMAXNM_ZPZZ : sve_fp_2op_p_zds_zeroing_hsd<int_aarch64_sve_fmaxnm>;
defm FMINNM_ZPZZ : sve_fp_2op_p_zds_zeroing_hsd<int_aarch64_sve_fminnm>;
defm FMAX_ZPZZ : sve_fp_2op_p_zds_zeroing_hsd<int_aarch64_sve_fmax>;
defm FMIN_ZPZZ : sve_fp_2op_p_zds_zeroing_hsd<int_aarch64_sve_fmin>;
defm FABD_ZPZZ : sve_fp_2op_p_zds_zeroing_hsd<int_aarch64_sve_fabd>;
defm FMULX_ZPZZ : sve_fp_2op_p_zds_zeroing_hsd<int_aarch64_sve_fmulx>;
defm FDIVR_ZPZZ : sve_fp_2op_p_zds_zeroing_hsd<int_aarch64_sve_fdivr>;
defm FDIV_ZPZZ : sve_fp_2op_p_zds_zeroing_hsd<int_aarch64_sve_fdiv>;
} // End HasSVEorStreamingSVE, UseExperimentalZeroingPseudos
let Predicates = [HasSVEorStreamingSVE] in {
defm FADD_ZZZ : sve_fp_3op_u_zd<0b000, "fadd", fadd, AArch64fadd_p>;
defm FSUB_ZZZ : sve_fp_3op_u_zd<0b001, "fsub", fsub, AArch64fsub_p>;
defm FMUL_ZZZ : sve_fp_3op_u_zd<0b010, "fmul", fmul, AArch64fmul_p>;
} // End HasSVEorStreamingSVE
let Predicates = [HasSVE] in {
defm FTSMUL_ZZZ : sve_fp_3op_u_zd_ftsmul<0b011, "ftsmul", int_aarch64_sve_ftsmul_x>;
} // End HasSVE
let Predicates = [HasSVEorStreamingSVE] in {
defm FRECPS_ZZZ : sve_fp_3op_u_zd<0b110, "frecps", int_aarch64_sve_frecps_x>;
defm FRSQRTS_ZZZ : sve_fp_3op_u_zd<0b111, "frsqrts", int_aarch64_sve_frsqrts_x>;
} // End HasSVEorStreamingSVE
let Predicates = [HasSVE] in {
defm FTSSEL_ZZZ : sve_int_bin_cons_misc_0_b<"ftssel", int_aarch64_sve_ftssel_x>;
} // End HasSVE
let Predicates = [HasSVEorStreamingSVE] in {
defm FCADD_ZPmZ : sve_fp_fcadd<"fcadd", int_aarch64_sve_fcadd>;
defm FCMLA_ZPmZZ : sve_fp_fcmla<"fcmla", int_aarch64_sve_fcmla>;
@ -516,17 +532,26 @@ let Predicates = [HasSVE] in {
defm : fma<nxv4f32, nxv4i1, "S">;
defm : fma<nxv2f32, nxv2i1, "S">;
defm : fma<nxv2f64, nxv2i1, "D">;
} // End HasSVEorStreamingSVE
let Predicates = [HasSVE] in {
defm FTMAD_ZZI : sve_fp_ftmad<"ftmad", int_aarch64_sve_ftmad_x>;
} // End HasSVE
let Predicates = [HasSVEorStreamingSVE] in {
defm FMLA_ZZZI : sve_fp_fma_by_indexed_elem<0b0, "fmla", int_aarch64_sve_fmla_lane>;
defm FMLS_ZZZI : sve_fp_fma_by_indexed_elem<0b1, "fmls", int_aarch64_sve_fmls_lane>;
defm FCMLA_ZZZI : sve_fp_fcmla_by_indexed_elem<"fcmla", int_aarch64_sve_fcmla_lane>;
defm FMUL_ZZZI : sve_fp_fmul_by_indexed_elem<"fmul", int_aarch64_sve_fmul_lane>;
} // End HasSVEorStreamingSVE
let Predicates = [HasSVE] in {
// SVE floating point reductions.
defm FADDA_VPZ : sve_fp_2op_p_vd<0b000, "fadda", AArch64fadda_p>;
} // End HasSVE
let Predicates = [HasSVEorStreamingSVE] in {
defm FADDV_VPZ : sve_fp_fast_red<0b000, "faddv", AArch64faddv_p>;
defm FMAXNMV_VPZ : sve_fp_fast_red<0b100, "fmaxnmv", AArch64fmaxnmv_p>;
defm FMINNMV_VPZ : sve_fp_fast_red<0b101, "fminnmv", AArch64fminnmv_p>;
@ -614,8 +639,13 @@ let Predicates = [HasSVE] in {
defm SEL_ZPZZ : sve_int_sel_vvv<"sel", vselect>;
defm SPLICE_ZPZ : sve_int_perm_splice<"splice", AArch64splice>;
} // End HasSVEorStreamingSVE
let Predicates = [HasSVE] in {
defm COMPACT_ZPZ : sve_int_perm_compact<"compact", int_aarch64_sve_compact>;
} // End HasSVE
let Predicates = [HasSVEorStreamingSVE] in {
defm INSR_ZR : sve_int_perm_insrs<"insr", AArch64insr>;
defm INSR_ZV : sve_int_perm_insrv<"insr", AArch64insr>;
defm EXT_ZZI : sve_int_perm_extract_i<"ext", AArch64ext>;
@ -639,8 +669,13 @@ let Predicates = [HasSVE] in {
defm MOVPRFX_ZPzZ : sve_int_movprfx_pred_zero<0b000, "movprfx">;
defm MOVPRFX_ZPmZ : sve_int_movprfx_pred_merge<0b001, "movprfx">;
def MOVPRFX_ZZ : sve_int_bin_cons_misc_0_c<0b00000001, "movprfx", ZPRAny>;
defm FEXPA_ZZ : sve_int_bin_cons_misc_0_c_fexpa<"fexpa", int_aarch64_sve_fexpa_x>;
} // End HasSVEorStreamingSVE
let Predicates = [HasSVE] in {
defm FEXPA_ZZ : sve_int_bin_cons_misc_0_c_fexpa<"fexpa", int_aarch64_sve_fexpa_x>;
} // End HasSVE
let Predicates = [HasSVEorStreamingSVE] in {
defm BRKPA_PPzPP : sve_int_brkp<0b00, "brkpa", int_aarch64_sve_brkpa_z>;
defm BRKPAS_PPzPP : sve_int_brkp<0b10, "brkpas", null_frag>;
defm BRKPB_PPzPP : sve_int_brkp<0b01, "brkpb", int_aarch64_sve_brkpb_z>;
@ -752,7 +787,9 @@ let Predicates = [HasSVE] in {
defm LD1SB_S : sve_mem_cld_ss<0b1101, "ld1sb", Z_s, ZPR32, GPR64NoXZRshifted8>;
defm LD1SB_H : sve_mem_cld_ss<0b1110, "ld1sb", Z_h, ZPR16, GPR64NoXZRshifted8>;
defm LD1D : sve_mem_cld_ss<0b1111, "ld1d", Z_d, ZPR64, GPR64NoXZRshifted64>;
} // End HasSVEorStreamingSVE
let Predicates = [HasSVE] in {
// non-faulting continuous load with reg+immediate
defm LDNF1B_IMM : sve_mem_cldnf_si<0b0000, "ldnf1b", Z_b, ZPR8>;
defm LDNF1B_H_IMM : sve_mem_cldnf_si<0b0001, "ldnf1b", Z_h, ZPR16>;
@ -788,7 +825,9 @@ let Predicates = [HasSVE] in {
defm LDFF1SB_S : sve_mem_cldff_ss<0b1101, "ldff1sb", Z_s, ZPR32, GPR64shifted8>;
defm LDFF1SB_H : sve_mem_cldff_ss<0b1110, "ldff1sb", Z_h, ZPR16, GPR64shifted8>;
defm LDFF1D : sve_mem_cldff_ss<0b1111, "ldff1d", Z_d, ZPR64, GPR64shifted64>;
} // End HasSVE
let Predicates = [HasSVEorStreamingSVE] in {
// LD(2|3|4) structured loads with reg+immediate
defm LD2B_IMM : sve_mem_eld_si<0b00, 0b01, ZZ_b, "ld2b", simm4s2>;
defm LD3B_IMM : sve_mem_eld_si<0b00, 0b10, ZZZ_b, "ld3b", simm4s3>;
@ -816,7 +855,9 @@ let Predicates = [HasSVE] in {
def LD2D : sve_mem_eld_ss<0b11, 0b01, ZZ_d, "ld2d", GPR64NoXZRshifted64>;
def LD3D : sve_mem_eld_ss<0b11, 0b10, ZZZ_d, "ld3d", GPR64NoXZRshifted64>;
def LD4D : sve_mem_eld_ss<0b11, 0b11, ZZZZ_d, "ld4d", GPR64NoXZRshifted64>;
} // End HasSVEorStreamingSVE
let Predicates = [HasSVE] in {
// Gathers using unscaled 32-bit offsets, e.g.
// ld1h z0.s, p0/z, [x0, z0.s, uxtw]
defm GLD1SB_S : sve_mem_32b_gld_vs_32_unscaled<0b0000, "ld1sb", AArch64ld1s_gather_sxtw_z, AArch64ld1s_gather_uxtw_z, ZPR32ExtSXTW8Only, ZPR32ExtUXTW8Only, nxv4i8>;
@ -928,7 +969,9 @@ let Predicates = [HasSVE] in {
defm GLDFF1W_D : sve_mem_64b_gld_sv_32_scaled<0b1011, "ldff1w", AArch64ldff1_gather_sxtw_scaled_z, AArch64ldff1_gather_uxtw_scaled_z, ZPR64ExtSXTW32, ZPR64ExtUXTW32, nxv2i32>;
defm GLD1D : sve_mem_64b_gld_sv_32_scaled<0b1110, "ld1d", AArch64ld1_gather_sxtw_scaled_z, AArch64ld1_gather_uxtw_scaled_z, ZPR64ExtSXTW64, ZPR64ExtUXTW64, nxv2i64>;
defm GLDFF1D : sve_mem_64b_gld_sv_32_scaled<0b1111, "ldff1d", AArch64ldff1_gather_sxtw_scaled_z, AArch64ldff1_gather_uxtw_scaled_z, ZPR64ExtSXTW64, ZPR64ExtUXTW64, nxv2i64>;
} // End HasSVE
let Predicates = [HasSVEorStreamingSVE] in {
// Non-temporal contiguous loads (register + immediate)
defm LDNT1B_ZRI : sve_mem_cldnt_si<0b00, "ldnt1b", Z_b, ZPR8>;
defm LDNT1H_ZRI : sve_mem_cldnt_si<0b01, "ldnt1h", Z_h, ZPR16>;
@ -964,7 +1007,9 @@ let Predicates = [HasSVE] in {
defm ST1W : sve_mem_cst_ss<0b1010, "st1w", Z_s, ZPR32, GPR64NoXZRshifted32>;
defm ST1W_D : sve_mem_cst_ss<0b1011, "st1w", Z_d, ZPR64, GPR64NoXZRshifted32>;
defm ST1D : sve_mem_cst_ss<0b1111, "st1d", Z_d, ZPR64, GPR64NoXZRshifted64>;
} // End HasSVEorStreamingSVE
let Predicates = [HasSVE] in {
// Scatters using unpacked, unscaled 32-bit offsets, e.g.
// st1h z0.d, p0, [x0, z0.d, uxtw]
defm SST1B_D : sve_mem_64b_sst_sv_32_unscaled<0b000, "st1b", AArch64st1_scatter_sxtw, AArch64st1_scatter_uxtw, ZPR64ExtSXTW8Only, ZPR64ExtUXTW8Only, nxv2i8>;
@ -1014,7 +1059,9 @@ let Predicates = [HasSVE] in {
defm SST1H_D_SCALED : sve_mem_sst_sv_64_scaled<0b01, "st1h", AArch64st1_scatter_scaled, ZPR64ExtLSL16, nxv2i16>;
defm SST1W_D_SCALED : sve_mem_sst_sv_64_scaled<0b10, "st1w", AArch64st1_scatter_scaled, ZPR64ExtLSL32, nxv2i32>;
defm SST1D_SCALED : sve_mem_sst_sv_64_scaled<0b11, "st1d", AArch64st1_scatter_scaled, ZPR64ExtLSL64, nxv2i64>;
} // End HasSVE
let Predicates = [HasSVEorStreamingSVE] in {
// ST(2|3|4) structured stores (register + immediate)
defm ST2B_IMM : sve_mem_est_si<0b00, 0b01, ZZ_b, "st2b", simm4s2>;
defm ST3B_IMM : sve_mem_est_si<0b00, 0b10, ZZZ_b, "st3b", simm4s3>;
@ -1095,7 +1142,9 @@ let Predicates = [HasSVE] in {
defm : sve_prefetch<int_aarch64_sve_prf, nxv8i1, PRFH_PRI, PRFH_PRR, 1, am_sve_regreg_lsl1>;
defm : sve_prefetch<int_aarch64_sve_prf, nxv4i1, PRFW_PRI, PRFS_PRR, 2, am_sve_regreg_lsl2>;
defm : sve_prefetch<int_aarch64_sve_prf, nxv2i1, PRFD_PRI, PRFD_PRR, 3, am_sve_regreg_lsl3>;
} // End HasSVEorStreamingSVE
let Predicates = [HasSVE] in {
// Gather prefetch using scaled 32-bit offsets, e.g.
// prfh pldl1keep, p0, [x0, z0.s, uxtw #1]
defm PRFB_S : sve_mem_32b_prfm_sv_scaled<0b00, "prfb", ZPR32ExtSXTW8Only, ZPR32ExtUXTW8Only, int_aarch64_sve_prfb_gather_sxtw_index, int_aarch64_sve_prfb_gather_uxtw_index>;
@ -1152,7 +1201,9 @@ let Predicates = [HasSVE] in {
(ADR_LSL_ZZZ_D_2 $Op1, $Op2)>;
def : Pat<(nxv2i64 (int_aarch64_sve_adrd nxv2i64:$Op1, nxv2i64:$Op2)),
(ADR_LSL_ZZZ_D_3 $Op1, $Op2)>;
} // End HasSVE
let Predicates = [HasSVEorStreamingSVE] in {
defm TBL_ZZZ : sve_int_perm_tbl<"tbl", AArch64tbl>;
defm ZIP1_ZZZ : sve_int_perm_bin_perm_zz<0b000, "zip1", AArch64zip1>;
@ -1414,14 +1465,16 @@ let Predicates = [HasSVE] in {
defm ASR_ZPZI : sve_int_shift_pred_bhsd<AArch64asr_p, SVEShiftImmR8, SVEShiftImmR16, SVEShiftImmR32, SVEShiftImmR64>;
defm LSR_ZPZI : sve_int_shift_pred_bhsd<AArch64lsr_p, SVEShiftImmR8, SVEShiftImmR16, SVEShiftImmR32, SVEShiftImmR64>;
defm LSL_ZPZI : sve_int_shift_pred_bhsd<AArch64lsl_p, SVEShiftImmL8, SVEShiftImmL16, SVEShiftImmL32, SVEShiftImmL64>;
} // End HasSVEorStreamingSVE
let Predicates = [HasSVE, UseExperimentalZeroingPseudos] in {
defm ASR_ZPZZ : sve_int_bin_pred_zeroing_bhsd<int_aarch64_sve_asr>;
defm LSR_ZPZZ : sve_int_bin_pred_zeroing_bhsd<int_aarch64_sve_lsr>;
defm LSL_ZPZZ : sve_int_bin_pred_zeroing_bhsd<int_aarch64_sve_lsl>;
defm ASRD_ZPZI : sve_int_bin_pred_shift_imm_right_zeroing_bhsd<int_aarch64_sve_asrd>;
}
let Predicates = [HasSVEorStreamingSVE, UseExperimentalZeroingPseudos] in {
defm ASR_ZPZZ : sve_int_bin_pred_zeroing_bhsd<int_aarch64_sve_asr>;
defm LSR_ZPZZ : sve_int_bin_pred_zeroing_bhsd<int_aarch64_sve_lsr>;
defm LSL_ZPZZ : sve_int_bin_pred_zeroing_bhsd<int_aarch64_sve_lsl>;
defm ASRD_ZPZI : sve_int_bin_pred_shift_imm_right_zeroing_bhsd<int_aarch64_sve_asrd>;
} // End HasSVEorStreamingSVE, UseExperimentalZeroingPseudos
let Predicates = [HasSVEorStreamingSVE] in {
defm ASR_ZPmZ : sve_int_bin_pred_shift<0b000, "asr", "ASR_ZPZZ", int_aarch64_sve_asr, "ASRR_ZPmZ">;
defm LSR_ZPmZ : sve_int_bin_pred_shift<0b001, "lsr", "LSR_ZPZZ", int_aarch64_sve_lsr, "LSRR_ZPmZ">;
defm LSL_ZPmZ : sve_int_bin_pred_shift<0b011, "lsl", "LSL_ZPZZ", int_aarch64_sve_lsl, "LSLR_ZPmZ">;
@ -1536,19 +1589,27 @@ let Predicates = [HasSVE] in {
defm FRINTI_ZPmZ : sve_fp_2op_p_zd_HSD<0b00111, "frinti", AArch64frinti_mt>;
defm FRECPX_ZPmZ : sve_fp_2op_p_zd_HSD<0b01100, "frecpx", AArch64frecpx_mt>;
defm FSQRT_ZPmZ : sve_fp_2op_p_zd_HSD<0b01101, "fsqrt", AArch64fsqrt_mt>;
} // End HasSVEorStreamingSVE
let Predicates = [HasBF16, HasSVE] in {
defm BFDOT_ZZZ : sve_bfloat_dot<"bfdot", int_aarch64_sve_bfdot>;
defm BFDOT_ZZI : sve_bfloat_dot_indexed<"bfdot", int_aarch64_sve_bfdot_lane>;
defm BFMMLA_ZZZ : sve_bfloat_matmul<"bfmmla", int_aarch64_sve_bfmmla>;
defm BFMMLA_B_ZZZ : sve_bfloat_matmul_longvecl<0b0, "bfmlalb", int_aarch64_sve_bfmlalb>;
defm BFMMLA_T_ZZZ : sve_bfloat_matmul_longvecl<0b1, "bfmlalt", int_aarch64_sve_bfmlalt>;
defm BFMMLA_B_ZZI : sve_bfloat_matmul_longvecl_idx<0b0, "bfmlalb", int_aarch64_sve_bfmlalb_lane>;
defm BFMMLA_T_ZZI : sve_bfloat_matmul_longvecl_idx<0b1, "bfmlalt", int_aarch64_sve_bfmlalt_lane>;
defm BFCVT_ZPmZ : sve_bfloat_convert<0b1, "bfcvt", int_aarch64_sve_fcvt_bf16f32>;
defm BFCVTNT_ZPmZ : sve_bfloat_convert<0b0, "bfcvtnt", int_aarch64_sve_fcvtnt_bf16f32>;
}
let Predicates = [HasBF16, HasSVEorStreamingSVE] in {
defm BFDOT_ZZZ : sve_bfloat_dot<"bfdot", int_aarch64_sve_bfdot>;
defm BFDOT_ZZI : sve_bfloat_dot_indexed<"bfdot", int_aarch64_sve_bfdot_lane>;
} // End HasBF16, HasSVEorStreamingSVE
let Predicates = [HasBF16, HasSVE] in {
defm BFMMLA_ZZZ : sve_bfloat_matmul<"bfmmla", int_aarch64_sve_bfmmla>;
} // End HasBF16, HasSVE
let Predicates = [HasBF16, HasSVEorStreamingSVE] in {
defm BFMMLA_B_ZZZ : sve_bfloat_matmul_longvecl<0b0, "bfmlalb", int_aarch64_sve_bfmlalb>;
defm BFMMLA_T_ZZZ : sve_bfloat_matmul_longvecl<0b1, "bfmlalt", int_aarch64_sve_bfmlalt>;
defm BFMMLA_B_ZZI : sve_bfloat_matmul_longvecl_idx<0b0, "bfmlalb", int_aarch64_sve_bfmlalb_lane>;
defm BFMMLA_T_ZZI : sve_bfloat_matmul_longvecl_idx<0b1, "bfmlalt", int_aarch64_sve_bfmlalt_lane>;
defm BFCVT_ZPmZ : sve_bfloat_convert<0b1, "bfcvt", int_aarch64_sve_fcvt_bf16f32>;
defm BFCVTNT_ZPmZ : sve_bfloat_convert<0b0, "bfcvtnt", int_aarch64_sve_fcvtnt_bf16f32>;
} // End HasBF16, HasSVEorStreamingSVE
let Predicates = [HasSVEorStreamingSVE] in {
// InstAliases
def : InstAlias<"mov $Zd, $Zn",
(ORR_ZZZ ZPR64:$Zd, ZPR64:$Zn, ZPR64:$Zn), 1>;
@ -2122,7 +2183,9 @@ let Predicates = [HasSVE] in {
// 16-element contiguous loads
defm : ld1<LD1B, LD1B_IMM, nxv16i8, AArch64ld1_z, nxv16i1, nxv16i8, am_sve_regreg_lsl0>;
} // End HasSVEorStreamingSVE
let Predicates = [HasSVE] in {
multiclass ldnf1<Instruction I, ValueType Ty, SDPatternOperator Load, ValueType PredTy, ValueType MemVT> {
// scalar + immediate (mul vl)
let AddedComplexity = 1 in {
@ -2203,7 +2266,9 @@ let Predicates = [HasSVE] in {
// 16-element contiguous first faulting loads
defm : ldff1<LDFF1B, nxv16i8, AArch64ldff1_z, nxv16i1, nxv16i8, am_sve_regreg_lsl0>;
} // End HasSVE
let Predicates = [HasSVEorStreamingSVE] in {
multiclass st1<Instruction RegRegInst, Instruction RegImmInst, ValueType Ty,
SDPatternOperator Store, ValueType PredTy, ValueType MemVT, ComplexPattern AddrCP> {
// reg + reg
@ -2433,20 +2498,23 @@ let Predicates = [HasSVE] in {
(EXT_ZZI ZPR:$Z1, ZPR:$Z2, sve_ext_imm_0_3:$index)>;
def : Pat<(nxv2i64 (vector_splice (nxv2i64 ZPR:$Z1), (nxv2i64 ZPR:$Z2), (i64 (sve_ext_imm_0_1 i32:$index)))),
(EXT_ZZI ZPR:$Z1, ZPR:$Z2, sve_ext_imm_0_1:$index)>;
}
} // End HasSVEorStreamingSVE
let Predicates = [HasSVE, HasMatMulInt8] in {
defm SMMLA_ZZZ : sve_int_matmul<0b00, "smmla", int_aarch64_sve_smmla>;
defm UMMLA_ZZZ : sve_int_matmul<0b11, "ummla", int_aarch64_sve_ummla>;
defm USMMLA_ZZZ : sve_int_matmul<0b10, "usmmla", int_aarch64_sve_usmmla>;
} // End HasSVE, HasMatMulInt8
let Predicates = [HasSVEorStreamingSVE, HasMatMulInt8] in {
defm USDOT_ZZZ : sve_int_dot_mixed<"usdot", int_aarch64_sve_usdot>;
defm USDOT_ZZZI : sve_int_dot_mixed_indexed<0, "usdot", int_aarch64_sve_usdot_lane>;
defm SUDOT_ZZZI : sve_int_dot_mixed_indexed<1, "sudot", int_aarch64_sve_sudot_lane>;
}
} // End HasSVEorStreamingSVE, HasMatMulInt8
let Predicates = [HasSVE, HasMatMulFP32] in {
defm FMMLA_ZZZ_S : sve_fp_matrix_mla<0, "fmmla", ZPR32, int_aarch64_sve_fmmla, nxv4f32>;
}
} // End HasSVE, HasMatMulFP32
let Predicates = [HasSVE, HasMatMulFP64] in {
defm FMMLA_ZZZ_D : sve_fp_matrix_mla<1, "fmmla", ZPR64, int_aarch64_sve_fmmla, nxv2f64>;
@ -2458,15 +2526,18 @@ let Predicates = [HasSVE, HasMatMulFP64] in {
defm LD1RO_H : sve_mem_ldor_ss<0b01, "ld1roh", Z_h, ZPR16, GPR64NoXZRshifted16, nxv8i16, nxv8i1, AArch64ld1ro_z, am_sve_regreg_lsl1>;
defm LD1RO_W : sve_mem_ldor_ss<0b10, "ld1row", Z_s, ZPR32, GPR64NoXZRshifted32, nxv4i32, nxv4i1, AArch64ld1ro_z, am_sve_regreg_lsl2>;
defm LD1RO_D : sve_mem_ldor_ss<0b11, "ld1rod", Z_d, ZPR64, GPR64NoXZRshifted64, nxv2i64, nxv2i1, AArch64ld1ro_z, am_sve_regreg_lsl3>;
} // End HasSVE, HasMatMulFP64
let Predicates = [HasSVEorStreamingSVE, HasMatMulFP64] in {
defm ZIP1_ZZZ_Q : sve_int_perm_bin_perm_128_zz<0b00, 0, "zip1", int_aarch64_sve_zip1q>;
defm ZIP2_ZZZ_Q : sve_int_perm_bin_perm_128_zz<0b00, 1, "zip2", int_aarch64_sve_zip2q>;
defm UZP1_ZZZ_Q : sve_int_perm_bin_perm_128_zz<0b01, 0, "uzp1", int_aarch64_sve_uzp1q>;
defm UZP2_ZZZ_Q : sve_int_perm_bin_perm_128_zz<0b01, 1, "uzp2", int_aarch64_sve_uzp2q>;
defm TRN1_ZZZ_Q : sve_int_perm_bin_perm_128_zz<0b11, 0, "trn1", int_aarch64_sve_trn1q>;
defm TRN2_ZZZ_Q : sve_int_perm_bin_perm_128_zz<0b11, 1, "trn2", int_aarch64_sve_trn2q>;
}
} // End HasSVEorStreamingSVE, HasMatMulFP64
let Predicates = [HasSVE2] in {
let Predicates = [HasSVE2orStreamingSVE] in {
// SVE2 integer multiply-add (indexed)
defm MLA_ZZZI : sve2_int_mla_by_indexed_elem<0b01, 0b0, "mla", int_aarch64_sve_mla_lane>;
defm MLS_ZZZI : sve2_int_mla_by_indexed_elem<0b01, 0b1, "mls", int_aarch64_sve_mls_lane>;
@ -2614,15 +2685,17 @@ let Predicates = [HasSVE2] in {
defm UQSHL_ZPZZ : sve_int_bin_pred_all_active_bhsd<int_aarch64_sve_uqshl>;
defm SQRSHL_ZPZZ : sve_int_bin_pred_all_active_bhsd<int_aarch64_sve_sqrshl>;
defm UQRSHL_ZPZZ : sve_int_bin_pred_all_active_bhsd<int_aarch64_sve_uqrshl>;
} // End HasSVE2orStreamingSVE
let Predicates = [HasSVE2, UseExperimentalZeroingPseudos] in {
defm SQSHL_ZPZI : sve_int_bin_pred_shift_imm_left_zeroing_bhsd<null_frag>;
defm UQSHL_ZPZI : sve_int_bin_pred_shift_imm_left_zeroing_bhsd<null_frag>;
defm SRSHR_ZPZI : sve_int_bin_pred_shift_imm_right_zeroing_bhsd<int_aarch64_sve_srshr>;
defm URSHR_ZPZI : sve_int_bin_pred_shift_imm_right_zeroing_bhsd<int_aarch64_sve_urshr>;
defm SQSHLU_ZPZI : sve_int_bin_pred_shift_imm_left_zeroing_bhsd<int_aarch64_sve_sqshlu>;
}
let Predicates = [HasSVE2orStreamingSVE, UseExperimentalZeroingPseudos] in {
defm SQSHL_ZPZI : sve_int_bin_pred_shift_imm_left_zeroing_bhsd<null_frag>;
defm UQSHL_ZPZI : sve_int_bin_pred_shift_imm_left_zeroing_bhsd<null_frag>;
defm SRSHR_ZPZI : sve_int_bin_pred_shift_imm_right_zeroing_bhsd<int_aarch64_sve_srshr>;
defm URSHR_ZPZI : sve_int_bin_pred_shift_imm_right_zeroing_bhsd<int_aarch64_sve_urshr>;
defm SQSHLU_ZPZI : sve_int_bin_pred_shift_imm_left_zeroing_bhsd<int_aarch64_sve_sqshlu>;
} // End HasSVE2orStreamingSVE, UseExperimentalZeroingPseudos
let Predicates = [HasSVE2orStreamingSVE] in {
// SVE2 predicated shifts
defm SQSHL_ZPmI : sve_int_bin_pred_shift_imm_left_dup<0b0110, "sqshl", "SQSHL_ZPZI", int_aarch64_sve_sqshl>;
defm UQSHL_ZPmI : sve_int_bin_pred_shift_imm_left_dup<0b0111, "uqshl", "UQSHL_ZPZI", int_aarch64_sve_uqshl>;
@ -2735,11 +2808,15 @@ let Predicates = [HasSVE2] in {
defm SQXTNT_ZZ : sve2_int_sat_extract_narrow_top<0b00, "sqxtnt", int_aarch64_sve_sqxtnt>;
defm UQXTNT_ZZ : sve2_int_sat_extract_narrow_top<0b01, "uqxtnt", int_aarch64_sve_uqxtnt>;
defm SQXTUNT_ZZ : sve2_int_sat_extract_narrow_top<0b10, "sqxtunt", int_aarch64_sve_sqxtunt>;
} // End HasSVE2orStreamingSVE
let Predicates = [HasSVE2] in {
// SVE2 character match
defm MATCH_PPzZZ : sve2_char_match<0b0, "match", int_aarch64_sve_match>;
defm NMATCH_PPzZZ : sve2_char_match<0b1, "nmatch", int_aarch64_sve_nmatch>;
} // End HasSVE2
let Predicates = [HasSVE2orStreamingSVE] in {
// SVE2 bitwise exclusive-or interleaved
defm EORBT_ZZZ : sve2_bitwise_xor_interleaved<0b0, "eorbt", int_aarch64_sve_eorbt>;
defm EORTB_ZZZ : sve2_bitwise_xor_interleaved<0b1, "eortb", int_aarch64_sve_eortb>;
@ -2754,13 +2831,17 @@ let Predicates = [HasSVE2] in {
defm SADDLBT_ZZZ : sve2_misc_int_addsub_long_interleaved<0b00, "saddlbt", int_aarch64_sve_saddlbt>;
defm SSUBLBT_ZZZ : sve2_misc_int_addsub_long_interleaved<0b10, "ssublbt", int_aarch64_sve_ssublbt>;
defm SSUBLTB_ZZZ : sve2_misc_int_addsub_long_interleaved<0b11, "ssubltb", int_aarch64_sve_ssubltb>;
} // End HasSVE2orStreamingSVE
let Predicates = [HasSVE2] in {
// SVE2 histogram generation (segment)
def HISTSEG_ZZZ : sve2_hist_gen_segment<"histseg", int_aarch64_sve_histseg>;
// SVE2 histogram generation (vector)
defm HISTCNT_ZPzZZ : sve2_hist_gen_vector<"histcnt", int_aarch64_sve_histcnt>;
} // End HasSVE2
let Predicates = [HasSVE2orStreamingSVE] in {
// SVE2 floating-point base 2 logarithm as integer
defm FLOGB_ZPmZ : sve2_fp_flogb<"flogb", int_aarch64_sve_flogb>;
@ -2802,7 +2883,9 @@ let Predicates = [HasSVE2] in {
// SVE2 extract vector (immediate offset, constructive)
def EXT_ZZI_B : sve2_int_perm_extract_i_cons<"ext">;
} // End HasSVE2orStreamingSVE
let Predicates = [HasSVE2] in {
// SVE2 non-temporal gather loads
defm LDNT1SB_ZZR_S : sve2_mem_gldnt_vs_32_ptrs<0b00000, "ldnt1sb", AArch64ldnt1s_gather_z, nxv4i8>;
defm LDNT1B_ZZR_S : sve2_mem_gldnt_vs_32_ptrs<0b00001, "ldnt1b", AArch64ldnt1_gather_z, nxv4i8>;
@ -2817,10 +2900,14 @@ let Predicates = [HasSVE2] in {
defm LDNT1SW_ZZR_D : sve2_mem_gldnt_vs_64_ptrs<0b11000, "ldnt1sw", AArch64ldnt1s_gather_z, nxv2i32>;
defm LDNT1W_ZZR_D : sve2_mem_gldnt_vs_64_ptrs<0b11010, "ldnt1w", AArch64ldnt1_gather_z, nxv2i32>;
defm LDNT1D_ZZR_D : sve2_mem_gldnt_vs_64_ptrs<0b11110, "ldnt1d", AArch64ldnt1_gather_z, nxv2i64>;
} // End HasSVE2
let Predicates = [HasSVE2orStreamingSVE] in {
// SVE2 vector splice (constructive)
defm SPLICE_ZPZZ : sve2_int_perm_splice_cons<"splice">;
} // End HasSVE2orStreamingSVE
let Predicates = [HasSVE2] in {
// SVE2 non-temporal scatter stores
defm STNT1B_ZZR_S : sve2_mem_sstnt_vs_32_ptrs<0b001, "stnt1b", AArch64stnt1_scatter, nxv4i8>;
defm STNT1H_ZZR_S : sve2_mem_sstnt_vs_32_ptrs<0b011, "stnt1h", AArch64stnt1_scatter, nxv4i16>;
@ -2830,7 +2917,9 @@ let Predicates = [HasSVE2] in {
defm STNT1H_ZZR_D : sve2_mem_sstnt_vs_64_ptrs<0b010, "stnt1h", AArch64stnt1_scatter, nxv2i16>;
defm STNT1W_ZZR_D : sve2_mem_sstnt_vs_64_ptrs<0b100, "stnt1w", AArch64stnt1_scatter, nxv2i32>;
defm STNT1D_ZZR_D : sve2_mem_sstnt_vs_64_ptrs<0b110, "stnt1d", AArch64stnt1_scatter, nxv2i64>;
} // End HasSVE2
let Predicates = [HasSVE2orStreamingSVE] in {
// SVE2 table lookup (three sources)
defm TBL_ZZZZ : sve2_int_perm_tbl<"tbl", int_aarch64_sve_tbl2>;
defm TBX_ZZZ : sve2_int_perm_tbx<"tbx", int_aarch64_sve_tbx>;
@ -2849,7 +2938,7 @@ let Predicates = [HasSVE2] in {
// SVE2 pointer conflict compare
defm WHILEWR_PXX : sve2_int_while_rr<0b0, "whilewr", "int_aarch64_sve_whilewr">;
defm WHILERW_PXX : sve2_int_while_rr<0b1, "whilerw", "int_aarch64_sve_whilerw">;
}
} // End HasSVE2orStreamingSVE
let Predicates = [HasSVE2AES] in {
// SVE2 crypto destructive binary operations
@ -2865,23 +2954,23 @@ let Predicates = [HasSVE2AES] in {
// to NEON PMULL2 instruction.
defm PMULLB_ZZZ_Q : sve2_wide_int_arith_pmul<0b00, 0b11010, "pmullb", int_aarch64_sve_pmullb_pair>;
defm PMULLT_ZZZ_Q : sve2_wide_int_arith_pmul<0b00, 0b11011, "pmullt", int_aarch64_sve_pmullt_pair>;
}
} // End HasSVE2AES
let Predicates = [HasSVE2SM4] in {
// SVE2 crypto constructive binary operations
defm SM4EKEY_ZZZ_S : sve2_crypto_cons_bin_op<0b0, "sm4ekey", ZPR32, int_aarch64_sve_sm4ekey, nxv4i32>;
// SVE2 crypto destructive binary operations
defm SM4E_ZZZ_S : sve2_crypto_des_bin_op<0b10, "sm4e", ZPR32, int_aarch64_sve_sm4e, nxv4i32>;
}
} // End HasSVE2SM4
let Predicates = [HasSVE2SHA3] in {
// SVE2 crypto constructive binary operations
defm RAX1_ZZZ_D : sve2_crypto_cons_bin_op<0b1, "rax1", ZPR64, int_aarch64_sve_rax1, nxv2i64>;
}
} // End HasSVE2SHA3
let Predicates = [HasSVE2BitPerm] in {
// SVE2 bitwise permute
defm BEXT_ZZZ : sve2_misc_bitwise<0b1100, "bext", int_aarch64_sve_bext_x>;
defm BDEP_ZZZ : sve2_misc_bitwise<0b1101, "bdep", int_aarch64_sve_bdep_x>;
defm BGRP_ZZZ : sve2_misc_bitwise<0b1110, "bgrp", int_aarch64_sve_bgrp_x>;
}
} // End HasSVE2BitPerm

View File

@ -21,7 +21,8 @@ def A64FXModel : SchedMachineModel {
let CompleteModel = 1;
list<Predicate> UnsupportedFeatures =
[HasSVE2, HasSVE2AES, HasSVE2SM4, HasSVE2SHA3, HasSVE2BitPerm, HasPAuth];
[HasSVE2, HasSVE2AES, HasSVE2SM4, HasSVE2SHA3, HasSVE2BitPerm, HasPAuth,
HasSVE2orStreamingSVE];
let FullInstRWOverlapCheck = 0;
}

View File

@ -190,6 +190,7 @@ protected:
bool HasSME = false;
bool HasSMEF64 = false;
bool HasSMEI64 = false;
bool HasStreamingSVE = false;
// Future architecture extensions.
bool HasETE = false;
@ -494,6 +495,7 @@ public:
bool hasSME() const { return HasSME; }
bool hasSMEF64() const { return HasSMEF64; }
bool hasSMEI64() const { return HasSMEI64; }
bool hasStreamingSVE() const { return HasStreamingSVE; }
bool isLittleEndian() const { return IsLittle; }

View File

@ -42,7 +42,7 @@ revd z31.q, p7/m, z31.q
movprfx z21, z25
// CHECK-INST: movprfx z21, z25
// CHECK-ENCODING: [0x35,0xbf,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 35 bf 20 04 <unknown>
revd z21.q, p5/m, z10.q

View File

@ -126,7 +126,7 @@ sclamp z31.d, z31.d, z31.d
movprfx z23, z27
// CHECK-INST: movprfx z23, z27
// CHECK-ENCODING: [0x77,0xbf,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 77 bf 20 04 <unknown>
sclamp z23.b, z13.b, z8.b
@ -138,7 +138,7 @@ sclamp z23.b, z13.b, z8.b
movprfx z23, z27
// CHECK-INST: movprfx z23, z27
// CHECK-ENCODING: [0x77,0xbf,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 77 bf 20 04 <unknown>
sclamp z23.h, z13.h, z8.h
@ -150,7 +150,7 @@ sclamp z23.h, z13.h, z8.h
movprfx z23, z27
// CHECK-INST: movprfx z23, z27
// CHECK-ENCODING: [0x77,0xbf,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 77 bf 20 04 <unknown>
sclamp z23.s, z13.s, z8.s
@ -162,7 +162,7 @@ sclamp z23.s, z13.s, z8.s
movprfx z23, z27
// CHECK-INST: movprfx z23, z27
// CHECK-ENCODING: [0x77,0xbf,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 77 bf 20 04 <unknown>
sclamp z23.d, z13.d, z8.d

View File

@ -126,7 +126,7 @@ uclamp z31.d, z31.d, z31.d
movprfx z23, z27
// CHECK-INST: movprfx z23, z27
// CHECK-ENCODING: [0x77,0xbf,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 77 bf 20 04 <unknown>
uclamp z23.b, z13.b, z8.b
@ -138,7 +138,7 @@ uclamp z23.b, z13.b, z8.b
movprfx z23, z27
// CHECK-INST: movprfx z23, z27
// CHECK-ENCODING: [0x77,0xbf,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 77 bf 20 04 <unknown>
uclamp z23.h, z13.h, z8.h
@ -150,7 +150,7 @@ uclamp z23.h, z13.h, z8.h
movprfx z23, z27
// CHECK-INST: movprfx z23, z27
// CHECK-ENCODING: [0x77,0xbf,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 77 bf 20 04 <unknown>
uclamp z23.s, z13.s, z8.s
@ -162,7 +162,7 @@ uclamp z23.s, z13.s, z8.s
movprfx z23, z27
// CHECK-INST: movprfx z23, z27
// CHECK-ENCODING: [0x77,0xbf,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 77 bf 20 04 <unknown>
uclamp z23.d, z13.d, z8.d

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,49 +12,49 @@
abs z0.b, p0/m, z0.b
// CHECK-INST: abs z0.b, p0/m, z0.b
// CHECK-ENCODING: [0x00,0xa0,0x16,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 a0 16 04 <unknown>
abs z0.h, p0/m, z0.h
// CHECK-INST: abs z0.h, p0/m, z0.h
// CHECK-ENCODING: [0x00,0xa0,0x56,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 a0 56 04 <unknown>
abs z0.s, p0/m, z0.s
// CHECK-INST: abs z0.s, p0/m, z0.s
// CHECK-ENCODING: [0x00,0xa0,0x96,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 a0 96 04 <unknown>
abs z0.d, p0/m, z0.d
// CHECK-INST: abs z0.d, p0/m, z0.d
// CHECK-ENCODING: [0x00,0xa0,0xd6,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 a0 d6 04 <unknown>
abs z31.b, p7/m, z31.b
// CHECK-INST: abs z31.b, p7/m, z31.b
// CHECK-ENCODING: [0xff,0xbf,0x16,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf 16 04 <unknown>
abs z31.h, p7/m, z31.h
// CHECK-INST: abs z31.h, p7/m, z31.h
// CHECK-ENCODING: [0xff,0xbf,0x56,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf 56 04 <unknown>
abs z31.s, p7/m, z31.s
// CHECK-INST: abs z31.s, p7/m, z31.s
// CHECK-ENCODING: [0xff,0xbf,0x96,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf 96 04 <unknown>
abs z31.d, p7/m, z31.d
// CHECK-INST: abs z31.d, p7/m, z31.d
// CHECK-ENCODING: [0xff,0xbf,0xd6,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf d6 04 <unknown>
@ -62,23 +64,23 @@ abs z31.d, p7/m, z31.d
movprfx z4.d, p7/z, z6.d
// CHECK-INST: movprfx z4.d, p7/z, z6.d
// CHECK-ENCODING: [0xc4,0x3c,0xd0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c4 3c d0 04 <unknown>
abs z4.d, p7/m, z31.d
// CHECK-INST: abs z4.d, p7/m, z31.d
// CHECK-ENCODING: [0xe4,0xbf,0xd6,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e4 bf d6 04 <unknown>
movprfx z4, z6
// CHECK-INST: movprfx z4, z6
// CHECK-ENCODING: [0xc4,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c4 bc 20 04 <unknown>
abs z4.d, p7/m, z31.d
// CHECK-INST: abs z4.d, p7/m, z31.d
// CHECK-ENCODING: [0xe4,0xbf,0xd6,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e4 bf d6 04 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,277 +12,277 @@
add z31.s, z31.s, z31.s
// CHECK-INST: add z31.s, z31.s, z31.s
// CHECK-ENCODING: [0xff,0x03,0xbf,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 03 bf 04 <unknown>
add z23.d, z13.d, z8.d
// CHECK-INST: add z23.d, z13.d, z8.d
// CHECK-ENCODING: [0xb7,0x01,0xe8,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: b7 01 e8 04 <unknown>
add z23.b, p3/m, z23.b, z13.b
// CHECK-INST: add z23.b, p3/m, z23.b, z13.b
// CHECK-ENCODING: [0xb7,0x0d,0x00,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: b7 0d 00 04 <unknown>
add z0.s, z0.s, z0.s
// CHECK-INST: add z0.s, z0.s, z0.s
// CHECK-ENCODING: [0x00,0x00,0xa0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 00 a0 04 <unknown>
add z31.d, z31.d, z31.d
// CHECK-INST: add z31.d, z31.d, z31.d
// CHECK-ENCODING: [0xff,0x03,0xff,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 03 ff 04 <unknown>
add z21.b, z10.b, z21.b
// CHECK-INST: add z21.b, z10.b, z21.b
// CHECK-ENCODING: [0x55,0x01,0x35,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 55 01 35 04 <unknown>
add z31.b, z31.b, z31.b
// CHECK-INST: add z31.b, z31.b, z31.b
// CHECK-ENCODING: [0xff,0x03,0x3f,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 03 3f 04 <unknown>
add z0.h, p0/m, z0.h, z0.h
// CHECK-INST: add z0.h, p0/m, z0.h, z0.h
// CHECK-ENCODING: [0x00,0x00,0x40,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 00 40 04 <unknown>
add z0.h, z0.h, z0.h
// CHECK-INST: add z0.h, z0.h, z0.h
// CHECK-ENCODING: [0x00,0x00,0x60,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 00 60 04 <unknown>
add z0.b, p0/m, z0.b, z0.b
// CHECK-INST: add z0.b, p0/m, z0.b, z0.b
// CHECK-ENCODING: [0x00,0x00,0x00,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 00 00 04 <unknown>
add z0.s, p0/m, z0.s, z0.s
// CHECK-INST: add z0.s, p0/m, z0.s, z0.s
// CHECK-ENCODING: [0x00,0x00,0x80,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 00 80 04 <unknown>
add z23.b, z13.b, z8.b
// CHECK-INST: add z23.b, z13.b, z8.b
// CHECK-ENCODING: [0xb7,0x01,0x28,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: b7 01 28 04 <unknown>
add z0.d, z0.d, z0.d
// CHECK-INST: add z0.d, z0.d, z0.d
// CHECK-ENCODING: [0x00,0x00,0xe0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 00 e0 04 <unknown>
add z0.d, p0/m, z0.d, z0.d
// CHECK-INST: add z0.d, p0/m, z0.d, z0.d
// CHECK-ENCODING: [0x00,0x00,0xc0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 00 c0 04 <unknown>
add z31.h, z31.h, z31.h
// CHECK-INST: add z31.h, z31.h, z31.h
// CHECK-ENCODING: [0xff,0x03,0x7f,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 03 7f 04 <unknown>
add z0.b, z0.b, z0.b
// CHECK-INST: add z0.b, z0.b, z0.b
// CHECK-ENCODING: [0x00,0x00,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 00 20 04 <unknown>
add z21.d, z10.d, z21.d
// CHECK-INST: add z21.d, z10.d, z21.d
// CHECK-ENCODING: [0x55,0x01,0xf5,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 55 01 f5 04 <unknown>
add z23.h, p3/m, z23.h, z13.h
// CHECK-INST: add z23.h, p3/m, z23.h, z13.h
// CHECK-ENCODING: [0xb7,0x0d,0x40,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: b7 0d 40 04 <unknown>
add z23.s, p3/m, z23.s, z13.s
// CHECK-INST: add z23.s, p3/m, z23.s, z13.s
// CHECK-ENCODING: [0xb7,0x0d,0x80,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: b7 0d 80 04 <unknown>
add z31.s, p7/m, z31.s, z31.s
// CHECK-INST: add z31.s, p7/m, z31.s, z31.s
// CHECK-ENCODING: [0xff,0x1f,0x80,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 1f 80 04 <unknown>
add z21.h, z10.h, z21.h
// CHECK-INST: add z21.h, z10.h, z21.h
// CHECK-ENCODING: [0x55,0x01,0x75,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 55 01 75 04 <unknown>
add z23.d, p3/m, z23.d, z13.d
// CHECK-INST: add z23.d, p3/m, z23.d, z13.d
// CHECK-ENCODING: [0xb7,0x0d,0xc0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: b7 0d c0 04 <unknown>
add z21.d, p5/m, z21.d, z10.d
// CHECK-INST: add z21.d, p5/m, z21.d, z10.d
// CHECK-ENCODING: [0x55,0x15,0xc0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 55 15 c0 04 <unknown>
add z21.b, p5/m, z21.b, z10.b
// CHECK-INST: add z21.b, p5/m, z21.b, z10.b
// CHECK-ENCODING: [0x55,0x15,0x00,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 55 15 00 04 <unknown>
add z21.s, z10.s, z21.s
// CHECK-INST: add z21.s, z10.s, z21.s
// CHECK-ENCODING: [0x55,0x01,0xb5,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 55 01 b5 04 <unknown>
add z21.h, p5/m, z21.h, z10.h
// CHECK-INST: add z21.h, p5/m, z21.h, z10.h
// CHECK-ENCODING: [0x55,0x15,0x40,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 55 15 40 04 <unknown>
add z31.h, p7/m, z31.h, z31.h
// CHECK-INST: add z31.h, p7/m, z31.h, z31.h
// CHECK-ENCODING: [0xff,0x1f,0x40,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 1f 40 04 <unknown>
add z23.h, z13.h, z8.h
// CHECK-INST: add z23.h, z13.h, z8.h
// CHECK-ENCODING: [0xb7,0x01,0x68,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: b7 01 68 04 <unknown>
add z31.d, p7/m, z31.d, z31.d
// CHECK-INST: add z31.d, p7/m, z31.d, z31.d
// CHECK-ENCODING: [0xff,0x1f,0xc0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 1f c0 04 <unknown>
add z21.s, p5/m, z21.s, z10.s
// CHECK-INST: add z21.s, p5/m, z21.s, z10.s
// CHECK-ENCODING: [0x55,0x15,0x80,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 55 15 80 04 <unknown>
add z31.b, p7/m, z31.b, z31.b
// CHECK-INST: add z31.b, p7/m, z31.b, z31.b
// CHECK-ENCODING: [0xff,0x1f,0x00,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 1f 00 04 <unknown>
add z23.s, z13.s, z8.s
// CHECK-INST: add z23.s, z13.s, z8.s
// CHECK-ENCODING: [0xb7,0x01,0xa8,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: b7 01 a8 04 <unknown>
add z0.b, z0.b, #0
// CHECK-INST: add z0.b, z0.b, #0
// CHECK-ENCODING: [0x00,0xc0,0x20,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 c0 20 25 <unknown>
add z31.b, z31.b, #255
// CHECK-INST: add z31.b, z31.b, #255
// CHECK-ENCODING: [0xff,0xdf,0x20,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff df 20 25 <unknown>
add z0.h, z0.h, #0
// CHECK-INST: add z0.h, z0.h, #0
// CHECK-ENCODING: [0x00,0xc0,0x60,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 c0 60 25 <unknown>
add z0.h, z0.h, #0, lsl #8
// CHECK-INST: add z0.h, z0.h, #0, lsl #8
// CHECK-ENCODING: [0x00,0xe0,0x60,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e0 60 25 <unknown>
add z31.h, z31.h, #255, lsl #8
// CHECK-INST: add z31.h, z31.h, #65280
// CHECK-ENCODING: [0xff,0xff,0x60,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff ff 60 25 <unknown>
add z31.h, z31.h, #65280
// CHECK-INST: add z31.h, z31.h, #65280
// CHECK-ENCODING: [0xff,0xff,0x60,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff ff 60 25 <unknown>
add z0.s, z0.s, #0
// CHECK-INST: add z0.s, z0.s, #0
// CHECK-ENCODING: [0x00,0xc0,0xa0,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 c0 a0 25 <unknown>
add z0.s, z0.s, #0, lsl #8
// CHECK-INST: add z0.s, z0.s, #0, lsl #8
// CHECK-ENCODING: [0x00,0xe0,0xa0,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e0 a0 25 <unknown>
add z31.s, z31.s, #255, lsl #8
// CHECK-INST: add z31.s, z31.s, #65280
// CHECK-ENCODING: [0xff,0xff,0xa0,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff ff a0 25 <unknown>
add z31.s, z31.s, #65280
// CHECK-INST: add z31.s, z31.s, #65280
// CHECK-ENCODING: [0xff,0xff,0xa0,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff ff a0 25 <unknown>
add z0.d, z0.d, #0
// CHECK-INST: add z0.d, z0.d, #0
// CHECK-ENCODING: [0x00,0xc0,0xe0,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 c0 e0 25 <unknown>
add z0.d, z0.d, #0, lsl #8
// CHECK-INST: add z0.d, z0.d, #0, lsl #8
// CHECK-ENCODING: [0x00,0xe0,0xe0,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e0 e0 25 <unknown>
add z31.d, z31.d, #255, lsl #8
// CHECK-INST: add z31.d, z31.d, #65280
// CHECK-ENCODING: [0xff,0xff,0xe0,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff ff e0 25 <unknown>
add z31.d, z31.d, #65280
// CHECK-INST: add z31.d, z31.d, #65280
// CHECK-ENCODING: [0xff,0xff,0xe0,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff ff e0 25 <unknown>
@ -291,35 +293,35 @@ add z31.d, z31.d, #65280
movprfx z4.b, p7/z, z6.b
// CHECK-INST: movprfx z4.b, p7/z, z6.b
// CHECK-ENCODING: [0xc4,0x3c,0x10,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c4 3c 10 04 <unknown>
add z4.b, p7/m, z4.b, z31.b
// CHECK-INST: add z4.b, p7/m, z4.b, z31.b
// CHECK-ENCODING: [0xe4,0x1f,0x00,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e4 1f 00 04 <unknown>
movprfx z4, z6
// CHECK-INST: movprfx z4, z6
// CHECK-ENCODING: [0xc4,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c4 bc 20 04 <unknown>
add z4.b, p7/m, z4.b, z31.b
// CHECK-INST: add z4.b, p7/m, z4.b, z31.b
// CHECK-ENCODING: [0xe4,0x1f,0x00,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e4 1f 00 04 <unknown>
movprfx z31, z6
// CHECK-INST: movprfx z31, z6
// CHECK-ENCODING: [0xdf,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: df bc 20 04 <unknown>
add z31.d, z31.d, #65280
// CHECK-INST: add z31.d, z31.d, #65280
// CHECK-ENCODING: [0xff,0xff,0xe0,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff ff e0 25 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,23 +12,23 @@
addpl x21, x21, #0
// CHECK-INST: addpl x21, x21, #0
// CHECK-ENCODING: [0x15,0x50,0x75,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 50 75 04 <unknown>
addpl x23, x8, #-1
// CHECK-INST: addpl x23, x8, #-1
// CHECK-ENCODING: [0xf7,0x57,0x68,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: f7 57 68 04 <unknown>
addpl sp, sp, #31
// CHECK-INST: addpl sp, sp, #31
// CHECK-ENCODING: [0xff,0x53,0x7f,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 53 7f 04 <unknown>
addpl x0, x0, #-32
// CHECK-INST: addpl x0, x0, #-32
// CHECK-ENCODING: [0x00,0x54,0x60,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 54 60 04 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,23 +12,23 @@
addvl x21, x21, #0
// CHECK-INST: addvl x21, x21, #0
// CHECK-ENCODING: [0x15,0x50,0x35,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 50 35 04 <unknown>
addvl x23, x8, #-1
// CHECK-INST: addvl x23, x8, #-1
// CHECK-ENCODING: [0xf7,0x57,0x28,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: f7 57 28 04 <unknown>
addvl sp, sp, #31
// CHECK-INST: addvl sp, sp, #31
// CHECK-ENCODING: [0xff,0x53,0x3f,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 53 3f 04 <unknown>
addvl x0, x0, #-32
// CHECK-INST: addvl x0, x0, #-32
// CHECK-ENCODING: [0x00,0x54,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 54 20 04 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,103 +12,103 @@
and z5.b, z5.b, #0xf9
// CHECK-INST: and z5.b, z5.b, #0xf9
// CHECK-ENCODING: [0xa5,0x2e,0x80,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a5 2e 80 05 <unknown>
and z23.h, z23.h, #0xfff9
// CHECK-INST: and z23.h, z23.h, #0xfff9
// CHECK-ENCODING: [0xb7,0x6d,0x80,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: b7 6d 80 05 <unknown>
and z0.s, z0.s, #0xfffffff9
// CHECK-INST: and z0.s, z0.s, #0xfffffff9
// CHECK-ENCODING: [0xa0,0xeb,0x80,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 eb 80 05 <unknown>
and z0.d, z0.d, #0xfffffffffffffff9
// CHECK-INST: and z0.d, z0.d, #0xfffffffffffffff9
// CHECK-ENCODING: [0xa0,0xef,0x83,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 ef 83 05 <unknown>
and z5.b, z5.b, #0x6
// CHECK-INST: and z5.b, z5.b, #0x6
// CHECK-ENCODING: [0x25,0x3e,0x80,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 25 3e 80 05 <unknown>
and z23.h, z23.h, #0x6
// CHECK-INST: and z23.h, z23.h, #0x6
// CHECK-ENCODING: [0x37,0x7c,0x80,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 37 7c 80 05 <unknown>
and z0.s, z0.s, #0x6
// CHECK-INST: and z0.s, z0.s, #0x6
// CHECK-ENCODING: [0x20,0xf8,0x80,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 f8 80 05 <unknown>
and z0.d, z0.d, #0x6
// CHECK-INST: and z0.d, z0.d, #0x6
// CHECK-ENCODING: [0x20,0xf8,0x83,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 f8 83 05 <unknown>
and z0.d, z0.d, z0.d
// CHECK-INST: and z0.d, z0.d, z0.d
// CHECK-ENCODING: [0x00,0x30,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 30 20 04 <unknown>
and z23.d, z13.d, z8.d
// CHECK-INST: and z23.d, z13.d, z8.d
// CHECK-ENCODING: [0xb7,0x31,0x28,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: b7 31 28 04 <unknown>
and z31.b, p7/m, z31.b, z31.b
// CHECK-INST: and z31.b, p7/m, z31.b, z31.b
// CHECK-ENCODING: [0xff,0x1f,0x1a,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 1f 1a 04 <unknown>
and z31.h, p7/m, z31.h, z31.h
// CHECK-INST: and z31.h, p7/m, z31.h, z31.h
// CHECK-ENCODING: [0xff,0x1f,0x5a,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 1f 5a 04 <unknown>
and z31.s, p7/m, z31.s, z31.s
// CHECK-INST: and z31.s, p7/m, z31.s, z31.s
// CHECK-ENCODING: [0xff,0x1f,0x9a,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 1f 9a 04 <unknown>
and z31.d, p7/m, z31.d, z31.d
// CHECK-INST: and z31.d, p7/m, z31.d, z31.d
// CHECK-ENCODING: [0xff,0x1f,0xda,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 1f da 04 <unknown>
and p0.b, p0/z, p0.b, p1.b
// CHECK-INST: and p0.b, p0/z, p0.b, p1.b
// CHECK-ENCODING: [0x00,0x40,0x01,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 40 01 25 <unknown>
and p0.b, p0/z, p0.b, p0.b
// CHECK-INST: mov p0.b, p0/z, p0.b
// CHECK-ENCODING: [0x00,0x40,0x00,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 40 00 25 <unknown>
and p15.b, p15/z, p15.b, p15.b
// CHECK-INST: mov p15.b, p15/z, p15.b
// CHECK-ENCODING: [0xef,0x7d,0x0f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ef 7d 0f 25 <unknown>
@ -116,19 +118,19 @@ and p15.b, p15/z, p15.b, p15.b
and z0.s, z0.s, z0.s
// CHECK-INST: and z0.d, z0.d, z0.d
// CHECK-ENCODING: [0x00,0x30,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 30 20 04 <unknown>
and z0.h, z0.h, z0.h
// CHECK-INST: and z0.d, z0.d, z0.d
// CHECK-ENCODING: [0x00,0x30,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 30 20 04 <unknown>
and z0.b, z0.b, z0.b
// CHECK-INST: and z0.d, z0.d, z0.d
// CHECK-ENCODING: [0x00,0x30,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 30 20 04 <unknown>
@ -138,35 +140,35 @@ and z0.b, z0.b, z0.b
movprfx z4.d, p7/z, z6.d
// CHECK-INST: movprfx z4.d, p7/z, z6.d
// CHECK-ENCODING: [0xc4,0x3c,0xd0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c4 3c d0 04 <unknown>
and z4.d, p7/m, z4.d, z31.d
// CHECK-INST: and z4.d, p7/m, z4.d, z31.d
// CHECK-ENCODING: [0xe4,0x1f,0xda,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e4 1f da 04 <unknown>
movprfx z4, z6
// CHECK-INST: movprfx z4, z6
// CHECK-ENCODING: [0xc4,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c4 bc 20 04 <unknown>
and z4.d, p7/m, z4.d, z31.d
// CHECK-INST: and z4.d, p7/m, z4.d, z31.d
// CHECK-ENCODING: [0xe4,0x1f,0xda,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e4 1f da 04 <unknown>
movprfx z0, z7
// CHECK-INST: movprfx z0, z7
// CHECK-ENCODING: [0xe0,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 bc 20 04 <unknown>
and z0.d, z0.d, #0x6
// CHECK-INST: and z0.d, z0.d, #0x6
// CHECK-ENCODING: [0x20,0xf8,0x83,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 f8 83 05 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,18 +12,18 @@
ands p0.b, p0/z, p0.b, p1.b
// CHECK-INST: ands p0.b, p0/z, p0.b, p1.b
// CHECK-ENCODING: [0x00,0x40,0x41,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 40 41 25 <unknown>
ands p0.b, p0/z, p0.b, p0.b
// CHECK-INST: movs p0.b, p0/z, p0.b
// CHECK-ENCODING: [0x00,0x40,0x40,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 40 40 25 <unknown>
ands p15.b, p15/z, p15.b, p15.b
// CHECK-INST: movs p15.b, p15/z, p15.b
// CHECK-ENCODING: [0xef,0x7d,0x4f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ef 7d 4f 25 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,23 +12,23 @@
andv b0, p7, z31.b
// CHECK-INST: andv b0, p7, z31.b
// CHECK-ENCODING: [0xe0,0x3f,0x1a,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 3f 1a 04 <unknown>
andv h0, p7, z31.h
// CHECK-INST: andv h0, p7, z31.h
// CHECK-ENCODING: [0xe0,0x3f,0x5a,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 3f 5a 04 <unknown>
andv s0, p7, z31.s
// CHECK-INST: andv s0, p7, z31.s
// CHECK-ENCODING: [0xe0,0x3f,0x9a,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 3f 9a 04 <unknown>
andv d0, p7, z31.d
// CHECK-INST: andv d0, p7, z31.d
// CHECK-ENCODING: [0xe0,0x3f,0xda,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 3f da 04 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,157 +12,157 @@
asr z0.b, z0.b, #1
// CHECK-INST: asr z0.b, z0.b, #1
// CHECK-ENCODING: [0x00,0x90,0x2f,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 90 2f 04 <unknown>
asr z31.b, z31.b, #8
// CHECK-INST: asr z31.b, z31.b, #8
// CHECK-ENCODING: [0xff,0x93,0x28,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 93 28 04 <unknown>
asr z0.h, z0.h, #1
// CHECK-INST: asr z0.h, z0.h, #1
// CHECK-ENCODING: [0x00,0x90,0x3f,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 90 3f 04 <unknown>
asr z31.h, z31.h, #16
// CHECK-INST: asr z31.h, z31.h, #16
// CHECK-ENCODING: [0xff,0x93,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 93 30 04 <unknown>
asr z0.s, z0.s, #1
// CHECK-INST: asr z0.s, z0.s, #1
// CHECK-ENCODING: [0x00,0x90,0x7f,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 90 7f 04 <unknown>
asr z31.s, z31.s, #32
// CHECK-INST: asr z31.s, z31.s, #32
// CHECK-ENCODING: [0xff,0x93,0x60,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 93 60 04 <unknown>
asr z0.d, z0.d, #1
// CHECK-INST: asr z0.d, z0.d, #1
// CHECK-ENCODING: [0x00,0x90,0xff,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 90 ff 04 <unknown>
asr z31.d, z31.d, #64
// CHECK-INST: asr z31.d, z31.d, #64
// CHECK-ENCODING: [0xff,0x93,0xa0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 93 a0 04 <unknown>
asr z0.b, p0/m, z0.b, #1
// CHECK-INST: asr z0.b, p0/m, z0.b, #1
// CHECK-ENCODING: [0xe0,0x81,0x00,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 81 00 04 <unknown>
asr z31.b, p0/m, z31.b, #8
// CHECK-INST: asr z31.b, p0/m, z31.b, #8
// CHECK-ENCODING: [0x1f,0x81,0x00,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 1f 81 00 04 <unknown>
asr z0.h, p0/m, z0.h, #1
// CHECK-INST: asr z0.h, p0/m, z0.h, #1
// CHECK-ENCODING: [0xe0,0x83,0x00,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 83 00 04 <unknown>
asr z31.h, p0/m, z31.h, #16
// CHECK-INST: asr z31.h, p0/m, z31.h, #16
// CHECK-ENCODING: [0x1f,0x82,0x00,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 1f 82 00 04 <unknown>
asr z0.s, p0/m, z0.s, #1
// CHECK-INST: asr z0.s, p0/m, z0.s, #1
// CHECK-ENCODING: [0xe0,0x83,0x40,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 83 40 04 <unknown>
asr z31.s, p0/m, z31.s, #32
// CHECK-INST: asr z31.s, p0/m, z31.s, #32
// CHECK-ENCODING: [0x1f,0x80,0x40,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 1f 80 40 04 <unknown>
asr z0.d, p0/m, z0.d, #1
// CHECK-INST: asr z0.d, p0/m, z0.d, #1
// CHECK-ENCODING: [0xe0,0x83,0xc0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 83 c0 04 <unknown>
asr z31.d, p0/m, z31.d, #64
// CHECK-INST: asr z31.d, p0/m, z31.d, #64
// CHECK-ENCODING: [0x1f,0x80,0x80,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 1f 80 80 04 <unknown>
asr z0.b, p0/m, z0.b, z0.b
// CHECK-INST: asr z0.b, p0/m, z0.b, z0.b
// CHECK-ENCODING: [0x00,0x80,0x10,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 10 04 <unknown>
asr z0.h, p0/m, z0.h, z0.h
// CHECK-INST: asr z0.h, p0/m, z0.h, z0.h
// CHECK-ENCODING: [0x00,0x80,0x50,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 50 04 <unknown>
asr z0.s, p0/m, z0.s, z0.s
// CHECK-INST: asr z0.s, p0/m, z0.s, z0.s
// CHECK-ENCODING: [0x00,0x80,0x90,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 90 04 <unknown>
asr z0.d, p0/m, z0.d, z0.d
// CHECK-INST: asr z0.d, p0/m, z0.d, z0.d
// CHECK-ENCODING: [0x00,0x80,0xd0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 d0 04 <unknown>
asr z0.b, p0/m, z0.b, z1.d
// CHECK-INST: asr z0.b, p0/m, z0.b, z1.d
// CHECK-ENCODING: [0x20,0x80,0x18,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 80 18 04 <unknown>
asr z0.h, p0/m, z0.h, z1.d
// CHECK-INST: asr z0.h, p0/m, z0.h, z1.d
// CHECK-ENCODING: [0x20,0x80,0x58,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 80 58 04 <unknown>
asr z0.s, p0/m, z0.s, z1.d
// CHECK-INST: asr z0.s, p0/m, z0.s, z1.d
// CHECK-ENCODING: [0x20,0x80,0x98,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 80 98 04 <unknown>
asr z0.b, z1.b, z2.d
// CHECK-INST: asr z0.b, z1.b, z2.d
// CHECK-ENCODING: [0x20,0x80,0x22,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 80 22 04 <unknown>
asr z0.h, z1.h, z2.d
// CHECK-INST: asr z0.h, z1.h, z2.d
// CHECK-ENCODING: [0x20,0x80,0x62,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 80 62 04 <unknown>
asr z0.s, z1.s, z2.d
// CHECK-INST: asr z0.s, z1.s, z2.d
// CHECK-ENCODING: [0x20,0x80,0xa2,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 80 a2 04 <unknown>
@ -170,47 +172,47 @@ asr z0.s, z1.s, z2.d
movprfx z31.d, p0/z, z6.d
// CHECK-INST: movprfx z31.d, p0/z, z6.d
// CHECK-ENCODING: [0xdf,0x20,0xd0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: df 20 d0 04 <unknown>
asr z31.d, p0/m, z31.d, #64
// CHECK-INST: asr z31.d, p0/m, z31.d, #64
// CHECK-ENCODING: [0x1f,0x80,0x80,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 1f 80 80 04 <unknown>
movprfx z31, z6
// CHECK-INST: movprfx z31, z6
// CHECK-ENCODING: [0xdf,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: df bc 20 04 <unknown>
asr z31.d, p0/m, z31.d, #64
// CHECK-INST: asr z31.d, p0/m, z31.d, #64
// CHECK-ENCODING: [0x1f,0x80,0x80,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 1f 80 80 04 <unknown>
movprfx z0.s, p0/z, z7.s
// CHECK-INST: movprfx z0.s, p0/z, z7.s
// CHECK-ENCODING: [0xe0,0x20,0x90,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 20 90 04 <unknown>
asr z0.s, p0/m, z0.s, z1.d
// CHECK-INST: asr z0.s, p0/m, z0.s, z1.d
// CHECK-ENCODING: [0x20,0x80,0x98,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 80 98 04 <unknown>
movprfx z0, z7
// CHECK-INST: movprfx z0, z7
// CHECK-ENCODING: [0xe0,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 bc 20 04 <unknown>
asr z0.s, p0/m, z0.s, z1.d
// CHECK-INST: asr z0.s, p0/m, z0.s, z1.d
// CHECK-ENCODING: [0x20,0x80,0x98,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 80 98 04 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,49 +12,49 @@
asrd z0.b, p0/m, z0.b, #1
// CHECK-INST: asrd z0.b, p0/m, z0.b, #1
// CHECK-ENCODING: [0xe0,0x81,0x04,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 81 04 04 <unknown>
asrd z31.b, p0/m, z31.b, #8
// CHECK-INST: asrd z31.b, p0/m, z31.b, #8
// CHECK-ENCODING: [0x1f,0x81,0x04,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 1f 81 04 04 <unknown>
asrd z0.h, p0/m, z0.h, #1
// CHECK-INST: asrd z0.h, p0/m, z0.h, #1
// CHECK-ENCODING: [0xe0,0x83,0x04,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 83 04 04 <unknown>
asrd z31.h, p0/m, z31.h, #16
// CHECK-INST: asrd z31.h, p0/m, z31.h, #16
// CHECK-ENCODING: [0x1f,0x82,0x04,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 1f 82 04 04 <unknown>
asrd z0.s, p0/m, z0.s, #1
// CHECK-INST: asrd z0.s, p0/m, z0.s, #1
// CHECK-ENCODING: [0xe0,0x83,0x44,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 83 44 04 <unknown>
asrd z31.s, p0/m, z31.s, #32
// CHECK-INST: asrd z31.s, p0/m, z31.s, #32
// CHECK-ENCODING: [0x1f,0x80,0x44,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 1f 80 44 04 <unknown>
asrd z0.d, p0/m, z0.d, #1
// CHECK-INST: asrd z0.d, p0/m, z0.d, #1
// CHECK-ENCODING: [0xe0,0x83,0xc4,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 83 c4 04 <unknown>
asrd z31.d, p0/m, z31.d, #64
// CHECK-INST: asrd z31.d, p0/m, z31.d, #64
// CHECK-ENCODING: [0x1f,0x80,0x84,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 1f 80 84 04 <unknown>
@ -62,23 +64,23 @@ asrd z31.d, p0/m, z31.d, #64
movprfx z31.d, p0/z, z6.d
// CHECK-INST: movprfx z31.d, p0/z, z6.d
// CHECK-ENCODING: [0xdf,0x20,0xd0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: df 20 d0 04 <unknown>
asrd z31.d, p0/m, z31.d, #64
// CHECK-INST: asrd z31.d, p0/m, z31.d, #64
// CHECK-ENCODING: [0x1f,0x80,0x84,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 1f 80 84 04 <unknown>
movprfx z31, z6
// CHECK-INST: movprfx z31, z6
// CHECK-ENCODING: [0xdf,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: df bc 20 04 <unknown>
asrd z31.d, p0/m, z31.d, #64
// CHECK-INST: asrd z31.d, p0/m, z31.d, #64
// CHECK-ENCODING: [0x1f,0x80,0x84,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 1f 80 84 04 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,25 +12,25 @@
asrr z0.b, p0/m, z0.b, z0.b
// CHECK-INST: asrr z0.b, p0/m, z0.b, z0.b
// CHECK-ENCODING: [0x00,0x80,0x14,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 14 04 <unknown>
asrr z0.h, p0/m, z0.h, z0.h
// CHECK-INST: asrr z0.h, p0/m, z0.h, z0.h
// CHECK-ENCODING: [0x00,0x80,0x54,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 54 04 <unknown>
asrr z0.s, p0/m, z0.s, z0.s
// CHECK-INST: asrr z0.s, p0/m, z0.s, z0.s
// CHECK-ENCODING: [0x00,0x80,0x94,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 94 04 <unknown>
asrr z0.d, p0/m, z0.d, z0.d
// CHECK-INST: asrr z0.d, p0/m, z0.d, z0.d
// CHECK-ENCODING: [0x00,0x80,0xd4,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 d4 04 <unknown>
@ -38,23 +40,23 @@ asrr z0.d, p0/m, z0.d, z0.d
movprfx z5.d, p0/z, z7.d
// CHECK-INST: movprfx z5.d, p0/z, z7.d
// CHECK-ENCODING: [0xe5,0x20,0xd0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e5 20 d0 04 <unknown>
asrr z5.d, p0/m, z5.d, z0.d
// CHECK-INST: asrr z5.d, p0/m, z5.d, z0.d
// CHECK-ENCODING: [0x05,0x80,0xd4,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 05 80 d4 04 <unknown>
movprfx z5, z7
// CHECK-INST: movprfx z5, z7
// CHECK-ENCODING: [0xe5,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e5 bc 20 04 <unknown>
asrr z5.d, p0/m, z5.d, z0.d
// CHECK-INST: asrr z5.d, p0/m, z5.d, z0.d
// CHECK-ENCODING: [0x05,0x80,0xd4,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 05 80 d4 04 <unknown>

View File

@ -1,29 +1,31 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve,+bf16 < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve,+bf16 < %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
bfcvt z0.H, p0/m, z1.S
// CHECK-INST: bfcvt z0.h, p0/m, z1.s
// CHECK-ENCODING: [0x20,0xa0,0x8a,0x65]
// CHECK-ERROR: instruction requires: bf16 sve
// CHECK-ERROR: instruction requires: bf16 streaming-sve or sve
movprfx z0.S, p0/m, z2.S
// CHECK-INST: movprfx z0.s, p0/m, z2.s
// CHECK-ENCODING: [0x40,0x20,0x91,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
bfcvt z0.H, p0/m, z1.S
// CHECK-INST: bfcvt z0.h, p0/m, z1.s
// CHECK-ENCODING: [0x20,0xa0,0x8a,0x65]
// CHECK-ERROR: instruction requires: bf16 sve
// CHECK-ERROR: instruction requires: bf16 streaming-sve or sve
movprfx z0, z2
// CHECK-INST: movprfx z0, z2
// CHECK-ENCODING: [0x40,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
bfcvt z0.H, p0/m, z1.S
// CHECK-INST: bfcvt z0.h, p0/m, z1.s
// CHECK-ENCODING: [0x20,0xa0,0x8a,0x65]
// CHECK-ERROR: instruction requires: bf16 sve
// CHECK-ERROR: instruction requires: bf16 streaming-sve or sve

View File

@ -1,29 +1,31 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve,+bf16 < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve,+bf16 < %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
bfcvtnt z0.H, p0/m, z1.S
// CHECK-INST: bfcvtnt z0.h, p0/m, z1.s
// CHECK-ENCODING: [0x20,0xa0,0x8a,0x64]
// CHECK-ERROR: instruction requires: bf16 sve
// CHECK-ERROR: instruction requires: bf16 streaming-sve or sve
movprfx z0.S, p0/m, z2.S
// CHECK-INST: movprfx z0.s, p0/m, z2.s
// CHECK-ENCODING: [0x40,0x20,0x91,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
bfcvtnt z0.H, p0/m, z1.S
// CHECK-INST: bfcvtnt z0.h, p0/m, z1.s
// CHECK-ENCODING: [0x20,0xa0,0x8a,0x64]
// CHECK-ERROR: instruction requires: bf16 sve
// CHECK-ERROR: instruction requires: bf16 streaming-sve or sve
movprfx z0, z2
// CHECK-INST: movprfx z0, z2
// CHECK-ENCODING: [0x40,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
bfcvtnt z0.H, p0/m, z1.S
// CHECK-INST: bfcvtnt z0.h, p0/m, z1.s
// CHECK-ENCODING: [0x20,0xa0,0x8a,0x64]
// CHECK-ERROR: instruction requires: bf16 sve
// CHECK-ERROR: instruction requires: bf16 streaming-sve or sve

View File

@ -1,22 +1,24 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve,+bf16 < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve,+bf16 < %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
bfdot z0.S, z1.H, z2.H
// CHECK-INST: bfdot z0.s, z1.h, z2.h
// CHECK-ENCODING: [0x20,0x80,0x62,0x64]
// CHECK-ERROR: instruction requires: bf16 sve
// CHECK-ERROR: instruction requires: bf16 streaming-sve or sve
bfdot z0.S, z1.H, z2.H[0]
// CHECK-INST: bfdot z0.s, z1.h, z2.h[0]
// CHECK-ENCODING: [0x20,0x40,0x62,0x64]
// CHECK-ERROR: instruction requires: bf16 sve
// CHECK-ERROR: instruction requires: bf16 streaming-sve or sve
bfdot z0.S, z1.H, z2.H[3]
// CHECK-INST: bfdot z0.s, z1.h, z2.h[3]
// CHECK-ENCODING: [0x20,0x40,0x7a,0x64]
// CHECK-ERROR: instruction requires: bf16 sve
// CHECK-ERROR: instruction requires: bf16 streaming-sve or sve
// --------------------------------------------------------------------------//
// Test compatibility with MOVPRFX instruction.
@ -24,29 +26,29 @@ bfdot z0.S, z1.H, z2.H[3]
movprfx z0, z7
// CHECK-INST: movprfx z0, z7
// CHECK-ENCODING: [0xe0,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
bfdot z0.S, z1.H, z2.H
// CHECK-INST: bfdot z0.s, z1.h, z2.h
// CHECK-ENCODING: [0x20,0x80,0x62,0x64]
// CHECK-ERROR: instruction requires: bf16 sve
// CHECK-ERROR: instruction requires: bf16 streaming-sve or sve
movprfx z0, z7
// CHECK-INST: movprfx z0, z7
// CHECK-ENCODING: [0xe0,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
bfdot z0.S, z1.H, z2.H[0]
// CHECK-INST: bfdot z0.s, z1.h, z2.h[0]
// CHECK-ENCODING: [0x20,0x40,0x62,0x64]
// CHECK-ERROR: instruction requires: bf16 sve
// CHECK-ERROR: instruction requires: bf16 streaming-sve or sve
movprfx z0, z7
// CHECK-INST: movprfx z0, z7
// CHECK-ENCODING: [0xe0,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
bfdot z0.S, z1.H, z2.H[3]
// CHECK-INST: bfdot z0.s, z1.h, z2.h[3]
// CHECK-ENCODING: [0x20,0x40,0x7a,0x64]
// CHECK-ERROR: instruction requires: bf16 sve
// CHECK-ERROR: instruction requires: bf16 streaming-sve or sve

View File

@ -1,57 +1,59 @@
// RUN: llvm-mc -o - -triple=aarch64 -show-encoding -mattr=+sve,+bf16 %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve,+bf16 < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: not llvm-mc -o - -triple=aarch64 -show-encoding %s 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
bfmlalb z0.S, z1.H, z2.H
// CHECK-INST: bfmlalb z0.s, z1.h, z2.h
// CHECK-ENCODING: [0x20,0x80,0xe2,0x64]
// CHECK-ERROR: instruction requires: bf16 sve
// CHECK-ERROR: instruction requires: bf16 streaming-sve or sve
bfmlalt z0.S, z1.H, z2.H
// CHECK-INST: bfmlalt z0.s, z1.h, z2.h
// CHECK-ENCODING: [0x20,0x84,0xe2,0x64]
// CHECK-ERROR: instruction requires: bf16 sve
// CHECK-ERROR: instruction requires: bf16 streaming-sve or sve
bfmlalb z0.S, z1.H, z2.H[0]
// CHECK-INST: bfmlalb z0.s, z1.h, z2.h[0]
// CHECK-ENCODING: [0x20,0x40,0xe2,0x64]
// CHECK-ERROR: instruction requires: bf16 sve
// CHECK-ERROR: instruction requires: bf16 streaming-sve or sve
bfmlalt z0.S, z1.H, z2.H[0]
// CHECK-INST: bfmlalt z0.s, z1.h, z2.h[0]
// CHECK-ENCODING: [0x20,0x44,0xe2,0x64]
// CHECK-ERROR: instruction requires: bf16 sve
// CHECK-ERROR: instruction requires: bf16 streaming-sve or sve
bfmlalb z0.S, z1.H, z2.H[7]
// CHECK-INST: bfmlalb z0.s, z1.h, z2.h[7]
// CHECK-ENCODING: [0x20,0x48,0xfa,0x64]
// CHECK-ERROR: instruction requires: bf16 sve
// CHECK-ERROR: instruction requires: bf16 streaming-sve or sve
bfmlalt z0.S, z1.H, z2.H[7]
// CHECK-INST: bfmlalt z0.s, z1.h, z2.h[7]
// CHECK-ENCODING: [0x20,0x4c,0xfa,0x64]
// CHECK-ERROR: instruction requires: bf16 sve
// CHECK-ERROR: instruction requires: bf16 streaming-sve or sve
bfmlalt z0.S, z1.H, z7.H[7]
// CHECK-INST: bfmlalt z0.s, z1.h, z7.h[7]
// CHECK-ENCODING: [0x20,0x4c,0xff,0x64]
// CHECK-ERROR: instruction requires: bf16 sve
// CHECK-ERROR: instruction requires: bf16 streaming-sve or sve
bfmlalb z10.S, z21.H, z14.H
// CHECK-INST: bfmlalb z10.s, z21.h, z14.h
// CHECK-ENCODING: [0xaa,0x82,0xee,0x64]
// CHECK-ERROR: instruction requires: bf16 sve
// CHECK-ERROR: instruction requires: bf16 streaming-sve or sve
bfmlalt z14.S, z10.H, z21.H
// CHECK-INST: bfmlalt z14.s, z10.h, z21.h
// CHECK-ENCODING: [0x4e,0x85,0xf5,0x64]
// CHECK-ERROR: instruction requires: bf16 sve
// CHECK-ERROR: instruction requires: bf16 streaming-sve or sve
bfmlalb z21.s, z14.h, z3.h[2]
// CHECK-INST: bfmlalb z21.s, z14.h, z3.h[2]
// CHECK-ENCODING: [0xd5,0x41,0xeb,0x64]
// CHECK-ERROR: instruction requires: bf16 sve
// CHECK-ERROR: instruction requires: bf16 streaming-sve or sve
// --------------------------------------------------------------------------//
// Test compatibility with MOVPRFX instruction.
@ -59,99 +61,99 @@ bfmlalb z21.s, z14.h, z3.h[2]
movprfx z0, z7
// CHECK-INST: movprfx z0, z7
// CHECK-ENCODING: [0xe0,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
bfmlalb z0.S, z1.H, z2.H
// CHECK-INST: bfmlalb z0.s, z1.h, z2.h
// CHECK-ENCODING: [0x20,0x80,0xe2,0x64]
// CHECK-ERROR: instruction requires: bf16 sve
// CHECK-ERROR: instruction requires: bf16 streaming-sve or sve
movprfx z0, z7
// CHECK-INST: movprfx z0, z7
// CHECK-ENCODING: [0xe0,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
bfmlalt z0.S, z1.H, z2.H
// CHECK-INST: bfmlalt z0.s, z1.h, z2.h
// CHECK-ENCODING: [0x20,0x84,0xe2,0x64]
// CHECK-ERROR: instruction requires: bf16 sve
// CHECK-ERROR: instruction requires: bf16 streaming-sve or sve
movprfx z0, z7
// CHECK-INST: movprfx z0, z7
// CHECK-ENCODING: [0xe0,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
bfmlalb z0.S, z1.H, z2.H[0]
// CHECK-INST: bfmlalb z0.s, z1.h, z2.h[0]
// CHECK-ENCODING: [0x20,0x40,0xe2,0x64]
// CHECK-ERROR: instruction requires: bf16 sve
// CHECK-ERROR: instruction requires: bf16 streaming-sve or sve
movprfx z0, z7
// CHECK-INST: movprfx z0, z7
// CHECK-ENCODING: [0xe0,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
bfmlalt z0.S, z1.H, z2.H[0]
// CHECK-INST: bfmlalt z0.s, z1.h, z2.h[0]
// CHECK-ENCODING: [0x20,0x44,0xe2,0x64]
// CHECK-ERROR: instruction requires: bf16 sve
// CHECK-ERROR: instruction requires: bf16 streaming-sve or sve
movprfx z0, z7
// CHECK-INST: movprfx z0, z7
// CHECK-ENCODING: [0xe0,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
bfmlalb z0.S, z1.H, z2.H[7]
// CHECK-INST: bfmlalb z0.s, z1.h, z2.h[7]
// CHECK-ENCODING: [0x20,0x48,0xfa,0x64]
// CHECK-ERROR: instruction requires: bf16 sve
// CHECK-ERROR: instruction requires: bf16 streaming-sve or sve
movprfx z0, z7
// CHECK-INST: movprfx z0, z7
// CHECK-ENCODING: [0xe0,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
bfmlalt z0.S, z1.H, z2.H[7]
// CHECK-INST: bfmlalt z0.s, z1.h, z2.h[7]
// CHECK-ENCODING: [0x20,0x4c,0xfa,0x64]
// CHECK-ERROR: instruction requires: bf16 sve
// CHECK-ERROR: instruction requires: bf16 streaming-sve or sve
movprfx z0, z7
// CHECK-INST: movprfx z0, z7
// CHECK-ENCODING: [0xe0,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
bfmlalt z0.S, z1.H, z7.H[7]
// CHECK-INST: bfmlalt z0.s, z1.h, z7.h[7]
// CHECK-ENCODING: [0x20,0x4c,0xff,0x64]
// CHECK-ERROR: instruction requires: bf16 sve
// CHECK-ERROR: instruction requires: bf16 streaming-sve or sve
movprfx z10, z7
// CHECK-INST: movprfx z10, z7
// CHECK-ENCODING: [0xea,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
bfmlalb z10.S, z21.H, z14.H
// CHECK-INST: bfmlalb z10.s, z21.h, z14.h
// CHECK-ENCODING: [0xaa,0x82,0xee,0x64]
// CHECK-ERROR: instruction requires: bf16 sve
// CHECK-ERROR: instruction requires: bf16 streaming-sve or sve
movprfx z14, z7
// CHECK-INST: movprfx z14, z7
// CHECK-ENCODING: [0xee,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
bfmlalt z14.S, z10.H, z21.H
// CHECK-INST: bfmlalt z14.s, z10.h, z21.h
// CHECK-ENCODING: [0x4e,0x85,0xf5,0x64]
// CHECK-ERROR: instruction requires: bf16 sve
// CHECK-ERROR: instruction requires: bf16 streaming-sve or sve
movprfx z21, z7
// CHECK-INST: movprfx z21, z7
// CHECK-ENCODING: [0xf5,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
bfmlalb z21.s, z14.h, z3.h[2]
// CHECK-INST: bfmlalb z21.s, z14.h, z3.h[2]
// CHECK-ENCODING: [0xd5,0x41,0xeb,0x64]
// CHECK-ERROR: instruction requires: bf16 sve
// CHECK-ERROR: instruction requires: bf16 streaming-sve or sve

View File

@ -14,7 +14,7 @@ bfmmla z0.S, z1.H, z2.H
movprfx z0, z7
// CHECK-INST: movprfx z0, z7
// CHECK-ENCODING: [0xe0,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
bfmmla z0.S, z1.H, z2.H
// CHECK-INST: bfmmla z0.s, z1.h, z2.h

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,97 +12,97 @@
bic z5.b, z5.b, #0xf9
// CHECK-INST: and z5.b, z5.b, #0x6
// CHECK-ENCODING: [0x25,0x3e,0x80,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 25 3e 80 05 <unknown>
bic z23.h, z23.h, #0xfff9
// CHECK-INST: and z23.h, z23.h, #0x6
// CHECK-ENCODING: [0x37,0x7c,0x80,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 37 7c 80 05 <unknown>
bic z0.s, z0.s, #0xfffffff9
// CHECK-INST: and z0.s, z0.s, #0x6
// CHECK-ENCODING: [0x20,0xf8,0x80,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 f8 80 05 <unknown>
bic z0.d, z0.d, #0xfffffffffffffff9
// CHECK-INST: and z0.d, z0.d, #0x6
// CHECK-ENCODING: [0x20,0xf8,0x83,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 f8 83 05 <unknown>
bic z5.b, z5.b, #0x6
// CHECK-INST: and z5.b, z5.b, #0xf9
// CHECK-ENCODING: [0xa5,0x2e,0x80,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a5 2e 80 05 <unknown>
bic z23.h, z23.h, #0x6
// CHECK-INST: and z23.h, z23.h, #0xfff9
// CHECK-ENCODING: [0xb7,0x6d,0x80,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: b7 6d 80 05 <unknown>
bic z0.s, z0.s, #0x6
// CHECK-INST: and z0.s, z0.s, #0xfffffff9
// CHECK-ENCODING: [0xa0,0xeb,0x80,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 eb 80 05 <unknown>
bic z0.d, z0.d, #0x6
// CHECK-INST: and z0.d, z0.d, #0xfffffffffffffff9
// CHECK-ENCODING: [0xa0,0xef,0x83,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 ef 83 05 <unknown>
bic z0.d, z0.d, z0.d
// CHECK-INST: bic z0.d, z0.d, z0.d
// CHECK-ENCODING: [0x00,0x30,0xe0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 30 e0 04 <unknown>
bic z23.d, z13.d, z8.d
// CHECK-INST: bic z23.d, z13.d, z8.d
// CHECK-ENCODING: [0xb7,0x31,0xe8,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: b7 31 e8 04 <unknown>
bic z31.b, p7/m, z31.b, z31.b
// CHECK-INST: bic z31.b, p7/m, z31.b, z31.b
// CHECK-ENCODING: [0xff,0x1f,0x1b,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 1f 1b 04 <unknown>
bic z31.h, p7/m, z31.h, z31.h
// CHECK-INST: bic z31.h, p7/m, z31.h, z31.h
// CHECK-ENCODING: [0xff,0x1f,0x5b,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 1f 5b 04 <unknown>
bic z31.s, p7/m, z31.s, z31.s
// CHECK-INST: bic z31.s, p7/m, z31.s, z31.s
// CHECK-ENCODING: [0xff,0x1f,0x9b,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 1f 9b 04 <unknown>
bic z31.d, p7/m, z31.d, z31.d
// CHECK-INST: bic z31.d, p7/m, z31.d, z31.d
// CHECK-ENCODING: [0xff,0x1f,0xdb,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 1f db 04 <unknown>
bic p15.b, p15/z, p15.b, p15.b
// CHECK-INST: bic p15.b, p15/z, p15.b, p15.b
// CHECK-ENCODING: [0xff,0x7d,0x0f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 7d 0f 25 <unknown>
bic p0.b, p0/z, p0.b, p0.b
// CHECK-INST: bic p0.b, p0/z, p0.b, p0.b
// CHECK-ENCODING: [0x10,0x40,0x00,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 40 00 25 <unknown>
@ -110,19 +112,19 @@ bic p0.b, p0/z, p0.b, p0.b
bic z0.s, z0.s, z0.s
// CHECK-INST: bic z0.d, z0.d, z0.d
// CHECK-ENCODING: [0x00,0x30,0xe0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 30 e0 04 <unknown>
bic z0.h, z0.h, z0.h
// CHECK-INST: bic z0.d, z0.d, z0.d
// CHECK-ENCODING: [0x00,0x30,0xe0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 30 e0 04 <unknown>
bic z0.b, z0.b, z0.b
// CHECK-INST: bic z0.d, z0.d, z0.d
// CHECK-ENCODING: [0x00,0x30,0xe0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 30 e0 04 <unknown>
@ -132,35 +134,35 @@ bic z0.b, z0.b, z0.b
movprfx z4.d, p7/z, z6.d
// CHECK-INST: movprfx z4.d, p7/z, z6.d
// CHECK-ENCODING: [0xc4,0x3c,0xd0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c4 3c d0 04 <unknown>
bic z4.d, p7/m, z4.d, z31.d
// CHECK-INST: bic z4.d, p7/m, z4.d, z31.d
// CHECK-ENCODING: [0xe4,0x1f,0xdb,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e4 1f db 04 <unknown>
movprfx z4, z6
// CHECK-INST: movprfx z4, z6
// CHECK-ENCODING: [0xc4,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c4 bc 20 04 <unknown>
bic z4.d, p7/m, z4.d, z31.d
// CHECK-INST: bic z4.d, p7/m, z4.d, z31.d
// CHECK-ENCODING: [0xe4,0x1f,0xdb,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e4 1f db 04 <unknown>
movprfx z0, z7
// CHECK-INST: movprfx z0, z7
// CHECK-ENCODING: [0xe0,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 bc 20 04 <unknown>
bic z0.d, z0.d, #0x6
// CHECK-INST: and z0.d, z0.d, #0xfffffffffffffff9
// CHECK-ENCODING: [0xa0,0xef,0x83,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 ef 83 05 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,11 +12,11 @@
bics p0.b, p0/z, p0.b, p0.b
// CHECK-INST: bics p0.b, p0/z, p0.b, p0.b
// CHECK-ENCODING: [0x10,0x40,0x40,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 40 40 25 <unknown>
bics p15.b, p15/z, p15.b, p15.b
// CHECK-INST: bics p15.b, p15/z, p15.b, p15.b
// CHECK-ENCODING: [0xff,0x7d,0x4f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 7d 4f 25 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,11 +12,11 @@
brka p0.b, p15/m, p15.b
// CHECK-INST: brka p0.b, p15/m, p15.b
// CHECK-ENCODING: [0xf0,0x7d,0x10,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: f0 7d 10 25 <unknown>
brka p0.b, p15/z, p15.b
// CHECK-INST: brka p0.b, p15/z, p15.b
// CHECK-ENCODING: [0xe0,0x7d,0x10,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 7d 10 25 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,5 +12,5 @@
brkas p0.b, p15/z, p15.b
// CHECK-INST: brkas p0.b, p15/z, p15.b
// CHECK-ENCODING: [0xe0,0x7d,0x50,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 7d 50 25 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,11 +12,11 @@
brkb p0.b, p15/m, p15.b
// CHECK-INST: brkb p0.b, p15/m, p15.b
// CHECK-ENCODING: [0xf0,0x7d,0x90,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: f0 7d 90 25 <unknown>
brkb p0.b, p15/z, p15.b
// CHECK-INST: brkb p0.b, p15/z, p15.b
// CHECK-ENCODING: [0xe0,0x7d,0x90,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 7d 90 25 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,5 +12,5 @@
brkbs p0.b, p15/z, p15.b
// CHECK-INST: brkbs p0.b, p15/z, p15.b
// CHECK-ENCODING: [0xe0,0x7d,0xd0,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 7d d0 25 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,11 +12,11 @@
brkn p0.b, p15/z, p1.b, p0.b
// CHECK-INST: brkn p0.b, p15/z, p1.b, p0.b
// CHECK-ENCODING: [0x20,0x7c,0x18,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 7c 18 25 <unknown>
brkn p15.b, p15/z, p15.b, p15.b
// CHECK-INST: brkn p15.b, p15/z, p15.b, p15.b
// CHECK-ENCODING: [0xef,0x7d,0x18,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ef 7d 18 25 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,11 +12,11 @@
brkns p0.b, p15/z, p1.b, p0.b
// CHECK-INST: brkns p0.b, p15/z, p1.b, p0.b
// CHECK-ENCODING: [0x20,0x7c,0x58,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 7c 58 25 <unknown>
brkns p15.b, p15/z, p15.b, p15.b
// CHECK-INST: brkns p15.b, p15/z, p15.b, p15.b
// CHECK-ENCODING: [0xef,0x7d,0x58,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ef 7d 58 25 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,11 +12,11 @@
brkpa p0.b, p15/z, p1.b, p2.b
// CHECK-INST: brkpa p0.b, p15/z, p1.b, p2.b
// CHECK-ENCODING: [0x20,0xfc,0x02,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 fc 02 25 <unknown>
brkpa p15.b, p15/z, p15.b, p15.b
// CHECK-INST: brkpa p15.b, p15/z, p15.b, p15.b
// CHECK-ENCODING: [0xef,0xfd,0x0f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ef fd 0f 25 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,11 +12,11 @@
brkpas p0.b, p15/z, p1.b, p2.b
// CHECK-INST: brkpas p0.b, p15/z, p1.b, p2.b
// CHECK-ENCODING: [0x20,0xfc,0x42,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 fc 42 25 <unknown>
brkpas p15.b, p15/z, p15.b, p15.b
// CHECK-INST: brkpas p15.b, p15/z, p15.b, p15.b
// CHECK-ENCODING: [0xef,0xfd,0x4f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ef fd 4f 25 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,11 +12,11 @@
brkpb p0.b, p15/z, p1.b, p2.b
// CHECK-INST: brkpb p0.b, p15/z, p1.b, p2.b
// CHECK-ENCODING: [0x30,0xfc,0x02,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 30 fc 02 25 <unknown>
brkpb p15.b, p15/z, p15.b, p15.b
// CHECK-INST: brkpb p15.b, p15/z, p15.b, p15.b
// CHECK-ENCODING: [0xff,0xfd,0x0f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff fd 0f 25 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,11 +12,11 @@
brkpbs p0.b, p15/z, p1.b, p2.b
// CHECK-INST: brkpbs p0.b, p15/z, p1.b, p2.b
// CHECK-ENCODING: [0x30,0xfc,0x42,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 30 fc 42 25 <unknown>
brkpbs p15.b, p15/z, p15.b, p15.b
// CHECK-INST: brkpbs p15.b, p15/z, p15.b, p15.b
// CHECK-ENCODING: [0xff,0xfd,0x4f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff fd 4f 25 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,73 +12,73 @@
clasta w0, p7, w0, z31.b
// CHECK-INST: clasta w0, p7, w0, z31.b
// CHECK-ENCODING: [0xe0,0xbf,0x30,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 bf 30 05 <unknown>
clasta w0, p7, w0, z31.h
// CHECK-INST: clasta w0, p7, w0, z31.h
// CHECK-ENCODING: [0xe0,0xbf,0x70,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 bf 70 05 <unknown>
clasta w0, p7, w0, z31.s
// CHECK-INST: clasta w0, p7, w0, z31.s
// CHECK-ENCODING: [0xe0,0xbf,0xb0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 bf b0 05 <unknown>
clasta x0, p7, x0, z31.d
// CHECK-INST: clasta x0, p7, x0, z31.d
// CHECK-ENCODING: [0xe0,0xbf,0xf0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 bf f0 05 <unknown>
clasta b0, p7, b0, z31.b
// CHECK-INST: clasta b0, p7, b0, z31.b
// CHECK-ENCODING: [0xe0,0x9f,0x2a,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f 2a 05 <unknown>
clasta h0, p7, h0, z31.h
// CHECK-INST: clasta h0, p7, h0, z31.h
// CHECK-ENCODING: [0xe0,0x9f,0x6a,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f 6a 05 <unknown>
clasta s0, p7, s0, z31.s
// CHECK-INST: clasta s0, p7, s0, z31.s
// CHECK-ENCODING: [0xe0,0x9f,0xaa,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f aa 05 <unknown>
clasta d0, p7, d0, z31.d
// CHECK-INST: clasta d0, p7, d0, z31.d
// CHECK-ENCODING: [0xe0,0x9f,0xea,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f ea 05 <unknown>
clasta z0.b, p7, z0.b, z31.b
// CHECK-INST: clasta z0.b, p7, z0.b, z31.b
// CHECK-ENCODING: [0xe0,0x9f,0x28,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f 28 05 <unknown>
clasta z0.h, p7, z0.h, z31.h
// CHECK-INST: clasta z0.h, p7, z0.h, z31.h
// CHECK-ENCODING: [0xe0,0x9f,0x68,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f 68 05 <unknown>
clasta z0.s, p7, z0.s, z31.s
// CHECK-INST: clasta z0.s, p7, z0.s, z31.s
// CHECK-ENCODING: [0xe0,0x9f,0xa8,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f a8 05 <unknown>
clasta z0.d, p7, z0.d, z31.d
// CHECK-INST: clasta z0.d, p7, z0.d, z31.d
// CHECK-ENCODING: [0xe0,0x9f,0xe8,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f e8 05 <unknown>
@ -86,11 +88,11 @@ clasta z0.d, p7, z0.d, z31.d
movprfx z0, z7
// CHECK-INST: movprfx z0, z7
// CHECK-ENCODING: [0xe0,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 bc 20 04 <unknown>
clasta z0.d, p7, z0.d, z31.d
// CHECK-INST: clasta z0.d, p7, z0.d, z31.d
// CHECK-ENCODING: [0xe0,0x9f,0xe8,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f e8 05 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,73 +12,73 @@
clastb w0, p7, w0, z31.b
// CHECK-INST: clastb w0, p7, w0, z31.b
// CHECK-ENCODING: [0xe0,0xbf,0x31,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 bf 31 05 <unknown>
clastb w0, p7, w0, z31.h
// CHECK-INST: clastb w0, p7, w0, z31.h
// CHECK-ENCODING: [0xe0,0xbf,0x71,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 bf 71 05 <unknown>
clastb w0, p7, w0, z31.s
// CHECK-INST: clastb w0, p7, w0, z31.s
// CHECK-ENCODING: [0xe0,0xbf,0xb1,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 bf b1 05 <unknown>
clastb x0, p7, x0, z31.d
// CHECK-INST: clastb x0, p7, x0, z31.d
// CHECK-ENCODING: [0xe0,0xbf,0xf1,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 bf f1 05 <unknown>
clastb b0, p7, b0, z31.b
// CHECK-INST: clastb b0, p7, b0, z31.b
// CHECK-ENCODING: [0xe0,0x9f,0x2b,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f 2b 05 <unknown>
clastb h0, p7, h0, z31.h
// CHECK-INST: clastb h0, p7, h0, z31.h
// CHECK-ENCODING: [0xe0,0x9f,0x6b,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f 6b 05 <unknown>
clastb s0, p7, s0, z31.s
// CHECK-INST: clastb s0, p7, s0, z31.s
// CHECK-ENCODING: [0xe0,0x9f,0xab,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f ab 05 <unknown>
clastb d0, p7, d0, z31.d
// CHECK-INST: clastb d0, p7, d0, z31.d
// CHECK-ENCODING: [0xe0,0x9f,0xeb,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f eb 05 <unknown>
clastb z0.b, p7, z0.b, z31.b
// CHECK-INST: clastb z0.b, p7, z0.b, z31.b
// CHECK-ENCODING: [0xe0,0x9f,0x29,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f 29 05 <unknown>
clastb z0.h, p7, z0.h, z31.h
// CHECK-INST: clastb z0.h, p7, z0.h, z31.h
// CHECK-ENCODING: [0xe0,0x9f,0x69,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f 69 05 <unknown>
clastb z0.s, p7, z0.s, z31.s
// CHECK-INST: clastb z0.s, p7, z0.s, z31.s
// CHECK-ENCODING: [0xe0,0x9f,0xa9,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f a9 05 <unknown>
clastb z0.d, p7, z0.d, z31.d
// CHECK-INST: clastb z0.d, p7, z0.d, z31.d
// CHECK-ENCODING: [0xe0,0x9f,0xe9,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f e9 05 <unknown>
@ -86,11 +88,11 @@ clastb z0.d, p7, z0.d, z31.d
movprfx z0, z7
// CHECK-INST: movprfx z0, z7
// CHECK-ENCODING: [0xe0,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 bc 20 04 <unknown>
clastb z0.d, p7, z0.d, z31.d
// CHECK-INST: clastb z0.d, p7, z0.d, z31.d
// CHECK-ENCODING: [0xe0,0x9f,0xe9,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f e9 05 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,25 +12,25 @@
cls z31.b, p7/m, z31.b
// CHECK-INST: cls z31.b, p7/m, z31.b
// CHECK-ENCODING: [0xff,0xbf,0x18,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf 18 04 <unknown>
cls z31.h, p7/m, z31.h
// CHECK-INST: cls z31.h, p7/m, z31.h
// CHECK-ENCODING: [0xff,0xbf,0x58,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf 58 04 <unknown>
cls z31.s, p7/m, z31.s
// CHECK-INST: cls z31.s, p7/m, z31.s
// CHECK-ENCODING: [0xff,0xbf,0x98,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf 98 04 <unknown>
cls z31.d, p7/m, z31.d
// CHECK-INST: cls z31.d, p7/m, z31.d
// CHECK-ENCODING: [0xff,0xbf,0xd8,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf d8 04 <unknown>
@ -38,23 +40,23 @@ cls z31.d, p7/m, z31.d
movprfx z4.d, p7/z, z6.d
// CHECK-INST: movprfx z4.d, p7/z, z6.d
// CHECK-ENCODING: [0xc4,0x3c,0xd0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c4 3c d0 04 <unknown>
cls z4.d, p7/m, z31.d
// CHECK-INST: cls z4.d, p7/m, z31.d
// CHECK-ENCODING: [0xe4,0xbf,0xd8,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e4 bf d8 04 <unknown>
movprfx z4, z6
// CHECK-INST: movprfx z4, z6
// CHECK-ENCODING: [0xc4,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c4 bc 20 04 <unknown>
cls z4.d, p7/m, z31.d
// CHECK-INST: cls z4.d, p7/m, z31.d
// CHECK-ENCODING: [0xe4,0xbf,0xd8,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e4 bf d8 04 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,25 +12,25 @@
clz z31.b, p7/m, z31.b
// CHECK-INST: clz z31.b, p7/m, z31.b
// CHECK-ENCODING: [0xff,0xbf,0x19,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf 19 04 <unknown>
clz z31.h, p7/m, z31.h
// CHECK-INST: clz z31.h, p7/m, z31.h
// CHECK-ENCODING: [0xff,0xbf,0x59,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf 59 04 <unknown>
clz z31.s, p7/m, z31.s
// CHECK-INST: clz z31.s, p7/m, z31.s
// CHECK-ENCODING: [0xff,0xbf,0x99,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf 99 04 <unknown>
clz z31.d, p7/m, z31.d
// CHECK-INST: clz z31.d, p7/m, z31.d
// CHECK-ENCODING: [0xff,0xbf,0xd9,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf d9 04 <unknown>
@ -38,23 +40,23 @@ clz z31.d, p7/m, z31.d
movprfx z4.d, p7/z, z6.d
// CHECK-INST: movprfx z4.d, p7/z, z6.d
// CHECK-ENCODING: [0xc4,0x3c,0xd0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c4 3c d0 04 <unknown>
clz z4.d, p7/m, z31.d
// CHECK-INST: clz z4.d, p7/m, z31.d
// CHECK-ENCODING: [0xe4,0xbf,0xd9,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e4 bf d9 04 <unknown>
movprfx z4, z6
// CHECK-INST: movprfx z4, z6
// CHECK-ENCODING: [0xc4,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c4 bc 20 04 <unknown>
clz z4.d, p7/m, z31.d
// CHECK-INST: clz z4.d, p7/m, z31.d
// CHECK-ENCODING: [0xe4,0xbf,0xd9,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e4 bf d9 04 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -11,89 +13,89 @@
cmpeq p0.b, p0/z, z0.b, z0.b
// CHECK-INST: cmpeq p0.b, p0/z, z0.b, z0.b
// CHECK-ENCODING: [0x00,0xa0,0x00,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 a0 00 24 <unknown>
cmpeq p0.h, p0/z, z0.h, z0.h
// CHECK-INST: cmpeq p0.h, p0/z, z0.h, z0.h
// CHECK-ENCODING: [0x00,0xa0,0x40,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 a0 40 24 <unknown>
cmpeq p0.s, p0/z, z0.s, z0.s
// CHECK-INST: cmpeq p0.s, p0/z, z0.s, z0.s
// CHECK-ENCODING: [0x00,0xa0,0x80,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 a0 80 24 <unknown>
cmpeq p0.d, p0/z, z0.d, z0.d
// CHECK-INST: cmpeq p0.d, p0/z, z0.d, z0.d
// CHECK-ENCODING: [0x00,0xa0,0xc0,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 a0 c0 24 <unknown>
cmpeq p0.b, p0/z, z0.b, z0.d
// CHECK-INST: cmpeq p0.b, p0/z, z0.b, z0.d
// CHECK-ENCODING: [0x00,0x20,0x00,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 00 24 <unknown>
cmpeq p0.h, p0/z, z0.h, z0.d
// CHECK-INST: cmpeq p0.h, p0/z, z0.h, z0.d
// CHECK-ENCODING: [0x00,0x20,0x40,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 40 24 <unknown>
cmpeq p0.s, p0/z, z0.s, z0.d
// CHECK-INST: cmpeq p0.s, p0/z, z0.s, z0.d
// CHECK-ENCODING: [0x00,0x20,0x80,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 80 24 <unknown>
cmpeq p0.b, p0/z, z0.b, #-16
// CHECK-INST: cmpeq p0.b, p0/z, z0.b, #-16
// CHECK-ENCODING: [0x00,0x80,0x10,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 10 25 <unknown>
cmpeq p0.h, p0/z, z0.h, #-16
// CHECK-INST: cmpeq p0.h, p0/z, z0.h, #-16
// CHECK-ENCODING: [0x00,0x80,0x50,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 50 25 <unknown>
cmpeq p0.s, p0/z, z0.s, #-16
// CHECK-INST: cmpeq p0.s, p0/z, z0.s, #-16
// CHECK-ENCODING: [0x00,0x80,0x90,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 90 25 <unknown>
cmpeq p0.d, p0/z, z0.d, #-16
// CHECK-INST: cmpeq p0.d, p0/z, z0.d, #-16
// CHECK-ENCODING: [0x00,0x80,0xd0,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 d0 25 <unknown>
cmpeq p0.b, p0/z, z0.b, #15
// CHECK-INST: cmpeq p0.b, p0/z, z0.b, #15
// CHECK-ENCODING: [0x00,0x80,0x0f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 0f 25 <unknown>
cmpeq p0.h, p0/z, z0.h, #15
// CHECK-INST: cmpeq p0.h, p0/z, z0.h, #15
// CHECK-ENCODING: [0x00,0x80,0x4f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 4f 25 <unknown>
cmpeq p0.s, p0/z, z0.s, #15
// CHECK-INST: cmpeq p0.s, p0/z, z0.s, #15
// CHECK-ENCODING: [0x00,0x80,0x8f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 8f 25 <unknown>
cmpeq p0.d, p0/z, z0.d, #15
// CHECK-INST: cmpeq p0.d, p0/z, z0.d, #15
// CHECK-ENCODING: [0x00,0x80,0xcf,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 cf 25 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,89 +12,89 @@
cmpge p0.b, p0/z, z0.b, z0.b
// CHECK-INST: cmpge p0.b, p0/z, z0.b, z0.b
// CHECK-ENCODING: [0x00,0x80,0x00,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 00 24 <unknown>
cmpge p0.h, p0/z, z0.h, z0.h
// CHECK-INST: cmpge p0.h, p0/z, z0.h, z0.h
// CHECK-ENCODING: [0x00,0x80,0x40,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 40 24 <unknown>
cmpge p0.s, p0/z, z0.s, z0.s
// CHECK-INST: cmpge p0.s, p0/z, z0.s, z0.s
// CHECK-ENCODING: [0x00,0x80,0x80,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 80 24 <unknown>
cmpge p0.d, p0/z, z0.d, z0.d
// CHECK-INST: cmpge p0.d, p0/z, z0.d, z0.d
// CHECK-ENCODING: [0x00,0x80,0xc0,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 c0 24 <unknown>
cmpge p0.b, p0/z, z0.b, z0.d
// CHECK-INST: cmpge p0.b, p0/z, z0.b, z0.d
// CHECK-ENCODING: [0x00,0x40,0x00,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 40 00 24 <unknown>
cmpge p0.h, p0/z, z0.h, z0.d
// CHECK-INST: cmpge p0.h, p0/z, z0.h, z0.d
// CHECK-ENCODING: [0x00,0x40,0x40,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 40 40 24 <unknown>
cmpge p0.s, p0/z, z0.s, z0.d
// CHECK-INST: cmpge p0.s, p0/z, z0.s, z0.d
// CHECK-ENCODING: [0x00,0x40,0x80,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 40 80 24 <unknown>
cmpge p0.b, p0/z, z0.b, #-16
// CHECK-INST: cmpge p0.b, p0/z, z0.b, #-16
// CHECK-ENCODING: [0x00,0x00,0x10,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 00 10 25 <unknown>
cmpge p0.h, p0/z, z0.h, #-16
// CHECK-INST: cmpge p0.h, p0/z, z0.h, #-16
// CHECK-ENCODING: [0x00,0x00,0x50,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 00 50 25 <unknown>
cmpge p0.s, p0/z, z0.s, #-16
// CHECK-INST: cmpge p0.s, p0/z, z0.s, #-16
// CHECK-ENCODING: [0x00,0x00,0x90,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 00 90 25 <unknown>
cmpge p0.d, p0/z, z0.d, #-16
// CHECK-INST: cmpge p0.d, p0/z, z0.d, #-16
// CHECK-ENCODING: [0x00,0x00,0xd0,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 00 d0 25 <unknown>
cmpge p0.b, p0/z, z0.b, #15
// CHECK-INST: cmpge p0.b, p0/z, z0.b, #15
// CHECK-ENCODING: [0x00,0x00,0x0f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 00 0f 25 <unknown>
cmpge p0.h, p0/z, z0.h, #15
// CHECK-INST: cmpge p0.h, p0/z, z0.h, #15
// CHECK-ENCODING: [0x00,0x00,0x4f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 00 4f 25 <unknown>
cmpge p0.s, p0/z, z0.s, #15
// CHECK-INST: cmpge p0.s, p0/z, z0.s, #15
// CHECK-ENCODING: [0x00,0x00,0x8f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 00 8f 25 <unknown>
cmpge p0.d, p0/z, z0.d, #15
// CHECK-INST: cmpge p0.d, p0/z, z0.d, #15
// CHECK-ENCODING: [0x00,0x00,0xcf,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 00 cf 25 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -11,89 +13,89 @@
cmpgt p0.b, p0/z, z0.b, z0.b
// CHECK-INST: cmpgt p0.b, p0/z, z0.b, z0.b
// CHECK-ENCODING: [0x10,0x80,0x00,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 80 00 24 <unknown>
cmpgt p0.h, p0/z, z0.h, z0.h
// CHECK-INST: cmpgt p0.h, p0/z, z0.h, z0.h
// CHECK-ENCODING: [0x10,0x80,0x40,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 80 40 24 <unknown>
cmpgt p0.s, p0/z, z0.s, z0.s
// CHECK-INST: cmpgt p0.s, p0/z, z0.s, z0.s
// CHECK-ENCODING: [0x10,0x80,0x80,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 80 80 24 <unknown>
cmpgt p0.d, p0/z, z0.d, z0.d
// CHECK-INST: cmpgt p0.d, p0/z, z0.d, z0.d
// CHECK-ENCODING: [0x10,0x80,0xc0,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 80 c0 24 <unknown>
cmpgt p0.b, p0/z, z0.b, z0.d
// CHECK-INST: cmpgt p0.b, p0/z, z0.b, z0.d
// CHECK-ENCODING: [0x10,0x40,0x00,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 40 00 24 <unknown>
cmpgt p0.h, p0/z, z0.h, z0.d
// CHECK-INST: cmpgt p0.h, p0/z, z0.h, z0.d
// CHECK-ENCODING: [0x10,0x40,0x40,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 40 40 24 <unknown>
cmpgt p0.s, p0/z, z0.s, z0.d
// CHECK-INST: cmpgt p0.s, p0/z, z0.s, z0.d
// CHECK-ENCODING: [0x10,0x40,0x80,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 40 80 24 <unknown>
cmpgt p0.b, p0/z, z0.b, #-16
// CHECK-INST: cmpgt p0.b, p0/z, z0.b, #-16
// CHECK-ENCODING: [0x10,0x00,0x10,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 00 10 25 <unknown>
cmpgt p0.h, p0/z, z0.h, #-16
// CHECK-INST: cmpgt p0.h, p0/z, z0.h, #-16
// CHECK-ENCODING: [0x10,0x00,0x50,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 00 50 25 <unknown>
cmpgt p0.s, p0/z, z0.s, #-16
// CHECK-INST: cmpgt p0.s, p0/z, z0.s, #-16
// CHECK-ENCODING: [0x10,0x00,0x90,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 00 90 25 <unknown>
cmpgt p0.d, p0/z, z0.d, #-16
// CHECK-INST: cmpgt p0.d, p0/z, z0.d, #-16
// CHECK-ENCODING: [0x10,0x00,0xd0,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 00 d0 25 <unknown>
cmpgt p0.b, p0/z, z0.b, #15
// CHECK-INST: cmpgt p0.b, p0/z, z0.b, #15
// CHECK-ENCODING: [0x10,0x00,0x0f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 00 0f 25 <unknown>
cmpgt p0.h, p0/z, z0.h, #15
// CHECK-INST: cmpgt p0.h, p0/z, z0.h, #15
// CHECK-ENCODING: [0x10,0x00,0x4f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 00 4f 25 <unknown>
cmpgt p0.s, p0/z, z0.s, #15
// CHECK-INST: cmpgt p0.s, p0/z, z0.s, #15
// CHECK-ENCODING: [0x10,0x00,0x8f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 00 8f 25 <unknown>
cmpgt p0.d, p0/z, z0.d, #15
// CHECK-INST: cmpgt p0.d, p0/z, z0.d, #15
// CHECK-ENCODING: [0x10,0x00,0xcf,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 00 cf 25 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -11,89 +13,89 @@
cmphi p0.b, p0/z, z0.b, z0.b
// CHECK-INST: cmphi p0.b, p0/z, z0.b, z0.b
// CHECK-ENCODING: [0x10,0x00,0x00,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 00 00 24 <unknown>
cmphi p0.h, p0/z, z0.h, z0.h
// CHECK-INST: cmphi p0.h, p0/z, z0.h, z0.h
// CHECK-ENCODING: [0x10,0x00,0x40,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 00 40 24 <unknown>
cmphi p0.s, p0/z, z0.s, z0.s
// CHECK-INST: cmphi p0.s, p0/z, z0.s, z0.s
// CHECK-ENCODING: [0x10,0x00,0x80,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 00 80 24 <unknown>
cmphi p0.d, p0/z, z0.d, z0.d
// CHECK-INST: cmphi p0.d, p0/z, z0.d, z0.d
// CHECK-ENCODING: [0x10,0x00,0xc0,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 00 c0 24 <unknown>
cmphi p0.b, p0/z, z0.b, z0.d
// CHECK-INST: cmphi p0.b, p0/z, z0.b, z0.d
// CHECK-ENCODING: [0x10,0xc0,0x00,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 c0 00 24 <unknown>
cmphi p0.h, p0/z, z0.h, z0.d
// CHECK-INST: cmphi p0.h, p0/z, z0.h, z0.d
// CHECK-ENCODING: [0x10,0xc0,0x40,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 c0 40 24 <unknown>
cmphi p0.s, p0/z, z0.s, z0.d
// CHECK-INST: cmphi p0.s, p0/z, z0.s, z0.d
// CHECK-ENCODING: [0x10,0xc0,0x80,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 c0 80 24 <unknown>
cmphi p0.b, p0/z, z0.b, #0
// CHECK-INST: cmphi p0.b, p0/z, z0.b, #0
// CHECK-ENCODING: [0x10,0x00,0x20,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 00 20 24 <unknown>
cmphi p0.h, p0/z, z0.h, #0
// CHECK-INST: cmphi p0.h, p0/z, z0.h, #0
// CHECK-ENCODING: [0x10,0x00,0x60,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 00 60 24 <unknown>
cmphi p0.s, p0/z, z0.s, #0
// CHECK-INST: cmphi p0.s, p0/z, z0.s, #0
// CHECK-ENCODING: [0x10,0x00,0xa0,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 00 a0 24 <unknown>
cmphi p0.d, p0/z, z0.d, #0
// CHECK-INST: cmphi p0.d, p0/z, z0.d, #0
// CHECK-ENCODING: [0x10,0x00,0xe0,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 00 e0 24 <unknown>
cmphi p0.b, p0/z, z0.b, #127
// CHECK-INST: cmphi p0.b, p0/z, z0.b, #127
// CHECK-ENCODING: [0x10,0xc0,0x3f,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 c0 3f 24 <unknown>
cmphi p0.h, p0/z, z0.h, #127
// CHECK-INST: cmphi p0.h, p0/z, z0.h, #127
// CHECK-ENCODING: [0x10,0xc0,0x7f,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 c0 7f 24 <unknown>
cmphi p0.s, p0/z, z0.s, #127
// CHECK-INST: cmphi p0.s, p0/z, z0.s, #127
// CHECK-ENCODING: [0x10,0xc0,0xbf,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 c0 bf 24 <unknown>
cmphi p0.d, p0/z, z0.d, #127
// CHECK-INST: cmphi p0.d, p0/z, z0.d, #127
// CHECK-ENCODING: [0x10,0xc0,0xff,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 c0 ff 24 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -11,89 +13,89 @@
cmphs p0.b, p0/z, z0.b, z0.b
// CHECK-INST: cmphs p0.b, p0/z, z0.b, z0.b
// CHECK-ENCODING: [0x00,0x00,0x00,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 00 00 24 <unknown>
cmphs p0.h, p0/z, z0.h, z0.h
// CHECK-INST: cmphs p0.h, p0/z, z0.h, z0.h
// CHECK-ENCODING: [0x00,0x00,0x40,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 00 40 24 <unknown>
cmphs p0.s, p0/z, z0.s, z0.s
// CHECK-INST: cmphs p0.s, p0/z, z0.s, z0.s
// CHECK-ENCODING: [0x00,0x00,0x80,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 00 80 24 <unknown>
cmphs p0.d, p0/z, z0.d, z0.d
// CHECK-INST: cmphs p0.d, p0/z, z0.d, z0.d
// CHECK-ENCODING: [0x00,0x00,0xc0,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 00 c0 24 <unknown>
cmphs p0.b, p0/z, z0.b, z0.d
// CHECK-INST: cmphs p0.b, p0/z, z0.b, z0.d
// CHECK-ENCODING: [0x00,0xc0,0x00,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 c0 00 24 <unknown>
cmphs p0.h, p0/z, z0.h, z0.d
// CHECK-INST: cmphs p0.h, p0/z, z0.h, z0.d
// CHECK-ENCODING: [0x00,0xc0,0x40,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 c0 40 24 <unknown>
cmphs p0.s, p0/z, z0.s, z0.d
// CHECK-INST: cmphs p0.s, p0/z, z0.s, z0.d
// CHECK-ENCODING: [0x00,0xc0,0x80,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 c0 80 24 <unknown>
cmphs p0.b, p0/z, z0.b, #0
// CHECK-INST: cmphs p0.b, p0/z, z0.b, #0
// CHECK-ENCODING: [0x00,0x00,0x20,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 00 20 24 <unknown>
cmphs p0.h, p0/z, z0.h, #0
// CHECK-INST: cmphs p0.h, p0/z, z0.h, #0
// CHECK-ENCODING: [0x00,0x00,0x60,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 00 60 24 <unknown>
cmphs p0.s, p0/z, z0.s, #0
// CHECK-INST: cmphs p0.s, p0/z, z0.s, #0
// CHECK-ENCODING: [0x00,0x00,0xa0,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 00 a0 24 <unknown>
cmphs p0.d, p0/z, z0.d, #0
// CHECK-INST: cmphs p0.d, p0/z, z0.d, #0
// CHECK-ENCODING: [0x00,0x00,0xe0,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 00 e0 24 <unknown>
cmphs p0.b, p0/z, z0.b, #127
// CHECK-INST: cmphs p0.b, p0/z, z0.b, #127
// CHECK-ENCODING: [0x00,0xc0,0x3f,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 c0 3f 24 <unknown>
cmphs p0.h, p0/z, z0.h, #127
// CHECK-INST: cmphs p0.h, p0/z, z0.h, #127
// CHECK-ENCODING: [0x00,0xc0,0x7f,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 c0 7f 24 <unknown>
cmphs p0.s, p0/z, z0.s, #127
// CHECK-INST: cmphs p0.s, p0/z, z0.s, #127
// CHECK-ENCODING: [0x00,0xc0,0xbf,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 c0 bf 24 <unknown>
cmphs p0.d, p0/z, z0.d, #127
// CHECK-INST: cmphs p0.d, p0/z, z0.d, #127
// CHECK-ENCODING: [0x00,0xc0,0xff,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 c0 ff 24 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,89 +12,89 @@
cmple p0.b, p0/z, z0.b, z1.b
// CHECK-INST: cmpge p0.b, p0/z, z1.b, z0.b
// CHECK-ENCODING: [0x20,0x80,0x00,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 80 00 24 <unknown>
cmple p0.h, p0/z, z0.h, z1.h
// CHECK-INST: cmpge p0.h, p0/z, z1.h, z0.h
// CHECK-ENCODING: [0x20,0x80,0x40,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 80 40 24 <unknown>
cmple p0.s, p0/z, z0.s, z1.s
// CHECK-INST: cmpge p0.s, p0/z, z1.s, z0.s
// CHECK-ENCODING: [0x20,0x80,0x80,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 80 80 24 <unknown>
cmple p0.d, p0/z, z0.d, z1.d
// CHECK-INST: cmpge p0.d, p0/z, z1.d, z0.d
// CHECK-ENCODING: [0x20,0x80,0xc0,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 80 c0 24 <unknown>
cmple p0.b, p0/z, z0.b, z0.d
// CHECK-INST: cmple p0.b, p0/z, z0.b, z0.d
// CHECK-ENCODING: [0x10,0x60,0x00,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 60 00 24 <unknown>
cmple p0.h, p0/z, z0.h, z0.d
// CHECK-INST: cmple p0.h, p0/z, z0.h, z0.d
// CHECK-ENCODING: [0x10,0x60,0x40,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 60 40 24 <unknown>
cmple p0.s, p0/z, z0.s, z0.d
// CHECK-INST: cmple p0.s, p0/z, z0.s, z0.d
// CHECK-ENCODING: [0x10,0x60,0x80,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 60 80 24 <unknown>
cmple p0.b, p0/z, z0.b, #-16
// CHECK-INST: cmple p0.b, p0/z, z0.b, #-16
// CHECK-ENCODING: [0x10,0x20,0x10,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 20 10 25 <unknown>
cmple p0.h, p0/z, z0.h, #-16
// CHECK-INST: cmple p0.h, p0/z, z0.h, #-16
// CHECK-ENCODING: [0x10,0x20,0x50,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 20 50 25 <unknown>
cmple p0.s, p0/z, z0.s, #-16
// CHECK-INST: cmple p0.s, p0/z, z0.s, #-16
// CHECK-ENCODING: [0x10,0x20,0x90,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 20 90 25 <unknown>
cmple p0.d, p0/z, z0.d, #-16
// CHECK-INST: cmple p0.d, p0/z, z0.d, #-16
// CHECK-ENCODING: [0x10,0x20,0xd0,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 20 d0 25 <unknown>
cmple p0.b, p0/z, z0.b, #15
// CHECK-INST: cmple p0.b, p0/z, z0.b, #15
// CHECK-ENCODING: [0x10,0x20,0x0f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 20 0f 25 <unknown>
cmple p0.h, p0/z, z0.h, #15
// CHECK-INST: cmple p0.h, p0/z, z0.h, #15
// CHECK-ENCODING: [0x10,0x20,0x4f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 20 4f 25 <unknown>
cmple p0.s, p0/z, z0.s, #15
// CHECK-INST: cmple p0.s, p0/z, z0.s, #15
// CHECK-ENCODING: [0x10,0x20,0x8f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 20 8f 25 <unknown>
cmple p0.d, p0/z, z0.d, #15
// CHECK-INST: cmple p0.d, p0/z, z0.d, #15
// CHECK-ENCODING: [0x10,0x20,0xcf,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 20 cf 25 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,89 +12,89 @@
cmplo p0.b, p0/z, z0.b, z1.b
// CHECK-INST: cmphi p0.b, p0/z, z1.b, z0.b
// CHECK-ENCODING: [0x30,0x00,0x00,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 30 00 00 24 <unknown>
cmplo p0.h, p0/z, z0.h, z1.h
// CHECK-INST: cmphi p0.h, p0/z, z1.h, z0.h
// CHECK-ENCODING: [0x30,0x00,0x40,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 30 00 40 24 <unknown>
cmplo p0.s, p0/z, z0.s, z1.s
// CHECK-INST: cmphi p0.s, p0/z, z1.s, z0.s
// CHECK-ENCODING: [0x30,0x00,0x80,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 30 00 80 24 <unknown>
cmplo p0.d, p0/z, z0.d, z1.d
// CHECK-INST: cmphi p0.d, p0/z, z1.d, z0.d
// CHECK-ENCODING: [0x30,0x00,0xc0,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 30 00 c0 24 <unknown>
cmplo p0.b, p0/z, z0.b, z0.d
// CHECK-INST: cmplo p0.b, p0/z, z0.b, z0.d
// CHECK-ENCODING: [0x00,0xe0,0x00,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e0 00 24 <unknown>
cmplo p0.h, p0/z, z0.h, z0.d
// CHECK-INST: cmplo p0.h, p0/z, z0.h, z0.d
// CHECK-ENCODING: [0x00,0xe0,0x40,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e0 40 24 <unknown>
cmplo p0.s, p0/z, z0.s, z0.d
// CHECK-INST: cmplo p0.s, p0/z, z0.s, z0.d
// CHECK-ENCODING: [0x00,0xe0,0x80,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e0 80 24 <unknown>
cmplo p0.b, p0/z, z0.b, #0
// CHECK-INST: cmplo p0.b, p0/z, z0.b, #0
// CHECK-ENCODING: [0x00,0x20,0x20,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 20 24 <unknown>
cmplo p0.h, p0/z, z0.h, #0
// CHECK-INST: cmplo p0.h, p0/z, z0.h, #0
// CHECK-ENCODING: [0x00,0x20,0x60,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 60 24 <unknown>
cmplo p0.s, p0/z, z0.s, #0
// CHECK-INST: cmplo p0.s, p0/z, z0.s, #0
// CHECK-ENCODING: [0x00,0x20,0xa0,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 a0 24 <unknown>
cmplo p0.d, p0/z, z0.d, #0
// CHECK-INST: cmplo p0.d, p0/z, z0.d, #0
// CHECK-ENCODING: [0x00,0x20,0xe0,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 e0 24 <unknown>
cmplo p0.b, p0/z, z0.b, #127
// CHECK-INST: cmplo p0.b, p0/z, z0.b, #127
// CHECK-ENCODING: [0x00,0xe0,0x3f,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e0 3f 24 <unknown>
cmplo p0.h, p0/z, z0.h, #127
// CHECK-INST: cmplo p0.h, p0/z, z0.h, #127
// CHECK-ENCODING: [0x00,0xe0,0x7f,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e0 7f 24 <unknown>
cmplo p0.s, p0/z, z0.s, #127
// CHECK-INST: cmplo p0.s, p0/z, z0.s, #127
// CHECK-ENCODING: [0x00,0xe0,0xbf,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e0 bf 24 <unknown>
cmplo p0.d, p0/z, z0.d, #127
// CHECK-INST: cmplo p0.d, p0/z, z0.d, #127
// CHECK-ENCODING: [0x00,0xe0,0xff,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e0 ff 24 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,89 +12,89 @@
cmpls p0.b, p0/z, z0.b, z1.b
// CHECK-INST: cmphs p0.b, p0/z, z1.b, z0.b
// CHECK-ENCODING: [0x20,0x00,0x00,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 00 00 24 <unknown>
cmpls p0.h, p0/z, z0.h, z1.h
// CHECK-INST: cmphs p0.h, p0/z, z1.h, z0.h
// CHECK-ENCODING: [0x20,0x00,0x40,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 00 40 24 <unknown>
cmpls p0.s, p0/z, z0.s, z1.s
// CHECK-INST: cmphs p0.s, p0/z, z1.s, z0.s
// CHECK-ENCODING: [0x20,0x00,0x80,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 00 80 24 <unknown>
cmpls p0.d, p0/z, z0.d, z1.d
// CHECK-INST: cmphs p0.d, p0/z, z1.d, z0.d
// CHECK-ENCODING: [0x20,0x00,0xc0,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 00 c0 24 <unknown>
cmpls p0.b, p0/z, z0.b, z0.d
// CHECK-INST: cmpls p0.b, p0/z, z0.b, z0.d
// CHECK-ENCODING: [0x10,0xe0,0x00,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 e0 00 24 <unknown>
cmpls p0.h, p0/z, z0.h, z0.d
// CHECK-INST: cmpls p0.h, p0/z, z0.h, z0.d
// CHECK-ENCODING: [0x10,0xe0,0x40,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 e0 40 24 <unknown>
cmpls p0.s, p0/z, z0.s, z0.d
// CHECK-INST: cmpls p0.s, p0/z, z0.s, z0.d
// CHECK-ENCODING: [0x10,0xe0,0x80,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 e0 80 24 <unknown>
cmpls p0.b, p0/z, z0.b, #0
// CHECK-INST: cmpls p0.b, p0/z, z0.b, #0
// CHECK-ENCODING: [0x10,0x20,0x20,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 20 20 24 <unknown>
cmpls p0.h, p0/z, z0.h, #0
// CHECK-INST: cmpls p0.h, p0/z, z0.h, #0
// CHECK-ENCODING: [0x10,0x20,0x60,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 20 60 24 <unknown>
cmpls p0.s, p0/z, z0.s, #0
// CHECK-INST: cmpls p0.s, p0/z, z0.s, #0
// CHECK-ENCODING: [0x10,0x20,0xa0,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 20 a0 24 <unknown>
cmpls p0.d, p0/z, z0.d, #0
// CHECK-INST: cmpls p0.d, p0/z, z0.d, #0
// CHECK-ENCODING: [0x10,0x20,0xe0,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 20 e0 24 <unknown>
cmpls p0.b, p0/z, z0.b, #127
// CHECK-INST: cmpls p0.b, p0/z, z0.b, #127
// CHECK-ENCODING: [0x10,0xe0,0x3f,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 e0 3f 24 <unknown>
cmpls p0.h, p0/z, z0.h, #127
// CHECK-INST: cmpls p0.h, p0/z, z0.h, #127
// CHECK-ENCODING: [0x10,0xe0,0x7f,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 e0 7f 24 <unknown>
cmpls p0.s, p0/z, z0.s, #127
// CHECK-INST: cmpls p0.s, p0/z, z0.s, #127
// CHECK-ENCODING: [0x10,0xe0,0xbf,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 e0 bf 24 <unknown>
cmpls p0.d, p0/z, z0.d, #127
// CHECK-INST: cmpls p0.d, p0/z, z0.d, #127
// CHECK-ENCODING: [0x10,0xe0,0xff,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 e0 ff 24 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,89 +12,89 @@
cmplt p0.b, p0/z, z0.b, z1.b
// CHECK-INST: cmpgt p0.b, p0/z, z1.b, z0.b
// CHECK-ENCODING: [0x30,0x80,0x00,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 30 80 00 24 <unknown>
cmplt p0.h, p0/z, z0.h, z1.h
// CHECK-INST: cmpgt p0.h, p0/z, z1.h, z0.h
// CHECK-ENCODING: [0x30,0x80,0x40,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 30 80 40 24 <unknown>
cmplt p0.s, p0/z, z0.s, z1.s
// CHECK-INST: cmpgt p0.s, p0/z, z1.s, z0.s
// CHECK-ENCODING: [0x30,0x80,0x80,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 30 80 80 24 <unknown>
cmplt p0.d, p0/z, z0.d, z1.d
// CHECK-INST: cmpgt p0.d, p0/z, z1.d, z0.d
// CHECK-ENCODING: [0x30,0x80,0xc0,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 30 80 c0 24 <unknown>
cmplt p0.b, p0/z, z0.b, z0.d
// CHECK-INST: cmplt p0.b, p0/z, z0.b, z0.d
// CHECK-ENCODING: [0x00,0x60,0x00,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 60 00 24 <unknown>
cmplt p0.h, p0/z, z0.h, z0.d
// CHECK-INST: cmplt p0.h, p0/z, z0.h, z0.d
// CHECK-ENCODING: [0x00,0x60,0x40,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 60 40 24 <unknown>
cmplt p0.s, p0/z, z0.s, z0.d
// CHECK-INST: cmplt p0.s, p0/z, z0.s, z0.d
// CHECK-ENCODING: [0x00,0x60,0x80,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 60 80 24 <unknown>
cmplt p0.b, p0/z, z0.b, #-16
// CHECK-INST: cmplt p0.b, p0/z, z0.b, #-16
// CHECK-ENCODING: [0x00,0x20,0x10,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 10 25 <unknown>
cmplt p0.h, p0/z, z0.h, #-16
// CHECK-INST: cmplt p0.h, p0/z, z0.h, #-16
// CHECK-ENCODING: [0x00,0x20,0x50,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 50 25 <unknown>
cmplt p0.s, p0/z, z0.s, #-16
// CHECK-INST: cmplt p0.s, p0/z, z0.s, #-16
// CHECK-ENCODING: [0x00,0x20,0x90,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 90 25 <unknown>
cmplt p0.d, p0/z, z0.d, #-16
// CHECK-INST: cmplt p0.d, p0/z, z0.d, #-16
// CHECK-ENCODING: [0x00,0x20,0xd0,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 d0 25 <unknown>
cmplt p0.b, p0/z, z0.b, #15
// CHECK-INST: cmplt p0.b, p0/z, z0.b, #15
// CHECK-ENCODING: [0x00,0x20,0x0f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 0f 25 <unknown>
cmplt p0.h, p0/z, z0.h, #15
// CHECK-INST: cmplt p0.h, p0/z, z0.h, #15
// CHECK-ENCODING: [0x00,0x20,0x4f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 4f 25 <unknown>
cmplt p0.s, p0/z, z0.s, #15
// CHECK-INST: cmplt p0.s, p0/z, z0.s, #15
// CHECK-ENCODING: [0x00,0x20,0x8f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 8f 25 <unknown>
cmplt p0.d, p0/z, z0.d, #15
// CHECK-INST: cmplt p0.d, p0/z, z0.d, #15
// CHECK-ENCODING: [0x00,0x20,0xcf,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 cf 25 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -11,89 +13,89 @@
cmpne p0.b, p0/z, z0.b, z0.b
// CHECK-INST: cmpne p0.b, p0/z, z0.b, z0.b
// CHECK-ENCODING: [0x10,0xa0,0x00,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 a0 00 24 <unknown>
cmpne p0.h, p0/z, z0.h, z0.h
// CHECK-INST: cmpne p0.h, p0/z, z0.h, z0.h
// CHECK-ENCODING: [0x10,0xa0,0x40,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 a0 40 24 <unknown>
cmpne p0.s, p0/z, z0.s, z0.s
// CHECK-INST: cmpne p0.s, p0/z, z0.s, z0.s
// CHECK-ENCODING: [0x10,0xa0,0x80,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 a0 80 24 <unknown>
cmpne p0.d, p0/z, z0.d, z0.d
// CHECK-INST: cmpne p0.d, p0/z, z0.d, z0.d
// CHECK-ENCODING: [0x10,0xa0,0xc0,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 a0 c0 24 <unknown>
cmpne p0.b, p0/z, z0.b, z0.d
// CHECK-INST: cmpne p0.b, p0/z, z0.b, z0.d
// CHECK-ENCODING: [0x10,0x20,0x00,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 20 00 24 <unknown>
cmpne p0.h, p0/z, z0.h, z0.d
// CHECK-INST: cmpne p0.h, p0/z, z0.h, z0.d
// CHECK-ENCODING: [0x10,0x20,0x40,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 20 40 24 <unknown>
cmpne p0.s, p0/z, z0.s, z0.d
// CHECK-INST: cmpne p0.s, p0/z, z0.s, z0.d
// CHECK-ENCODING: [0x10,0x20,0x80,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 20 80 24 <unknown>
cmpne p0.b, p0/z, z0.b, #-16
// CHECK-INST: cmpne p0.b, p0/z, z0.b, #-16
// CHECK-ENCODING: [0x10,0x80,0x10,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 80 10 25 <unknown>
cmpne p0.h, p0/z, z0.h, #-16
// CHECK-INST: cmpne p0.h, p0/z, z0.h, #-16
// CHECK-ENCODING: [0x10,0x80,0x50,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 80 50 25 <unknown>
cmpne p0.s, p0/z, z0.s, #-16
// CHECK-INST: cmpne p0.s, p0/z, z0.s, #-16
// CHECK-ENCODING: [0x10,0x80,0x90,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 80 90 25 <unknown>
cmpne p0.d, p0/z, z0.d, #-16
// CHECK-INST: cmpne p0.d, p0/z, z0.d, #-16
// CHECK-ENCODING: [0x10,0x80,0xd0,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 80 d0 25 <unknown>
cmpne p0.b, p0/z, z0.b, #15
// CHECK-INST: cmpne p0.b, p0/z, z0.b, #15
// CHECK-ENCODING: [0x10,0x80,0x0f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 80 0f 25 <unknown>
cmpne p0.h, p0/z, z0.h, #15
// CHECK-INST: cmpne p0.h, p0/z, z0.h, #15
// CHECK-ENCODING: [0x10,0x80,0x4f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 80 4f 25 <unknown>
cmpne p0.s, p0/z, z0.s, #15
// CHECK-INST: cmpne p0.s, p0/z, z0.s, #15
// CHECK-ENCODING: [0x10,0x80,0x8f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 80 8f 25 <unknown>
cmpne p0.d, p0/z, z0.d, #15
// CHECK-INST: cmpne p0.d, p0/z, z0.d, #15
// CHECK-ENCODING: [0x10,0x80,0xcf,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 80 cf 25 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,25 +12,25 @@
cnot z31.b, p7/m, z31.b
// CHECK-INST: cnot z31.b, p7/m, z31.b
// CHECK-ENCODING: [0xff,0xbf,0x1b,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf 1b 04 <unknown>
cnot z31.h, p7/m, z31.h
// CHECK-INST: cnot z31.h, p7/m, z31.h
// CHECK-ENCODING: [0xff,0xbf,0x5b,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf 5b 04 <unknown>
cnot z31.s, p7/m, z31.s
// CHECK-INST: cnot z31.s, p7/m, z31.s
// CHECK-ENCODING: [0xff,0xbf,0x9b,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf 9b 04 <unknown>
cnot z31.d, p7/m, z31.d
// CHECK-INST: cnot z31.d, p7/m, z31.d
// CHECK-ENCODING: [0xff,0xbf,0xdb,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf db 04 <unknown>
@ -38,23 +40,23 @@ cnot z31.d, p7/m, z31.d
movprfx z4.d, p7/z, z6.d
// CHECK-INST: movprfx z4.d, p7/z, z6.d
// CHECK-ENCODING: [0xc4,0x3c,0xd0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c4 3c d0 04 <unknown>
cnot z4.d, p7/m, z31.d
// CHECK-INST: cnot z4.d, p7/m, z31.d
// CHECK-ENCODING: [0xe4,0xbf,0xdb,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e4 bf db 04 <unknown>
movprfx z4, z6
// CHECK-INST: movprfx z4, z6
// CHECK-ENCODING: [0xc4,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c4 bc 20 04 <unknown>
cnot z4.d, p7/m, z31.d
// CHECK-INST: cnot z4.d, p7/m, z31.d
// CHECK-ENCODING: [0xe4,0xbf,0xdb,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e4 bf db 04 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,25 +12,25 @@
cnt z31.b, p7/m, z31.b
// CHECK-INST: cnt z31.b, p7/m, z31.b
// CHECK-ENCODING: [0xff,0xbf,0x1a,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf 1a 04 <unknown>
cnt z31.h, p7/m, z31.h
// CHECK-INST: cnt z31.h, p7/m, z31.h
// CHECK-ENCODING: [0xff,0xbf,0x5a,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf 5a 04 <unknown>
cnt z31.s, p7/m, z31.s
// CHECK-INST: cnt z31.s, p7/m, z31.s
// CHECK-ENCODING: [0xff,0xbf,0x9a,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf 9a 04 <unknown>
cnt z31.d, p7/m, z31.d
// CHECK-INST: cnt z31.d, p7/m, z31.d
// CHECK-ENCODING: [0xff,0xbf,0xda,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf da 04 <unknown>
@ -38,23 +40,23 @@ cnt z31.d, p7/m, z31.d
movprfx z4.d, p7/z, z6.d
// CHECK-INST: movprfx z4.d, p7/z, z6.d
// CHECK-ENCODING: [0xc4,0x3c,0xd0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c4 3c d0 04 <unknown>
cnt z4.d, p7/m, z31.d
// CHECK-INST: cnt z4.d, p7/m, z31.d
// CHECK-ENCODING: [0xe4,0xbf,0xda,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e4 bf da 04 <unknown>
movprfx z4, z6
// CHECK-INST: movprfx z4, z6
// CHECK-ENCODING: [0xc4,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c4 bc 20 04 <unknown>
cnt z4.d, p7/m, z31.d
// CHECK-INST: cnt z4.d, p7/m, z31.d
// CHECK-ENCODING: [0xe4,0xbf,0xda,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e4 bf da 04 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,35 +12,35 @@
cntb x0
// CHECK-INST: cntb x0
// CHECK-ENCODING: [0xe0,0xe3,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e3 20 04 <unknown>
cntb x0, all
// CHECK-INST: cntb x0
// CHECK-ENCODING: [0xe0,0xe3,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e3 20 04 <unknown>
cntb x0, all, mul #1
// CHECK-INST: cntb x0
// CHECK-ENCODING: [0xe0,0xe3,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e3 20 04 <unknown>
cntb x0, all, mul #16
// CHECK-INST: cntb x0, all, mul #16
// CHECK-ENCODING: [0xe0,0xe3,0x2f,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e3 2f 04 <unknown>
cntb x0, pow2
// CHECK-INST: cntb x0, pow2
// CHECK-ENCODING: [0x00,0xe0,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e0 20 04 <unknown>
cntb x0, #28
// CHECK-INST: cntb x0, #28
// CHECK-ENCODING: [0x80,0xe3,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 80 e3 20 04 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,35 +12,35 @@
cntd x0
// CHECK-INST: cntd x0
// CHECK-ENCODING: [0xe0,0xe3,0xe0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e3 e0 04 <unknown>
cntd x0, all
// CHECK-INST: cntd x0
// CHECK-ENCODING: [0xe0,0xe3,0xe0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e3 e0 04 <unknown>
cntd x0, all, mul #1
// CHECK-INST: cntd x0
// CHECK-ENCODING: [0xe0,0xe3,0xe0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e3 e0 04 <unknown>
cntd x0, all, mul #16
// CHECK-INST: cntd x0, all, mul #16
// CHECK-ENCODING: [0xe0,0xe3,0xef,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e3 ef 04 <unknown>
cntd x0, pow2
// CHECK-INST: cntd x0, pow2
// CHECK-ENCODING: [0x00,0xe0,0xe0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e0 e0 04 <unknown>
cntd x0, #28
// CHECK-INST: cntd x0, #28
// CHECK-ENCODING: [0x80,0xe3,0xe0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 80 e3 e0 04 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,35 +12,35 @@
cnth x0
// CHECK-INST: cnth x0
// CHECK-ENCODING: [0xe0,0xe3,0x60,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e3 60 04 <unknown>
cnth x0, all
// CHECK-INST: cnth x0
// CHECK-ENCODING: [0xe0,0xe3,0x60,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e3 60 04 <unknown>
cnth x0, all, mul #1
// CHECK-INST: cnth x0
// CHECK-ENCODING: [0xe0,0xe3,0x60,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e3 60 04 <unknown>
cnth x0, all, mul #16
// CHECK-INST: cnth x0, all, mul #16
// CHECK-ENCODING: [0xe0,0xe3,0x6f,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e3 6f 04 <unknown>
cnth x0, pow2
// CHECK-INST: cnth x0, pow2
// CHECK-ENCODING: [0x00,0xe0,0x60,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e0 60 04 <unknown>
cnth x0, #28
// CHECK-INST: cnth x0, #28
// CHECK-ENCODING: [0x80,0xe3,0x60,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 80 e3 60 04 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,23 +12,23 @@
cntp x0, p15, p0.b
// CHECK-INST: cntp x0, p15, p0.b
// CHECK-ENCODING: [0x00,0xbc,0x20,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 bc 20 25 <unknown>
cntp x0, p15, p0.h
// CHECK-INST: cntp x0, p15, p0.h
// CHECK-ENCODING: [0x00,0xbc,0x60,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 bc 60 25 <unknown>
cntp x0, p15, p0.s
// CHECK-INST: cntp x0, p15, p0.s
// CHECK-ENCODING: [0x00,0xbc,0xa0,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 bc a0 25 <unknown>
cntp x0, p15, p0.d
// CHECK-INST: cntp x0, p15, p0.d
// CHECK-ENCODING: [0x00,0xbc,0xe0,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 bc e0 25 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,35 +12,35 @@
cntw x0
// CHECK-INST: cntw x0
// CHECK-ENCODING: [0xe0,0xe3,0xa0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e3 a0 04 <unknown>
cntw x0, all
// CHECK-INST: cntw x0
// CHECK-ENCODING: [0xe0,0xe3,0xa0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e3 a0 04 <unknown>
cntw x0, all, mul #1
// CHECK-INST: cntw x0
// CHECK-ENCODING: [0xe0,0xe3,0xa0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e3 a0 04 <unknown>
cntw x0, all, mul #16
// CHECK-INST: cntw x0, all, mul #16
// CHECK-ENCODING: [0xe0,0xe3,0xaf,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e3 af 04 <unknown>
cntw x0, pow2
// CHECK-INST: cntw x0, pow2
// CHECK-ENCODING: [0x00,0xe0,0xa0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e0 a0 04 <unknown>
cntw x0, #28
// CHECK-INST: cntw x0, #28
// CHECK-ENCODING: [0x80,0xe3,0xa0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 80 e3 a0 04 <unknown>

View File

@ -2,6 +2,8 @@
// 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: not llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %s 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \
// RUN: | llvm-objdump -d --mattr=+sve - | FileCheck %s --check-prefix=CHECK-INST
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,223 +12,223 @@
cpy z0.b, p0/m, w0
// CHECK-INST: mov z0.b, p0/m, w0
// CHECK-ENCODING: [0x00,0xa0,0x28,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 a0 28 05 <unknown>
cpy z0.h, p0/m, w0
// CHECK-INST: mov z0.h, p0/m, w0
// CHECK-ENCODING: [0x00,0xa0,0x68,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 a0 68 05 <unknown>
cpy z0.s, p0/m, w0
// CHECK-INST: mov z0.s, p0/m, w0
// CHECK-ENCODING: [0x00,0xa0,0xa8,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 a0 a8 05 <unknown>
cpy z0.d, p0/m, x0
// CHECK-INST: mov z0.d, p0/m, x0
// CHECK-ENCODING: [0x00,0xa0,0xe8,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 a0 e8 05 <unknown>
cpy z31.b, p7/m, wsp
// CHECK-INST: mov z31.b, p7/m, wsp
// CHECK-ENCODING: [0xff,0xbf,0x28,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf 28 05 <unknown>
cpy z31.h, p7/m, wsp
// CHECK-INST: mov z31.h, p7/m, wsp
// CHECK-ENCODING: [0xff,0xbf,0x68,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf 68 05 <unknown>
cpy z31.s, p7/m, wsp
// CHECK-INST: mov z31.s, p7/m, wsp
// CHECK-ENCODING: [0xff,0xbf,0xa8,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf a8 05 <unknown>
cpy z31.d, p7/m, sp
// CHECK-INST: mov z31.d, p7/m, sp
// CHECK-ENCODING: [0xff,0xbf,0xe8,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf e8 05 <unknown>
cpy z0.b, p0/m, b0
// CHECK-INST: mov z0.b, p0/m, b0
// CHECK-ENCODING: [0x00,0x80,0x20,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 20 05 <unknown>
cpy z31.b, p7/m, b31
// CHECK-INST: mov z31.b, p7/m, b31
// CHECK-ENCODING: [0xff,0x9f,0x20,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 9f 20 05 <unknown>
cpy z0.h, p0/m, h0
// CHECK-INST: mov z0.h, p0/m, h0
// CHECK-ENCODING: [0x00,0x80,0x60,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 60 05 <unknown>
cpy z31.h, p7/m, h31
// CHECK-INST: mov z31.h, p7/m, h31
// CHECK-ENCODING: [0xff,0x9f,0x60,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 9f 60 05 <unknown>
cpy z0.s, p0/m, s0
// CHECK-INST: mov z0.s, p0/m, s0
// CHECK-ENCODING: [0x00,0x80,0xa0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 a0 05 <unknown>
cpy z31.s, p7/m, s31
// CHECK-INST: mov z31.s, p7/m, s31
// CHECK-ENCODING: [0xff,0x9f,0xa0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 9f a0 05 <unknown>
cpy z0.d, p0/m, d0
// CHECK-INST: mov z0.d, p0/m, d0
// CHECK-ENCODING: [0x00,0x80,0xe0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 e0 05 <unknown>
cpy z31.d, p7/m, d31
// CHECK-INST: mov z31.d, p7/m, d31
// CHECK-ENCODING: [0xff,0x9f,0xe0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 9f e0 05 <unknown>
cpy z5.b, p0/z, #-128
// CHECK-INST: mov z5.b, p0/z, #-128
// CHECK-ENCODING: [0x05,0x10,0x10,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 05 10 10 05 <unknown>
cpy z5.b, p0/z, #127
// CHECK-INST: mov z5.b, p0/z, #127
// CHECK-ENCODING: [0xe5,0x0f,0x10,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e5 0f 10 05 <unknown>
cpy z5.b, p0/z, #255
// CHECK-INST: mov z5.b, p0/z, #-1
// CHECK-ENCODING: [0xe5,0x1f,0x10,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e5 1f 10 05 <unknown>
cpy z21.h, p0/z, #-128
// CHECK-INST: mov z21.h, p0/z, #-128
// CHECK-ENCODING: [0x15,0x10,0x50,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 10 50 05 <unknown>
cpy z21.h, p0/z, #-128, lsl #8
// CHECK-INST: mov z21.h, p0/z, #-32768
// CHECK-ENCODING: [0x15,0x30,0x50,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 30 50 05 <unknown>
cpy z21.h, p0/z, #-32768
// CHECK-INST: mov z21.h, p0/z, #-32768
// CHECK-ENCODING: [0x15,0x30,0x50,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 30 50 05 <unknown>
cpy z21.h, p0/z, #127
// CHECK-INST: mov z21.h, p0/z, #127
// CHECK-ENCODING: [0xf5,0x0f,0x50,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: f5 0f 50 05 <unknown>
cpy z21.h, p0/z, #127, lsl #8
// CHECK-INST: mov z21.h, p0/z, #32512
// CHECK-ENCODING: [0xf5,0x2f,0x50,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: f5 2f 50 05 <unknown>
cpy z21.h, p0/z, #32512
// CHECK-INST: mov z21.h, p0/z, #32512
// CHECK-ENCODING: [0xf5,0x2f,0x50,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: f5 2f 50 05 <unknown>
cpy z21.s, p0/z, #-128
// CHECK-INST: mov z21.s, p0/z, #-128
// CHECK-ENCODING: [0x15,0x10,0x90,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 10 90 05 <unknown>
cpy z21.s, p0/z, #-128, lsl #8
// CHECK-INST: mov z21.s, p0/z, #-32768
// CHECK-ENCODING: [0x15,0x30,0x90,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 30 90 05 <unknown>
cpy z21.s, p0/z, #-32768
// CHECK-INST: mov z21.s, p0/z, #-32768
// CHECK-ENCODING: [0x15,0x30,0x90,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 30 90 05 <unknown>
cpy z21.s, p0/z, #127
// CHECK-INST: mov z21.s, p0/z, #127
// CHECK-ENCODING: [0xf5,0x0f,0x90,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: f5 0f 90 05 <unknown>
cpy z21.s, p0/z, #127, lsl #8
// CHECK-INST: mov z21.s, p0/z, #32512
// CHECK-ENCODING: [0xf5,0x2f,0x90,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: f5 2f 90 05 <unknown>
cpy z21.s, p0/z, #32512
// CHECK-INST: mov z21.s, p0/z, #32512
// CHECK-ENCODING: [0xf5,0x2f,0x90,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: f5 2f 90 05 <unknown>
cpy z21.d, p0/z, #-128
// CHECK-INST: mov z21.d, p0/z, #-128
// CHECK-ENCODING: [0x15,0x10,0xd0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 10 d0 05 <unknown>
cpy z21.d, p0/z, #-128, lsl #8
// CHECK-INST: mov z21.d, p0/z, #-32768
// CHECK-ENCODING: [0x15,0x30,0xd0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 30 d0 05 <unknown>
cpy z21.d, p0/z, #-32768
// CHECK-INST: mov z21.d, p0/z, #-32768
// CHECK-ENCODING: [0x15,0x30,0xd0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 30 d0 05 <unknown>
cpy z21.d, p0/z, #127
// CHECK-INST: mov z21.d, p0/z, #127
// CHECK-ENCODING: [0xf5,0x0f,0xd0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: f5 0f d0 05 <unknown>
cpy z21.d, p0/z, #127, lsl #8
// CHECK-INST: mov z21.d, p0/z, #32512
// CHECK-ENCODING: [0xf5,0x2f,0xd0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: f5 2f d0 05 <unknown>
cpy z21.d, p0/z, #32512
// CHECK-INST: mov z21.d, p0/z, #32512
// CHECK-ENCODING: [0xf5,0x2f,0xd0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: f5 2f d0 05 <unknown>
// --------------------------------------------------------------------------//
@ -236,19 +238,19 @@ cpy z21.d, p0/z, #32512
cpy z0.b, p0/z, #-129
// CHECK-INST: mov z0.b, p0/z, #127
// CHECK-ENCODING: [0xe0,0x0f,0x10,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 0f 10 05 <unknown>
cpy z0.h, p0/z, #-33024
// CHECK-INST: mov z0.h, p0/z, #32512
// CHECK-ENCODING: [0xe0,0x2f,0x50,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 2f 50 05 <unknown>
cpy z0.h, p0/z, #-129, lsl #8
// CHECK-INST: mov z0.h, p0/z, #32512
// CHECK-ENCODING: [0xe0,0x2f,0x50,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 2f 50 05 <unknown>
@ -259,43 +261,43 @@ cpy z0.h, p0/z, #-129, lsl #8
cpy z5.b, p15/m, #-128
// CHECK-INST: mov z5.b, p15/m, #-128
// CHECK-ENCODING: [0x05,0x50,0x1f,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 05 50 1f 05 <unknown>
cpy z21.h, p15/m, #-128
// CHECK-INST: mov z21.h, p15/m, #-128
// CHECK-ENCODING: [0x15,0x50,0x5f,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 50 5f 05 <unknown>
cpy z21.h, p15/m, #-128, lsl #8
// CHECK-INST: mov z21.h, p15/m, #-32768
// CHECK-ENCODING: [0x15,0x70,0x5f,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 70 5f 05 <unknown>
cpy z21.s, p15/m, #-128
// CHECK-INST: mov z21.s, p15/m, #-128
// CHECK-ENCODING: [0x15,0x50,0x9f,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 50 9f 05 <unknown>
cpy z21.s, p15/m, #-128, lsl #8
// CHECK-INST: mov z21.s, p15/m, #-32768
// CHECK-ENCODING: [0x15,0x70,0x9f,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 70 9f 05 <unknown>
cpy z21.d, p15/m, #-128
// CHECK-INST: mov z21.d, p15/m, #-128
// CHECK-ENCODING: [0x15,0x50,0xdf,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 50 df 05 <unknown>
cpy z21.d, p15/m, #-128, lsl #8
// CHECK-INST: mov z21.d, p15/m, #-32768
// CHECK-ENCODING: [0x15,0x70,0xdf,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 70 df 05 <unknown>
@ -305,71 +307,71 @@ cpy z21.d, p15/m, #-128, lsl #8
movprfx z31.d, p7/z, z6.d
// CHECK-INST: movprfx z31.d, p7/z, z6.d
// CHECK-ENCODING: [0xdf,0x3c,0xd0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: df 3c d0 04 <unknown>
cpy z31.d, p7/m, sp
// CHECK-INST: mov z31.d, p7/m, sp
// CHECK-ENCODING: [0xff,0xbf,0xe8,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf e8 05 <unknown>
movprfx z31, z6
// CHECK-INST: movprfx z31, z6
// CHECK-ENCODING: [0xdf,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: df bc 20 04 <unknown>
cpy z31.d, p7/m, sp
// CHECK-INST: mov z31.d, p7/m, sp
// CHECK-ENCODING: [0xff,0xbf,0xe8,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf e8 05 <unknown>
movprfx z21.d, p7/z, z28.d
// CHECK-INST: movprfx z21.d, p7/z, z28.d
// CHECK-ENCODING: [0x95,0x3f,0xd0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 95 3f d0 04 <unknown>
cpy z21.d, p7/m, #-128, lsl #8
// CHECK-INST: mov z21.d, p7/m, #-32768
// CHECK-ENCODING: [0x15,0x70,0xd7,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 70 d7 05 <unknown>
movprfx z21, z28
// CHECK-INST: movprfx z21, z28
// CHECK-ENCODING: [0x95,0xbf,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 95 bf 20 04 <unknown>
cpy z21.d, p15/m, #-128, lsl #8
// CHECK-INST: mov z21.d, p15/m, #-32768
// CHECK-ENCODING: [0x15,0x70,0xdf,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 70 df 05 <unknown>
movprfx z4.d, p7/z, z6.d
// CHECK-INST: movprfx z4.d, p7/z, z6.d
// CHECK-ENCODING: [0xc4,0x3c,0xd0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c4 3c d0 04 <unknown>
cpy z4.d, p7/m, d31
// CHECK-INST: mov z4.d, p7/m, d31
// CHECK-ENCODING: [0xe4,0x9f,0xe0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e4 9f e0 05 <unknown>
movprfx z4, z6
// CHECK-INST: movprfx z4, z6
// CHECK-ENCODING: [0xc4,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c4 bc 20 04 <unknown>
cpy z4.d, p7/m, d31
// CHECK-INST: mov z4.d, p7/m, d31
// CHECK-ENCODING: [0xe4,0x9f,0xe0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e4 9f e0 05 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,23 +12,23 @@
ctermeq w30, wzr
// CHECK-INST: ctermeq w30, wzr
// CHECK-ENCODING: [0xc0,0x23,0xbf,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c0 23 bf 25 <unknown>
ctermeq wzr, w30
// CHECK-INST: ctermeq wzr, w30
// CHECK-ENCODING: [0xe0,0x23,0xbe,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 23 be 25 <unknown>
ctermeq x30, xzr
// CHECK-INST: ctermeq x30, xzr
// CHECK-ENCODING: [0xc0,0x23,0xff,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c0 23 ff 25 <unknown>
ctermeq xzr, x30
// CHECK-INST: ctermeq xzr, x30
// CHECK-ENCODING: [0xe0,0x23,0xfe,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 23 fe 25 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,23 +12,23 @@
ctermne w30, wzr
// CHECK-INST: ctermne w30, wzr
// CHECK-ENCODING: [0xd0,0x23,0xbf,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: d0 23 bf 25 <unknown>
ctermne wzr, w30
// CHECK-INST: ctermne wzr, w30
// CHECK-ENCODING: [0xf0,0x23,0xbe,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: f0 23 be 25 <unknown>
ctermne x30, xzr
// CHECK-INST: ctermne x30, xzr
// CHECK-ENCODING: [0xd0,0x23,0xff,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: d0 23 ff 25 <unknown>
ctermne xzr, x30
// CHECK-INST: ctermne xzr, x30
// CHECK-ENCODING: [0xf0,0x23,0xfe,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: f0 23 fe 25 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,119 +12,119 @@
decb x0
// CHECK-INST: decb x0
// CHECK-ENCODING: [0xe0,0xe7,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e7 30 04 <unknown>
decb x0, all
// CHECK-INST: decb x0
// CHECK-ENCODING: [0xe0,0xe7,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e7 30 04 <unknown>
decb x0, all, mul #1
// CHECK-INST: decb x0
// CHECK-ENCODING: [0xe0,0xe7,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e7 30 04 <unknown>
decb x0, all, mul #16
// CHECK-INST: decb x0, all, mul #16
// CHECK-ENCODING: [0xe0,0xe7,0x3f,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e7 3f 04 <unknown>
decb x0, pow2
// CHECK-INST: decb x0, pow2
// CHECK-ENCODING: [0x00,0xe4,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e4 30 04 <unknown>
decb x0, vl1
// CHECK-INST: decb x0, vl1
// CHECK-ENCODING: [0x20,0xe4,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 e4 30 04 <unknown>
decb x0, vl2
// CHECK-INST: decb x0, vl2
// CHECK-ENCODING: [0x40,0xe4,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 40 e4 30 04 <unknown>
decb x0, vl3
// CHECK-INST: decb x0, vl3
// CHECK-ENCODING: [0x60,0xe4,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 60 e4 30 04 <unknown>
decb x0, vl4
// CHECK-INST: decb x0, vl4
// CHECK-ENCODING: [0x80,0xe4,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 80 e4 30 04 <unknown>
decb x0, vl5
// CHECK-INST: decb x0, vl5
// CHECK-ENCODING: [0xa0,0xe4,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 e4 30 04 <unknown>
decb x0, vl6
// CHECK-INST: decb x0, vl6
// CHECK-ENCODING: [0xc0,0xe4,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c0 e4 30 04 <unknown>
decb x0, vl7
// CHECK-INST: decb x0, vl7
// CHECK-ENCODING: [0xe0,0xe4,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e4 30 04 <unknown>
decb x0, vl8
// CHECK-INST: decb x0, vl8
// CHECK-ENCODING: [0x00,0xe5,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e5 30 04 <unknown>
decb x0, vl16
// CHECK-INST: decb x0, vl16
// CHECK-ENCODING: [0x20,0xe5,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 e5 30 04 <unknown>
decb x0, vl32
// CHECK-INST: decb x0, vl32
// CHECK-ENCODING: [0x40,0xe5,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 40 e5 30 04 <unknown>
decb x0, vl64
// CHECK-INST: decb x0, vl64
// CHECK-ENCODING: [0x60,0xe5,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 60 e5 30 04 <unknown>
decb x0, vl128
// CHECK-INST: decb x0, vl128
// CHECK-ENCODING: [0x80,0xe5,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 80 e5 30 04 <unknown>
decb x0, vl256
// CHECK-INST: decb x0, vl256
// CHECK-ENCODING: [0xa0,0xe5,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 e5 30 04 <unknown>
decb x0, #14
// CHECK-INST: decb x0, #14
// CHECK-ENCODING: [0xc0,0xe5,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c0 e5 30 04 <unknown>
decb x0, #28
// CHECK-INST: decb x0, #28
// CHECK-ENCODING: [0x80,0xe7,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 80 e7 30 04 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,119 +12,119 @@
decd x0
// CHECK-INST: decd x0
// CHECK-ENCODING: [0xe0,0xe7,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e7 f0 04 <unknown>
decd x0, all
// CHECK-INST: decd x0
// CHECK-ENCODING: [0xe0,0xe7,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e7 f0 04 <unknown>
decd x0, all, mul #1
// CHECK-INST: decd x0
// CHECK-ENCODING: [0xe0,0xe7,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e7 f0 04 <unknown>
decd x0, all, mul #16
// CHECK-INST: decd x0, all, mul #16
// CHECK-ENCODING: [0xe0,0xe7,0xff,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e7 ff 04 <unknown>
decd x0, pow2
// CHECK-INST: decd x0, pow2
// CHECK-ENCODING: [0x00,0xe4,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e4 f0 04 <unknown>
decd x0, vl1
// CHECK-INST: decd x0, vl1
// CHECK-ENCODING: [0x20,0xe4,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 e4 f0 04 <unknown>
decd x0, vl2
// CHECK-INST: decd x0, vl2
// CHECK-ENCODING: [0x40,0xe4,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 40 e4 f0 04 <unknown>
decd x0, vl3
// CHECK-INST: decd x0, vl3
// CHECK-ENCODING: [0x60,0xe4,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 60 e4 f0 04 <unknown>
decd x0, vl4
// CHECK-INST: decd x0, vl4
// CHECK-ENCODING: [0x80,0xe4,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 80 e4 f0 04 <unknown>
decd x0, vl5
// CHECK-INST: decd x0, vl5
// CHECK-ENCODING: [0xa0,0xe4,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 e4 f0 04 <unknown>
decd x0, vl6
// CHECK-INST: decd x0, vl6
// CHECK-ENCODING: [0xc0,0xe4,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c0 e4 f0 04 <unknown>
decd x0, vl7
// CHECK-INST: decd x0, vl7
// CHECK-ENCODING: [0xe0,0xe4,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e4 f0 04 <unknown>
decd x0, vl8
// CHECK-INST: decd x0, vl8
// CHECK-ENCODING: [0x00,0xe5,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e5 f0 04 <unknown>
decd x0, vl16
// CHECK-INST: decd x0, vl16
// CHECK-ENCODING: [0x20,0xe5,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 e5 f0 04 <unknown>
decd x0, vl32
// CHECK-INST: decd x0, vl32
// CHECK-ENCODING: [0x40,0xe5,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 40 e5 f0 04 <unknown>
decd x0, vl64
// CHECK-INST: decd x0, vl64
// CHECK-ENCODING: [0x60,0xe5,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 60 e5 f0 04 <unknown>
decd x0, vl128
// CHECK-INST: decd x0, vl128
// CHECK-ENCODING: [0x80,0xe5,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 80 e5 f0 04 <unknown>
decd x0, vl256
// CHECK-INST: decd x0, vl256
// CHECK-ENCODING: [0xa0,0xe5,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 e5 f0 04 <unknown>
decd x0, #14
// CHECK-INST: decd x0, #14
// CHECK-ENCODING: [0xc0,0xe5,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c0 e5 f0 04 <unknown>
decd x0, #28
// CHECK-INST: decd x0, #28
// CHECK-ENCODING: [0x80,0xe7,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 80 e7 f0 04 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,119 +12,119 @@
dech x0
// CHECK-INST: dech x0
// CHECK-ENCODING: [0xe0,0xe7,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e7 70 04 <unknown>
dech x0, all
// CHECK-INST: dech x0
// CHECK-ENCODING: [0xe0,0xe7,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e7 70 04 <unknown>
dech x0, all, mul #1
// CHECK-INST: dech x0
// CHECK-ENCODING: [0xe0,0xe7,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e7 70 04 <unknown>
dech x0, all, mul #16
// CHECK-INST: dech x0, all, mul #16
// CHECK-ENCODING: [0xe0,0xe7,0x7f,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e7 7f 04 <unknown>
dech x0, pow2
// CHECK-INST: dech x0, pow2
// CHECK-ENCODING: [0x00,0xe4,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e4 70 04 <unknown>
dech x0, vl1
// CHECK-INST: dech x0, vl1
// CHECK-ENCODING: [0x20,0xe4,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 e4 70 04 <unknown>
dech x0, vl2
// CHECK-INST: dech x0, vl2
// CHECK-ENCODING: [0x40,0xe4,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 40 e4 70 04 <unknown>
dech x0, vl3
// CHECK-INST: dech x0, vl3
// CHECK-ENCODING: [0x60,0xe4,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 60 e4 70 04 <unknown>
dech x0, vl4
// CHECK-INST: dech x0, vl4
// CHECK-ENCODING: [0x80,0xe4,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 80 e4 70 04 <unknown>
dech x0, vl5
// CHECK-INST: dech x0, vl5
// CHECK-ENCODING: [0xa0,0xe4,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 e4 70 04 <unknown>
dech x0, vl6
// CHECK-INST: dech x0, vl6
// CHECK-ENCODING: [0xc0,0xe4,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c0 e4 70 04 <unknown>
dech x0, vl7
// CHECK-INST: dech x0, vl7
// CHECK-ENCODING: [0xe0,0xe4,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e4 70 04 <unknown>
dech x0, vl8
// CHECK-INST: dech x0, vl8
// CHECK-ENCODING: [0x00,0xe5,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e5 70 04 <unknown>
dech x0, vl16
// CHECK-INST: dech x0, vl16
// CHECK-ENCODING: [0x20,0xe5,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 e5 70 04 <unknown>
dech x0, vl32
// CHECK-INST: dech x0, vl32
// CHECK-ENCODING: [0x40,0xe5,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 40 e5 70 04 <unknown>
dech x0, vl64
// CHECK-INST: dech x0, vl64
// CHECK-ENCODING: [0x60,0xe5,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 60 e5 70 04 <unknown>
dech x0, vl128
// CHECK-INST: dech x0, vl128
// CHECK-ENCODING: [0x80,0xe5,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 80 e5 70 04 <unknown>
dech x0, vl256
// CHECK-INST: dech x0, vl256
// CHECK-ENCODING: [0xa0,0xe5,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 e5 70 04 <unknown>
dech x0, #14
// CHECK-INST: dech x0, #14
// CHECK-ENCODING: [0xc0,0xe5,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c0 e5 70 04 <unknown>
dech x0, #28
// CHECK-INST: dech x0, #28
// CHECK-ENCODING: [0x80,0xe7,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 80 e7 70 04 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,85 +12,85 @@
decp x0, p0.b
// CHECK-INST: decp x0, p0.b
// CHECK-ENCODING: [0x00,0x88,0x2d,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 88 2d 25 <unknown>
decp x0, p0.h
// CHECK-INST: decp x0, p0.h
// CHECK-ENCODING: [0x00,0x88,0x6d,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 88 6d 25 <unknown>
decp x0, p0.s
// CHECK-INST: decp x0, p0.s
// CHECK-ENCODING: [0x00,0x88,0xad,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 88 ad 25 <unknown>
decp x0, p0.d
// CHECK-INST: decp x0, p0.d
// CHECK-ENCODING: [0x00,0x88,0xed,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 88 ed 25 <unknown>
decp xzr, p15.b
// CHECK-INST: decp xzr, p15.b
// CHECK-ENCODING: [0xff,0x89,0x2d,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 89 2d 25 <unknown>
decp xzr, p15.h
// CHECK-INST: decp xzr, p15.h
// CHECK-ENCODING: [0xff,0x89,0x6d,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 89 6d 25 <unknown>
decp xzr, p15.s
// CHECK-INST: decp xzr, p15.s
// CHECK-ENCODING: [0xff,0x89,0xad,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 89 ad 25 <unknown>
decp xzr, p15.d
// CHECK-INST: decp xzr, p15.d
// CHECK-ENCODING: [0xff,0x89,0xed,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 89 ed 25 <unknown>
decp z31.h, p15
// CHECK-INST: decp z31.h, p15.h
// CHECK-ENCODING: [0xff,0x81,0x6d,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 81 6d 25 <unknown>
decp z31.h, p15.h
// CHECK-INST: decp z31.h, p15.h
// CHECK-ENCODING: [0xff,0x81,0x6d,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 81 6d 25 <unknown>
decp z31.s, p15
// CHECK-INST: decp z31.s, p15.s
// CHECK-ENCODING: [0xff,0x81,0xad,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 81 ad 25 <unknown>
decp z31.s, p15.s
// CHECK-INST: decp z31.s, p15.s
// CHECK-ENCODING: [0xff,0x81,0xad,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 81 ad 25 <unknown>
decp z31.d, p15
// CHECK-INST: decp z31.d, p15.d
// CHECK-ENCODING: [0xff,0x81,0xed,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 81 ed 25 <unknown>
decp z31.d, p15.d
// CHECK-INST: decp z31.d, p15.d
// CHECK-ENCODING: [0xff,0x81,0xed,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 81 ed 25 <unknown>
@ -98,11 +100,11 @@ decp z31.d, p15.d
movprfx z31, z6
// CHECK-INST: movprfx z31, z6
// CHECK-ENCODING: [0xdf,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: df bc 20 04 <unknown>
decp z31.d, p15.d
// CHECK-INST: decp z31.d, p15
// CHECK-ENCODING: [0xff,0x81,0xed,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 81 ed 25 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,119 +12,119 @@
decw x0
// CHECK-INST: decw x0
// CHECK-ENCODING: [0xe0,0xe7,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e7 b0 04 <unknown>
decw x0, all
// CHECK-INST: decw x0
// CHECK-ENCODING: [0xe0,0xe7,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e7 b0 04 <unknown>
decw x0, all, mul #1
// CHECK-INST: decw x0
// CHECK-ENCODING: [0xe0,0xe7,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e7 b0 04 <unknown>
decw x0, all, mul #16
// CHECK-INST: decw x0, all, mul #16
// CHECK-ENCODING: [0xe0,0xe7,0xbf,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e7 bf 04 <unknown>
decw x0, pow2
// CHECK-INST: decw x0, pow2
// CHECK-ENCODING: [0x00,0xe4,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e4 b0 04 <unknown>
decw x0, vl1
// CHECK-INST: decw x0, vl1
// CHECK-ENCODING: [0x20,0xe4,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 e4 b0 04 <unknown>
decw x0, vl2
// CHECK-INST: decw x0, vl2
// CHECK-ENCODING: [0x40,0xe4,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 40 e4 b0 04 <unknown>
decw x0, vl3
// CHECK-INST: decw x0, vl3
// CHECK-ENCODING: [0x60,0xe4,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 60 e4 b0 04 <unknown>
decw x0, vl4
// CHECK-INST: decw x0, vl4
// CHECK-ENCODING: [0x80,0xe4,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 80 e4 b0 04 <unknown>
decw x0, vl5
// CHECK-INST: decw x0, vl5
// CHECK-ENCODING: [0xa0,0xe4,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 e4 b0 04 <unknown>
decw x0, vl6
// CHECK-INST: decw x0, vl6
// CHECK-ENCODING: [0xc0,0xe4,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c0 e4 b0 04 <unknown>
decw x0, vl7
// CHECK-INST: decw x0, vl7
// CHECK-ENCODING: [0xe0,0xe4,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e4 b0 04 <unknown>
decw x0, vl8
// CHECK-INST: decw x0, vl8
// CHECK-ENCODING: [0x00,0xe5,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e5 b0 04 <unknown>
decw x0, vl16
// CHECK-INST: decw x0, vl16
// CHECK-ENCODING: [0x20,0xe5,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 e5 b0 04 <unknown>
decw x0, vl32
// CHECK-INST: decw x0, vl32
// CHECK-ENCODING: [0x40,0xe5,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 40 e5 b0 04 <unknown>
decw x0, vl64
// CHECK-INST: decw x0, vl64
// CHECK-ENCODING: [0x60,0xe5,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 60 e5 b0 04 <unknown>
decw x0, vl128
// CHECK-INST: decw x0, vl128
// CHECK-ENCODING: [0x80,0xe5,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 80 e5 b0 04 <unknown>
decw x0, vl256
// CHECK-INST: decw x0, vl256
// CHECK-ENCODING: [0xa0,0xe5,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 e5 b0 04 <unknown>
decw x0, #14
// CHECK-INST: decw x0, #14
// CHECK-ENCODING: [0xc0,0xe5,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c0 e5 b0 04 <unknown>
decw x0, #28
// CHECK-INST: decw x0, #28
// CHECK-ENCODING: [0x80,0xe7,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 80 e7 b0 04 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,235 +12,235 @@
dup z0.b, w0
// CHECK-INST: mov z0.b, w0
// CHECK-ENCODING: [0x00,0x38,0x20,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 38 20 05 <unknown>
dup z0.h, w0
// CHECK-INST: mov z0.h, w0
// CHECK-ENCODING: [0x00,0x38,0x60,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 38 60 05 <unknown>
dup z0.s, w0
// CHECK-INST: mov z0.s, w0
// CHECK-ENCODING: [0x00,0x38,0xa0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 38 a0 05 <unknown>
dup z0.d, x0
// CHECK-INST: mov z0.d, x0
// CHECK-ENCODING: [0x00,0x38,0xe0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 38 e0 05 <unknown>
dup z31.h, wsp
// CHECK-INST: mov z31.h, wsp
// CHECK-ENCODING: [0xff,0x3b,0x60,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 3b 60 05 <unknown>
dup z31.s, wsp
// CHECK-INST: mov z31.s, wsp
// CHECK-ENCODING: [0xff,0x3b,0xa0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 3b a0 05 <unknown>
dup z31.d, sp
// CHECK-INST: mov z31.d, sp
// CHECK-ENCODING: [0xff,0x3b,0xe0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 3b e0 05 <unknown>
dup z31.b, wsp
// CHECK-INST: mov z31.b, wsp
// CHECK-ENCODING: [0xff,0x3b,0x20,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 3b 20 05 <unknown>
dup z5.b, #-128
// CHECK-INST: mov z5.b, #-128
// CHECK-ENCODING: [0x05,0xd0,0x38,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 05 d0 38 25 <unknown>
dup z5.b, #127
// CHECK-INST: mov z5.b, #127
// CHECK-ENCODING: [0xe5,0xcf,0x38,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e5 cf 38 25 <unknown>
dup z5.b, #255
// CHECK-INST: mov z5.b, #-1
// CHECK-ENCODING: [0xe5,0xdf,0x38,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e5 df 38 25 <unknown>
dup z21.h, #-128
// CHECK-INST: mov z21.h, #-128
// CHECK-ENCODING: [0x15,0xd0,0x78,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 d0 78 25 <unknown>
dup z21.h, #-128, lsl #8
// CHECK-INST: mov z21.h, #-32768
// CHECK-ENCODING: [0x15,0xf0,0x78,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 f0 78 25 <unknown>
dup z21.h, #-32768
// CHECK-INST: mov z21.h, #-32768
// CHECK-ENCODING: [0x15,0xf0,0x78,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 f0 78 25 <unknown>
dup z21.h, #127
// CHECK-INST: mov z21.h, #127
// CHECK-ENCODING: [0xf5,0xcf,0x78,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: f5 cf 78 25 <unknown>
dup z21.h, #127, lsl #8
// CHECK-INST: mov z21.h, #32512
// CHECK-ENCODING: [0xf5,0xef,0x78,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: f5 ef 78 25 <unknown>
dup z21.h, #32512
// CHECK-INST: mov z21.h, #32512
// CHECK-ENCODING: [0xf5,0xef,0x78,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: f5 ef 78 25 <unknown>
dup z21.s, #-128
// CHECK-INST: mov z21.s, #-128
// CHECK-ENCODING: [0x15,0xd0,0xb8,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 d0 b8 25 <unknown>
dup z21.s, #-128, lsl #8
// CHECK-INST: mov z21.s, #-32768
// CHECK-ENCODING: [0x15,0xf0,0xb8,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 f0 b8 25 <unknown>
dup z21.s, #-32768
// CHECK-INST: mov z21.s, #-32768
// CHECK-ENCODING: [0x15,0xf0,0xb8,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 f0 b8 25 <unknown>
dup z21.s, #127
// CHECK-INST: mov z21.s, #127
// CHECK-ENCODING: [0xf5,0xcf,0xb8,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: f5 cf b8 25 <unknown>
dup z21.s, #127, lsl #8
// CHECK-INST: mov z21.s, #32512
// CHECK-ENCODING: [0xf5,0xef,0xb8,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: f5 ef b8 25 <unknown>
dup z21.s, #32512
// CHECK-INST: mov z21.s, #32512
// CHECK-ENCODING: [0xf5,0xef,0xb8,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: f5 ef b8 25 <unknown>
dup z21.d, #-128
// CHECK-INST: mov z21.d, #-128
// CHECK-ENCODING: [0x15,0xd0,0xf8,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 d0 f8 25 <unknown>
dup z21.d, #-128, lsl #8
// CHECK-INST: mov z21.d, #-32768
// CHECK-ENCODING: [0x15,0xf0,0xf8,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 f0 f8 25 <unknown>
dup z21.d, #-32768
// CHECK-INST: mov z21.d, #-32768
// CHECK-ENCODING: [0x15,0xf0,0xf8,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 f0 f8 25 <unknown>
dup z21.d, #127
// CHECK-INST: mov z21.d, #127
// CHECK-ENCODING: [0xf5,0xcf,0xf8,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: f5 cf f8 25 <unknown>
dup z21.d, #127, lsl #8
// CHECK-INST: mov z21.d, #32512
// CHECK-ENCODING: [0xf5,0xef,0xf8,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: f5 ef f8 25 <unknown>
dup z21.d, #32512
// CHECK-INST: mov z21.d, #32512
// CHECK-ENCODING: [0xf5,0xef,0xf8,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: f5 ef f8 25 <unknown>
dup z0.b, z0.b[0]
// CHECK-INST: mov z0.b, b0
// CHECK-ENCODING: [0x00,0x20,0x21,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 21 05 <unknown>
dup z0.h, z0.h[0]
// CHECK-INST: mov z0.h, h0
// CHECK-ENCODING: [0x00,0x20,0x22,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 22 05 <unknown>
dup z0.s, z0.s[0]
// CHECK-INST: mov z0.s, s0
// CHECK-ENCODING: [0x00,0x20,0x24,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 24 05 <unknown>
dup z0.d, z0.d[0]
// CHECK-INST: mov z0.d, d0
// CHECK-ENCODING: [0x00,0x20,0x28,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 28 05 <unknown>
dup z0.q, z0.q[0]
// CHECK-INST: mov z0.q, q0
// CHECK-ENCODING: [0x00,0x20,0x30,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 30 05 <unknown>
dup z31.b, z31.b[63]
// CHECK-INST: mov z31.b, z31.b[63]
// CHECK-ENCODING: [0xff,0x23,0xff,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 23 ff 05 <unknown>
dup z31.h, z31.h[31]
// CHECK-INST: mov z31.h, z31.h[31]
// CHECK-ENCODING: [0xff,0x23,0xfe,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 23 fe 05 <unknown>
dup z31.s, z31.s[15]
// CHECK-INST: mov z31.s, z31.s[15]
// CHECK-ENCODING: [0xff,0x23,0xfc,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 23 fc 05 <unknown>
dup z31.d, z31.d[7]
// CHECK-INST: mov z31.d, z31.d[7]
// CHECK-ENCODING: [0xff,0x23,0xf8,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 23 f8 05 <unknown>
dup z5.q, z17.q[3]
// CHECK-INST: mov z5.q, z17.q[3]
// CHECK-ENCODING: [0x25,0x22,0xf0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 25 22 f0 05 <unknown>
// --------------------------------------------------------------------------//
@ -248,17 +250,17 @@ dup z5.q, z17.q[3]
dup z0.b, #-129
// CHECK-INST: mov z0.b, #127
// CHECK-ENCODING: [0xe0,0xcf,0x38,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 cf 38 25 <unknown>
dup z0.h, #-33024
// CHECK-INST: mov z0.h, #32512
// CHECK-ENCODING: [0xe0,0xef,0x78,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 ef 78 25 <unknown>
dup z0.h, #-129, lsl #8
// CHECK-INST: mov z0.h, #32512
// CHECK-ENCODING: [0xe0,0xef,0x78,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 ef 78 25 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,59 +12,59 @@
dupm z5.b, #0xf9
// CHECK-INST: dupm z5.b, #0xf9
// CHECK-ENCODING: [0xa5,0x2e,0xc0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a5 2e c0 05 <unknown>
dupm z5.h, #0xf9f9
// CHECK-INST: dupm z5.b, #0xf9
// CHECK-ENCODING: [0xa5,0x2e,0xc0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a5 2e c0 05 <unknown>
dupm z5.s, #0xf9f9f9f9
// CHECK-INST: dupm z5.b, #0xf9
// CHECK-ENCODING: [0xa5,0x2e,0xc0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a5 2e c0 05 <unknown>
dupm z5.d, #0xf9f9f9f9f9f9f9f9
// CHECK-INST: dupm z5.b, #0xf9
// CHECK-ENCODING: [0xa5,0x2e,0xc0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a5 2e c0 05 <unknown>
dupm z23.h, #0xfff9
// CHECK-INST: dupm z23.h, #0xfff9
// CHECK-ENCODING: [0xb7,0x6d,0xc0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: b7 6d c0 05 <unknown>
dupm z23.s, #0xfff9fff9
// CHECK-INST: dupm z23.h, #0xfff9
// CHECK-ENCODING: [0xb7,0x6d,0xc0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: b7 6d c0 05 <unknown>
dupm z23.d, #0xfff9fff9fff9fff9
// CHECK-INST: dupm z23.h, #0xfff9
// CHECK-ENCODING: [0xb7,0x6d,0xc0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: b7 6d c0 05 <unknown>
dupm z0.s, #0xfffffff9
// CHECK-INST: dupm z0.s, #0xfffffff9
// CHECK-ENCODING: [0xa0,0xeb,0xc0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 eb c0 05 <unknown>
dupm z0.d, #0xfffffff9fffffff9
// CHECK-INST: dupm z0.s, #0xfffffff9
// CHECK-ENCODING: [0xa0,0xeb,0xc0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 eb c0 05 <unknown>
dupm z0.d, #0xfffffffffffffff9
// CHECK-INST: dupm z0.d, #0xfffffffffffffff9
// CHECK-ENCODING: [0xa0,0xef,0xc3,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 ef c3 05 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,49 +12,49 @@
eon z5.b, z5.b, #0xf9
// CHECK-INST: eor z5.b, z5.b, #0x6
// CHECK-ENCODING: [0x25,0x3e,0x40,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 25 3e 40 05 <unknown>
eon z23.h, z23.h, #0xfff9
// CHECK-INST: eor z23.h, z23.h, #0x6
// CHECK-ENCODING: [0x37,0x7c,0x40,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 37 7c 40 05 <unknown>
eon z0.s, z0.s, #0xfffffff9
// CHECK-INST: eor z0.s, z0.s, #0x6
// CHECK-ENCODING: [0x20,0xf8,0x40,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 f8 40 05 <unknown>
eon z0.d, z0.d, #0xfffffffffffffff9
// CHECK-INST: eor z0.d, z0.d, #0x6
// CHECK-ENCODING: [0x20,0xf8,0x43,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 f8 43 05 <unknown>
eon z5.b, z5.b, #0x6
// CHECK-INST: eor z5.b, z5.b, #0xf9
// CHECK-ENCODING: [0xa5,0x2e,0x40,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a5 2e 40 05 <unknown>
eon z23.h, z23.h, #0x6
// CHECK-INST: eor z23.h, z23.h, #0xfff9
// CHECK-ENCODING: [0xb7,0x6d,0x40,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: b7 6d 40 05 <unknown>
eon z0.s, z0.s, #0x6
// CHECK-INST: eor z0.s, z0.s, #0xfffffff9
// CHECK-ENCODING: [0xa0,0xeb,0x40,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 eb 40 05 <unknown>
eon z0.d, z0.d, #0x6
// CHECK-INST: eor z0.d, z0.d, #0xfffffffffffffff9
// CHECK-ENCODING: [0xa0,0xef,0x43,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 ef 43 05 <unknown>
@ -62,11 +64,11 @@ eon z0.d, z0.d, #0x6
movprfx z0, z7
// CHECK-INST: movprfx z0, z7
// CHECK-ENCODING: [0xe0,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 bc 20 04 <unknown>
eon z0.d, z0.d, #0x6
// CHECK-INST: eor z0.d, z0.d, #0xfffffffffffffff9
// CHECK-ENCODING: [0xa0,0xef,0x43,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 ef 43 05 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,103 +12,103 @@
eor z5.b, z5.b, #0xf9
// CHECK-INST: eor z5.b, z5.b, #0xf9
// CHECK-ENCODING: [0xa5,0x2e,0x40,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a5 2e 40 05 <unknown>
eor z23.h, z23.h, #0xfff9
// CHECK-INST: eor z23.h, z23.h, #0xfff9
// CHECK-ENCODING: [0xb7,0x6d,0x40,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: b7 6d 40 05 <unknown>
eor z0.s, z0.s, #0xfffffff9
// CHECK-INST: eor z0.s, z0.s, #0xfffffff9
// CHECK-ENCODING: [0xa0,0xeb,0x40,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 eb 40 05 <unknown>
eor z0.d, z0.d, #0xfffffffffffffff9
// CHECK-INST: eor z0.d, z0.d, #0xfffffffffffffff9
// CHECK-ENCODING: [0xa0,0xef,0x43,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 ef 43 05 <unknown>
eor z5.b, z5.b, #0x6
// CHECK-INST: eor z5.b, z5.b, #0x6
// CHECK-ENCODING: [0x25,0x3e,0x40,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 25 3e 40 05 <unknown>
eor z23.h, z23.h, #0x6
// CHECK-INST: eor z23.h, z23.h, #0x6
// CHECK-ENCODING: [0x37,0x7c,0x40,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 37 7c 40 05 <unknown>
eor z0.s, z0.s, #0x6
// CHECK-INST: eor z0.s, z0.s, #0x6
// CHECK-ENCODING: [0x20,0xf8,0x40,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 f8 40 05 <unknown>
eor z0.d, z0.d, #0x6
// CHECK-INST: eor z0.d, z0.d, #0x6
// CHECK-ENCODING: [0x20,0xf8,0x43,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 f8 43 05 <unknown>
eor z23.d, z13.d, z8.d
// CHECK-INST: eor z23.d, z13.d, z8.d
// CHECK-ENCODING: [0xb7,0x31,0xa8,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: b7 31 a8 04 <unknown>
eor z0.d, z0.d, z0.d
// CHECK-INST: eor z0.d, z0.d, z0.d
// CHECK-ENCODING: [0x00,0x30,0xa0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 30 a0 04 <unknown>
eor z31.s, p7/m, z31.s, z31.s
// CHECK-INST: eor z31.s, p7/m, z31.s, z31.s
// CHECK-ENCODING: [0xff,0x1f,0x99,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 1f 99 04 <unknown>
eor z31.h, p7/m, z31.h, z31.h
// CHECK-INST: eor z31.h, p7/m, z31.h, z31.h
// CHECK-ENCODING: [0xff,0x1f,0x59,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 1f 59 04 <unknown>
eor z31.d, p7/m, z31.d, z31.d
// CHECK-INST: eor z31.d, p7/m, z31.d, z31.d
// CHECK-ENCODING: [0xff,0x1f,0xd9,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 1f d9 04 <unknown>
eor z31.b, p7/m, z31.b, z31.b
// CHECK-INST: eor z31.b, p7/m, z31.b, z31.b
// CHECK-ENCODING: [0xff,0x1f,0x19,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 1f 19 04 <unknown>
eor p0.b, p0/z, p0.b, p1.b
// CHECK-INST: eor p0.b, p0/z, p0.b, p1.b
// CHECK-ENCODING: [0x00,0x42,0x01,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 42 01 25 <unknown>
eor p0.b, p0/z, p0.b, p0.b
// CHECK-INST: not p0.b, p0/z, p0.b
// CHECK-ENCODING: [0x00,0x42,0x00,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 42 00 25 <unknown>
eor p15.b, p15/z, p15.b, p15.b
// CHECK-INST: not p15.b, p15/z, p15.b
// CHECK-ENCODING: [0xef,0x7f,0x0f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ef 7f 0f 25 <unknown>
@ -116,19 +118,19 @@ eor p15.b, p15/z, p15.b, p15.b
eor z0.s, z0.s, z0.s
// CHECK-INST: eor z0.d, z0.d, z0.d
// CHECK-ENCODING: [0x00,0x30,0xa0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 30 a0 04 <unknown>
eor z0.h, z0.h, z0.h
// CHECK-INST: eor z0.d, z0.d, z0.d
// CHECK-ENCODING: [0x00,0x30,0xa0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 30 a0 04 <unknown>
eor z0.b, z0.b, z0.b
// CHECK-INST: eor z0.d, z0.d, z0.d
// CHECK-ENCODING: [0x00,0x30,0xa0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 30 a0 04 <unknown>
@ -138,35 +140,35 @@ eor z0.b, z0.b, z0.b
movprfx z4.b, p7/z, z6.b
// CHECK-INST: movprfx z4.b, p7/z, z6.b
// CHECK-ENCODING: [0xc4,0x3c,0x10,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c4 3c 10 04 <unknown>
eor z4.b, p7/m, z4.b, z31.b
// CHECK-INST: eor z4.b, p7/m, z4.b, z31.b
// CHECK-ENCODING: [0xe4,0x1f,0x19,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e4 1f 19 04 <unknown>
movprfx z4, z6
// CHECK-INST: movprfx z4, z6
// CHECK-ENCODING: [0xc4,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c4 bc 20 04 <unknown>
eor z4.b, p7/m, z4.b, z31.b
// CHECK-INST: eor z4.b, p7/m, z4.b, z31.b
// CHECK-ENCODING: [0xe4,0x1f,0x19,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e4 1f 19 04 <unknown>
movprfx z0, z7
// CHECK-INST: movprfx z0, z7
// CHECK-ENCODING: [0xe0,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 bc 20 04 <unknown>
eor z0.d, z0.d, #0x6
// CHECK-INST: eor z0.d, z0.d, #0x6
// CHECK-ENCODING: [0x20,0xf8,0x43,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 f8 43 05 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,17 +12,17 @@
eors p0.b, p0/z, p0.b, p1.b
// CHECK-INST: eors p0.b, p0/z, p0.b, p1.b
// CHECK-ENCODING: [0x00,0x42,0x41,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 42 41 25 <unknown>
eors p0.b, p0/z, p0.b, p0.b
// CHECK-INST: nots p0.b, p0/z, p0.b
// CHECK-ENCODING: [0x00,0x42,0x40,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 42 40 25 <unknown>
eors p15.b, p15/z, p15.b, p15.b
// CHECK-INST: nots p15.b, p15/z, p15.b
// CHECK-ENCODING: [0xef,0x7f,0x4f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ef 7f 4f 25 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,23 +12,23 @@
eorv b0, p7, z31.b
// CHECK-INST: eorv b0, p7, z31.b
// CHECK-ENCODING: [0xe0,0x3f,0x19,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 3f 19 04 <unknown>
eorv h0, p7, z31.h
// CHECK-INST: eorv h0, p7, z31.h
// CHECK-ENCODING: [0xe0,0x3f,0x59,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 3f 59 04 <unknown>
eorv s0, p7, z31.s
// CHECK-INST: eorv s0, p7, z31.s
// CHECK-ENCODING: [0xe0,0x3f,0x99,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 3f 99 04 <unknown>
eorv d0, p7, z31.d
// CHECK-INST: eorv d0, p7, z31.d
// CHECK-ENCODING: [0xe0,0x3f,0xd9,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 3f d9 04 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,13 +12,13 @@
ext z31.b, z31.b, z0.b, #0
// CHECK-INST: ext z31.b, z31.b, z0.b, #0
// CHECK-ENCODING: [0x1f,0x00,0x20,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 1f 00 20 05 <unknown>
ext z31.b, z31.b, z0.b, #255
// CHECK-INST: ext z31.b, z31.b, z0.b, #255
// CHECK-ENCODING: [0x1f,0x1c,0x3f,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 1f 1c 3f 05 <unknown>
@ -26,11 +28,11 @@ ext z31.b, z31.b, z0.b, #255
movprfx z31, z6
// CHECK-INST: movprfx z31, z6
// CHECK-ENCODING: [0xdf,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: df bc 20 04 <unknown>
ext z31.b, z31.b, z0.b, #255
// CHECK-INST: ext z31.b, z31.b, z0.b, #255
// CHECK-ENCODING: [0x1f,0x1c,0x3f,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 1f 1c 3f 05 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,19 +12,19 @@
fabd z0.h, p7/m, z0.h, z31.h
// CHECK-INST: fabd z0.h, p7/m, z0.h, z31.h
// CHECK-ENCODING: [0xe0,0x9f,0x48,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f 48 65 <unknown>
fabd z0.s, p7/m, z0.s, z31.s
// CHECK-INST: fabd z0.s, p7/m, z0.s, z31.s
// CHECK-ENCODING: [0xe0,0x9f,0x88,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f 88 65 <unknown>
fabd z0.d, p7/m, z0.d, z31.d
// CHECK-INST: fabd z0.d, p7/m, z0.d, z31.d
// CHECK-ENCODING: [0xe0,0x9f,0xc8,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f c8 65 <unknown>
@ -32,23 +34,23 @@ fabd z0.d, p7/m, z0.d, z31.d
movprfx z0.d, p7/z, z7.d
// CHECK-INST: movprfx z0.d, p7/z, z7.d
// CHECK-ENCODING: [0xe0,0x3c,0xd0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 3c d0 04 <unknown>
fabd z0.d, p7/m, z0.d, z31.d
// CHECK-INST: fabd z0.d, p7/m, z0.d, z31.d
// CHECK-ENCODING: [0xe0,0x9f,0xc8,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f c8 65 <unknown>
movprfx z0, z7
// CHECK-INST: movprfx z0, z7
// CHECK-ENCODING: [0xe0,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 bc 20 04 <unknown>
fabd z0.d, p7/m, z0.d, z31.d
// CHECK-INST: fabd z0.d, p7/m, z0.d, z31.d
// CHECK-ENCODING: [0xe0,0x9f,0xc8,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f c8 65 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,19 +12,19 @@
fabs z31.h, p7/m, z31.h
// CHECK-INST: fabs z31.h, p7/m, z31.h
// CHECK-ENCODING: [0xff,0xbf,0x5c,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf 5c 04 <unknown>
fabs z31.s, p7/m, z31.s
// CHECK-INST: fabs z31.s, p7/m, z31.s
// CHECK-ENCODING: [0xff,0xbf,0x9c,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf 9c 04 <unknown>
fabs z31.d, p7/m, z31.d
// CHECK-INST: fabs z31.d, p7/m, z31.d
// CHECK-ENCODING: [0xff,0xbf,0xdc,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf dc 04 <unknown>
@ -32,23 +34,23 @@ fabs z31.d, p7/m, z31.d
movprfx z4.d, p7/z, z6.d
// CHECK-INST: movprfx z4.d, p7/z, z6.d
// CHECK-ENCODING: [0xc4,0x3c,0xd0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c4 3c d0 04 <unknown>
fabs z4.d, p7/m, z31.d
// CHECK-INST: fabs z4.d, p7/m, z31.d
// CHECK-ENCODING: [0xe4,0xbf,0xdc,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e4 bf dc 04 <unknown>
movprfx z4, z6
// CHECK-INST: movprfx z4, z6
// CHECK-ENCODING: [0xc4,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c4 bc 20 04 <unknown>
fabs z4.d, p7/m, z31.d
// CHECK-INST: fabs z4.d, p7/m, z31.d
// CHECK-ENCODING: [0xe4,0xbf,0xdc,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e4 bf dc 04 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,17 +12,17 @@
facge p0.h, p0/z, z0.h, z1.h
// CHECK-INST: facge p0.h, p0/z, z0.h, z1.h
// CHECK-ENCODING: [0x10,0xc0,0x41,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 c0 41 65 <unknown>
facge p0.s, p0/z, z0.s, z1.s
// CHECK-INST: facge p0.s, p0/z, z0.s, z1.s
// CHECK-ENCODING: [0x10,0xc0,0x81,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 c0 81 65 <unknown>
facge p0.d, p0/z, z0.d, z1.d
// CHECK-INST: facge p0.d, p0/z, z0.d, z1.d
// CHECK-ENCODING: [0x10,0xc0,0xc1,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 c0 c1 65 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,17 +12,17 @@
facgt p0.h, p0/z, z0.h, z1.h
// CHECK-INST: facgt p0.h, p0/z, z0.h, z1.h
// CHECK-ENCODING: [0x10,0xe0,0x41,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 e0 41 65 <unknown>
facgt p0.s, p0/z, z0.s, z1.s
// CHECK-INST: facgt p0.s, p0/z, z0.s, z1.s
// CHECK-ENCODING: [0x10,0xe0,0x81,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 e0 81 65 <unknown>
facgt p0.d, p0/z, z0.d, z1.d
// CHECK-INST: facgt p0.d, p0/z, z0.d, z1.d
// CHECK-ENCODING: [0x10,0xe0,0xc1,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 e0 c1 65 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,17 +12,17 @@
facle p0.h, p0/z, z0.h, z1.h
// CHECK-INST: facge p0.h, p0/z, z1.h, z0.h
// CHECK-ENCODING: [0x30,0xc0,0x40,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 30 c0 40 65 <unknown>
facle p0.s, p0/z, z0.s, z1.s
// CHECK-INST: facge p0.s, p0/z, z1.s, z0.s
// CHECK-ENCODING: [0x30,0xc0,0x80,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 30 c0 80 65 <unknown>
facle p0.d, p0/z, z0.d, z1.d
// CHECK-INST: facge p0.d, p0/z, z1.d, z0.d
// CHECK-ENCODING: [0x30,0xc0,0xc0,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 30 c0 c0 65 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,17 +12,17 @@
faclt p0.h, p0/z, z0.h, z1.h
// CHECK-INST: facgt p0.h, p0/z, z1.h, z0.h
// CHECK-ENCODING: [0x30,0xe0,0x40,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 30 e0 40 65 <unknown>
faclt p0.s, p0/z, z0.s, z1.s
// CHECK-INST: facgt p0.s, p0/z, z1.s, z0.s
// CHECK-ENCODING: [0x30,0xe0,0x80,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 30 e0 80 65 <unknown>
faclt p0.d, p0/z, z0.d, z1.d
// CHECK-INST: facgt p0.d, p0/z, z1.d, z0.d
// CHECK-ENCODING: [0x30,0xe0,0xc0,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 30 e0 c0 65 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,85 +12,85 @@
fadd z0.h, p0/m, z0.h, #0.500000000000000
// CHECK-INST: fadd z0.h, p0/m, z0.h, #0.5
// CHECK-ENCODING: [0x00,0x80,0x58,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 58 65 <unknown>
fadd z0.h, p0/m, z0.h, #0.5
// CHECK-INST: fadd z0.h, p0/m, z0.h, #0.5
// CHECK-ENCODING: [0x00,0x80,0x58,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 58 65 <unknown>
fadd z0.s, p0/m, z0.s, #0.5
// CHECK-INST: fadd z0.s, p0/m, z0.s, #0.5
// CHECK-ENCODING: [0x00,0x80,0x98,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 98 65 <unknown>
fadd z0.d, p0/m, z0.d, #0.5
// CHECK-INST: fadd z0.d, p0/m, z0.d, #0.5
// CHECK-ENCODING: [0x00,0x80,0xd8,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 d8 65 <unknown>
fadd z31.h, p7/m, z31.h, #1.000000000000000
// CHECK-INST: fadd z31.h, p7/m, z31.h, #1.0
// CHECK-ENCODING: [0x3f,0x9c,0x58,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 3f 9c 58 65 <unknown>
fadd z31.h, p7/m, z31.h, #1.0
// CHECK-INST: fadd z31.h, p7/m, z31.h, #1.0
// CHECK-ENCODING: [0x3f,0x9c,0x58,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 3f 9c 58 65 <unknown>
fadd z31.s, p7/m, z31.s, #1.0
// CHECK-INST: fadd z31.s, p7/m, z31.s, #1.0
// CHECK-ENCODING: [0x3f,0x9c,0x98,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 3f 9c 98 65 <unknown>
fadd z31.d, p7/m, z31.d, #1.0
// CHECK-INST: fadd z31.d, p7/m, z31.d, #1.0
// CHECK-ENCODING: [0x3f,0x9c,0xd8,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 3f 9c d8 65 <unknown>
fadd z0.h, p7/m, z0.h, z31.h
// CHECK-INST: fadd z0.h, p7/m, z0.h, z31.h
// CHECK-ENCODING: [0xe0,0x9f,0x40,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f 40 65 <unknown>
fadd z0.s, p7/m, z0.s, z31.s
// CHECK-INST: fadd z0.s, p7/m, z0.s, z31.s
// CHECK-ENCODING: [0xe0,0x9f,0x80,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f 80 65 <unknown>
fadd z0.d, p7/m, z0.d, z31.d
// CHECK-INST: fadd z0.d, p7/m, z0.d, z31.d
// CHECK-ENCODING: [0xe0,0x9f,0xc0,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f c0 65 <unknown>
fadd z0.h, z1.h, z31.h
// CHECK-INST: fadd z0.h, z1.h, z31.h
// CHECK-ENCODING: [0x20,0x00,0x5f,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 00 5f 65 <unknown>
fadd z0.s, z1.s, z31.s
// CHECK-INST: fadd z0.s, z1.s, z31.s
// CHECK-ENCODING: [0x20,0x00,0x9f,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 00 9f 65 <unknown>
fadd z0.d, z1.d, z31.d
// CHECK-INST: fadd z0.d, z1.d, z31.d
// CHECK-ENCODING: [0x20,0x00,0xdf,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 00 df 65 <unknown>
@ -98,47 +100,47 @@ fadd z0.d, z1.d, z31.d
movprfx z31.d, p7/z, z6.d
// CHECK-INST: movprfx z31.d, p7/z, z6.d
// CHECK-ENCODING: [0xdf,0x3c,0xd0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: df 3c d0 04 <unknown>
fadd z31.d, p7/m, z31.d, #1.0
// CHECK-INST: fadd z31.d, p7/m, z31.d, #1.0
// CHECK-ENCODING: [0x3f,0x9c,0xd8,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 3f 9c d8 65 <unknown>
movprfx z31, z6
// CHECK-INST: movprfx z31, z6
// CHECK-ENCODING: [0xdf,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: df bc 20 04 <unknown>
fadd z31.d, p7/m, z31.d, #1.0
// CHECK-INST: fadd z31.d, p7/m, z31.d, #1.0
// CHECK-ENCODING: [0x3f,0x9c,0xd8,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 3f 9c d8 65 <unknown>
movprfx z0.d, p7/z, z7.d
// CHECK-INST: movprfx z0.d, p7/z, z7.d
// CHECK-ENCODING: [0xe0,0x3c,0xd0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 3c d0 04 <unknown>
fadd z0.d, p7/m, z0.d, z31.d
// CHECK-INST: fadd z0.d, p7/m, z0.d, z31.d
// CHECK-ENCODING: [0xe0,0x9f,0xc0,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f c0 65 <unknown>
movprfx z0, z7
// CHECK-INST: movprfx z0, z7
// CHECK-ENCODING: [0xe0,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 bc 20 04 <unknown>
fadd z0.d, p7/m, z0.d, z31.d
// CHECK-INST: fadd z0.d, p7/m, z0.d, z31.d
// CHECK-ENCODING: [0xe0,0x9f,0xc0,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f c0 65 <unknown>

View File

@ -2,6 +2,8 @@
// 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: not llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %s 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \
// RUN: | llvm-objdump -d --mattr=+sve - | FileCheck %s --check-prefix=CHECK-INST
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,17 +12,17 @@
faddv h0, p7, z31.h
// CHECK-INST: faddv h0, p7, z31.h
// CHECK-ENCODING: [0xe0,0x3f,0x40,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 3f 40 65 <unknown>
faddv s0, p7, z31.s
// CHECK-INST: faddv s0, p7, z31.s
// CHECK-ENCODING: [0xe0,0x3f,0x80,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 3f 80 65 <unknown>
faddv d0, p7, z31.d
// CHECK-INST: faddv d0, p7, z31.d
// CHECK-ENCODING: [0xe0,0x3f,0xc0,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 3f c0 65 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,37 +12,37 @@
fcadd z0.h, p0/m, z0.h, z0.h, #90
// CHECK-INST: fcadd z0.h, p0/m, z0.h, z0.h, #90
// CHECK-ENCODING: [0x00,0x80,0x40,0x64]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 40 64 <unknown>
fcadd z0.s, p0/m, z0.s, z0.s, #90
// CHECK-INST: fcadd z0.s, p0/m, z0.s, z0.s, #90
// CHECK-ENCODING: [0x00,0x80,0x80,0x64]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 80 64 <unknown>
fcadd z0.d, p0/m, z0.d, z0.d, #90
// CHECK-INST: fcadd z0.d, p0/m, z0.d, z0.d, #90
// CHECK-ENCODING: [0x00,0x80,0xc0,0x64]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 c0 64 <unknown>
fcadd z31.h, p7/m, z31.h, z31.h, #270
// CHECK-INST: fcadd z31.h, p7/m, z31.h, z31.h, #270
// CHECK-ENCODING: [0xff,0x9f,0x41,0x64]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 9f 41 64 <unknown>
fcadd z31.s, p7/m, z31.s, z31.s, #270
// CHECK-INST: fcadd z31.s, p7/m, z31.s, z31.s, #270
// CHECK-ENCODING: [0xff,0x9f,0x81,0x64]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 9f 81 64 <unknown>
fcadd z31.d, p7/m, z31.d, z31.d, #270
// CHECK-INST: fcadd z31.d, p7/m, z31.d, z31.d, #270
// CHECK-ENCODING: [0xff,0x9f,0xc1,0x64]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 9f c1 64 <unknown>
@ -50,23 +52,23 @@ fcadd z31.d, p7/m, z31.d, z31.d, #270
movprfx z4.d, p7/z, z6.d
// CHECK-INST: movprfx z4.d, p7/z, z6.d
// CHECK-ENCODING: [0xc4,0x3c,0xd0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c4 3c d0 04 <unknown>
fcadd z4.d, p7/m, z4.d, z31.d, #270
// CHECK-INST: fcadd z4.d, p7/m, z4.d, z31.d, #270
// CHECK-ENCODING: [0xe4,0x9f,0xc1,0x64]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e4 9f c1 64 <unknown>
movprfx z4, z6
// CHECK-INST: movprfx z4, z6
// CHECK-ENCODING: [0xc4,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c4 bc 20 04 <unknown>
fcadd z4.d, p7/m, z4.d, z31.d, #270
// CHECK-INST: fcadd z4.d, p7/m, z4.d, z31.d, #270
// CHECK-ENCODING: [0xe4,0x9f,0xc1,0x64]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e4 9f c1 64 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,35 +12,35 @@
fcmeq p0.h, p0/z, z0.h, #0.0
// CHECK-INST: fcmeq p0.h, p0/z, z0.h, #0.0
// CHECK-ENCODING: [0x00,0x20,0x52,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 52 65 <unknown>
fcmeq p0.s, p0/z, z0.s, #0.0
// CHECK-INST: fcmeq p0.s, p0/z, z0.s, #0.0
// CHECK-ENCODING: [0x00,0x20,0x92,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 92 65 <unknown>
fcmeq p0.d, p0/z, z0.d, #0.0
// CHECK-INST: fcmeq p0.d, p0/z, z0.d, #0.0
// CHECK-ENCODING: [0x00,0x20,0xd2,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 d2 65 <unknown>
fcmeq p0.h, p0/z, z0.h, z1.h
// CHECK-INST: fcmeq p0.h, p0/z, z0.h, z1.h
// CHECK-ENCODING: [0x00,0x60,0x41,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 60 41 65 <unknown>
fcmeq p0.s, p0/z, z0.s, z1.s
// CHECK-INST: fcmeq p0.s, p0/z, z0.s, z1.s
// CHECK-ENCODING: [0x00,0x60,0x81,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 60 81 65 <unknown>
fcmeq p0.d, p0/z, z0.d, z1.d
// CHECK-INST: fcmeq p0.d, p0/z, z0.d, z1.d
// CHECK-ENCODING: [0x00,0x60,0xc1,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 60 c1 65 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,35 +12,35 @@
fcmge p0.h, p0/z, z0.h, #0.0
// CHECK-INST: fcmge p0.h, p0/z, z0.h, #0.0
// CHECK-ENCODING: [0x00,0x20,0x50,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 50 65 <unknown>
fcmge p0.s, p0/z, z0.s, #0.0
// CHECK-INST: fcmge p0.s, p0/z, z0.s, #0.0
// CHECK-ENCODING: [0x00,0x20,0x90,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 90 65 <unknown>
fcmge p0.d, p0/z, z0.d, #0.0
// CHECK-INST: fcmge p0.d, p0/z, z0.d, #0.0
// CHECK-ENCODING: [0x00,0x20,0xd0,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 d0 65 <unknown>
fcmge p0.h, p0/z, z0.h, z1.h
// CHECK-INST: fcmge p0.h, p0/z, z0.h, z1.h
// CHECK-ENCODING: [0x00,0x40,0x41,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 40 41 65 <unknown>
fcmge p0.s, p0/z, z0.s, z1.s
// CHECK-INST: fcmge p0.s, p0/z, z0.s, z1.s
// CHECK-ENCODING: [0x00,0x40,0x81,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 40 81 65 <unknown>
fcmge p0.d, p0/z, z0.d, z1.d
// CHECK-INST: fcmge p0.d, p0/z, z0.d, z1.d
// CHECK-ENCODING: [0x00,0x40,0xc1,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 40 c1 65 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,35 +12,35 @@
fcmgt p0.h, p0/z, z0.h, #0.0
// CHECK-INST: fcmgt p0.h, p0/z, z0.h, #0.0
// CHECK-ENCODING: [0x10,0x20,0x50,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 20 50 65 <unknown>
fcmgt p0.s, p0/z, z0.s, #0.0
// CHECK-INST: fcmgt p0.s, p0/z, z0.s, #0.0
// CHECK-ENCODING: [0x10,0x20,0x90,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 20 90 65 <unknown>
fcmgt p0.d, p0/z, z0.d, #0.0
// CHECK-INST: fcmgt p0.d, p0/z, z0.d, #0.0
// CHECK-ENCODING: [0x10,0x20,0xd0,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 20 d0 65 <unknown>
fcmgt p0.h, p0/z, z0.h, z1.h
// CHECK-INST: fcmgt p0.h, p0/z, z0.h, z1.h
// CHECK-ENCODING: [0x10,0x40,0x41,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 40 41 65 <unknown>
fcmgt p0.s, p0/z, z0.s, z1.s
// CHECK-INST: fcmgt p0.s, p0/z, z0.s, z1.s
// CHECK-ENCODING: [0x10,0x40,0x81,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 40 81 65 <unknown>
fcmgt p0.d, p0/z, z0.d, z1.d
// CHECK-INST: fcmgt p0.d, p0/z, z0.d, z1.d
// CHECK-ENCODING: [0x10,0x40,0xc1,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 40 c1 65 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,97 +12,97 @@
fcmla z0.h, p0/m, z0.h, z0.h, #0
// CHECK-INST: fcmla z0.h, p0/m, z0.h, z0.h, #0
// CHECK-ENCODING: [0x00,0x00,0x40,0x64]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 00 40 64 <unknown>
fcmla z0.s, p0/m, z0.s, z0.s, #0
// CHECK-INST: fcmla z0.s, p0/m, z0.s, z0.s, #0
// CHECK-ENCODING: [0x00,0x00,0x80,0x64]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 00 80 64 <unknown>
fcmla z0.d, p0/m, z0.d, z0.d, #0
// CHECK-INST: fcmla z0.d, p0/m, z0.d, z0.d, #0
// CHECK-ENCODING: [0x00,0x00,0xc0,0x64]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 00 c0 64 <unknown>
fcmla z0.h, p0/m, z1.h, z2.h, #90
// CHECK-INST: fcmla z0.h, p0/m, z1.h, z2.h, #90
// CHECK-ENCODING: [0x20,0x20,0x42,0x64]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 20 42 64 <unknown>
fcmla z0.s, p0/m, z1.s, z2.s, #90
// CHECK-INST: fcmla z0.s, p0/m, z1.s, z2.s, #90
// CHECK-ENCODING: [0x20,0x20,0x82,0x64]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 20 82 64 <unknown>
fcmla z0.d, p0/m, z1.d, z2.d, #90
// CHECK-INST: fcmla z0.d, p0/m, z1.d, z2.d, #90
// CHECK-ENCODING: [0x20,0x20,0xc2,0x64]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 20 c2 64 <unknown>
fcmla z29.h, p7/m, z30.h, z31.h, #180
// CHECK-INST: fcmla z29.h, p7/m, z30.h, z31.h, #180
// CHECK-ENCODING: [0xdd,0x5f,0x5f,0x64]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: dd 5f 5f 64 <unknown>
fcmla z29.s, p7/m, z30.s, z31.s, #180
// CHECK-INST: fcmla z29.s, p7/m, z30.s, z31.s, #180
// CHECK-ENCODING: [0xdd,0x5f,0x9f,0x64]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: dd 5f 9f 64 <unknown>
fcmla z29.d, p7/m, z30.d, z31.d, #180
// CHECK-INST: fcmla z29.d, p7/m, z30.d, z31.d, #180
// CHECK-ENCODING: [0xdd,0x5f,0xdf,0x64]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: dd 5f df 64 <unknown>
fcmla z31.h, p7/m, z31.h, z31.h, #270
// CHECK-INST: fcmla z31.h, p7/m, z31.h, z31.h, #270
// CHECK-ENCODING: [0xff,0x7f,0x5f,0x64]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 7f 5f 64 <unknown>
fcmla z31.s, p7/m, z31.s, z31.s, #270
// CHECK-INST: fcmla z31.s, p7/m, z31.s, z31.s, #270
// CHECK-ENCODING: [0xff,0x7f,0x9f,0x64]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 7f 9f 64 <unknown>
fcmla z31.d, p7/m, z31.d, z31.d, #270
// CHECK-INST: fcmla z31.d, p7/m, z31.d, z31.d, #270
// CHECK-ENCODING: [0xff,0x7f,0xdf,0x64]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 7f df 64 <unknown>
fcmla z0.h, z0.h, z0.h[0], #0
// CHECK-INST: fcmla z0.h, z0.h, z0.h[0], #0
// CHECK-ENCODING: [0x00,0x10,0xa0,0x64]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 10 a0 64 <unknown>
fcmla z23.s, z13.s, z8.s[0], #270
// CHECK-INST: fcmla z23.s, z13.s, z8.s[0], #270
// CHECK-ENCODING: [0xb7,0x1d,0xe8,0x64]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: b7 1d e8 64 <unknown>
fcmla z31.h, z31.h, z7.h[3], #270
// CHECK-INST: fcmla z31.h, z31.h, z7.h[3], #270
// CHECK-ENCODING: [0xff,0x1f,0xbf,0x64]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 1f bf 64 <unknown>
fcmla z21.s, z10.s, z5.s[1], #90
// CHECK-INST: fcmla z21.s, z10.s, z5.s[1], #90
// CHECK-ENCODING: [0x55,0x15,0xf5,0x64]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 55 15 f5 64 <unknown>
@ -110,35 +112,35 @@ fcmla z21.s, z10.s, z5.s[1], #90
movprfx z4.d, p7/z, z6.d
// CHECK-INST: movprfx z4.d, p7/z, z6.d
// CHECK-ENCODING: [0xc4,0x3c,0xd0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c4 3c d0 04 <unknown>
fcmla z4.d, p7/m, z31.d, z31.d, #270
// CHECK-INST: fcmla z4.d, p7/m, z31.d, z31.d, #270
// CHECK-ENCODING: [0xe4,0x7f,0xdf,0x64]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e4 7f df 64 <unknown>
movprfx z4, z6
// CHECK-INST: movprfx z4, z6
// CHECK-ENCODING: [0xc4,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c4 bc 20 04 <unknown>
fcmla z4.d, p7/m, z31.d, z31.d, #270
// CHECK-INST: fcmla z4.d, p7/m, z31.d, z31.d, #270
// CHECK-ENCODING: [0xe4,0x7f,0xdf,0x64]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e4 7f df 64 <unknown>
movprfx z21, z28
// CHECK-INST: movprfx z21, z28
// CHECK-ENCODING: [0x95,0xbf,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 95 bf 20 04 <unknown>
fcmla z21.s, z10.s, z5.s[1], #90
// CHECK-INST: fcmla z21.s, z10.s, z5.s[1], #90
// CHECK-ENCODING: [0x55,0x15,0xf5,0x64]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 55 15 f5 64 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,35 +12,35 @@
fcmle p0.h, p0/z, z0.h, #0.0
// CHECK-INST: fcmle p0.h, p0/z, z0.h, #0.0
// CHECK-ENCODING: [0x10,0x20,0x51,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 20 51 65 <unknown>
fcmle p0.s, p0/z, z0.s, #0.0
// CHECK-INST: fcmle p0.s, p0/z, z0.s, #0.0
// CHECK-ENCODING: [0x10,0x20,0x91,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 20 91 65 <unknown>
fcmle p0.d, p0/z, z0.d, #0.0
// CHECK-INST: fcmle p0.d, p0/z, z0.d, #0.0
// CHECK-ENCODING: [0x10,0x20,0xd1,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 20 d1 65 <unknown>
fcmle p0.h, p0/z, z0.h, z1.h
// CHECK-INST: fcmge p0.h, p0/z, z1.h, z0.h
// CHECK-ENCODING: [0x20,0x40,0x40,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 40 40 65 <unknown>
fcmle p0.s, p0/z, z0.s, z1.s
// CHECK-INST: fcmge p0.s, p0/z, z1.s, z0.s
// CHECK-ENCODING: [0x20,0x40,0x80,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 40 80 65 <unknown>
fcmle p0.d, p0/z, z0.d, z1.d
// CHECK-INST: fcmge p0.d, p0/z, z1.d, z0.d
// CHECK-ENCODING: [0x20,0x40,0xc0,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 40 c0 65 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,35 +12,35 @@
fcmlt p0.h, p0/z, z0.h, #0.0
// CHECK-INST: fcmlt p0.h, p0/z, z0.h, #0.0
// CHECK-ENCODING: [0x00,0x20,0x51,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 51 65 <unknown>
fcmlt p0.s, p0/z, z0.s, #0.0
// CHECK-INST: fcmlt p0.s, p0/z, z0.s, #0.0
// CHECK-ENCODING: [0x00,0x20,0x91,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 91 65 <unknown>
fcmlt p0.d, p0/z, z0.d, #0.0
// CHECK-INST: fcmlt p0.d, p0/z, z0.d, #0.0
// CHECK-ENCODING: [0x00,0x20,0xd1,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 d1 65 <unknown>
fcmlt p0.h, p0/z, z0.h, z1.h
// CHECK-INST: fcmgt p0.h, p0/z, z1.h, z0.h
// CHECK-ENCODING: [0x30,0x40,0x40,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 30 40 40 65 <unknown>
fcmlt p0.s, p0/z, z0.s, z1.s
// CHECK-INST: fcmgt p0.s, p0/z, z1.s, z0.s
// CHECK-ENCODING: [0x30,0x40,0x80,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 30 40 80 65 <unknown>
fcmlt p0.d, p0/z, z0.d, z1.d
// CHECK-INST: fcmgt p0.d, p0/z, z1.d, z0.d
// CHECK-ENCODING: [0x30,0x40,0xc0,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 30 40 c0 65 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,35 +12,35 @@
fcmne p0.h, p0/z, z0.h, #0.0
// CHECK-INST: fcmne p0.h, p0/z, z0.h, #0.0
// CHECK-ENCODING: [0x00,0x20,0x53,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 53 65 <unknown>
fcmne p0.s, p0/z, z0.s, #0.0
// CHECK-INST: fcmne p0.s, p0/z, z0.s, #0.0
// CHECK-ENCODING: [0x00,0x20,0x93,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 93 65 <unknown>
fcmne p0.d, p0/z, z0.d, #0.0
// CHECK-INST: fcmne p0.d, p0/z, z0.d, #0.0
// CHECK-ENCODING: [0x00,0x20,0xd3,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 d3 65 <unknown>
fcmne p0.h, p0/z, z0.h, z1.h
// CHECK-INST: fcmne p0.h, p0/z, z0.h, z1.h
// CHECK-ENCODING: [0x10,0x60,0x41,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 60 41 65 <unknown>
fcmne p0.s, p0/z, z0.s, z1.s
// CHECK-INST: fcmne p0.s, p0/z, z0.s, z1.s
// CHECK-ENCODING: [0x10,0x60,0x81,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 60 81 65 <unknown>
fcmne p0.d, p0/z, z0.d, z1.d
// CHECK-INST: fcmne p0.d, p0/z, z0.d, z1.d
// CHECK-ENCODING: [0x10,0x60,0xc1,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 60 c1 65 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,18 +12,18 @@
fcmuo p0.h, p0/z, z0.h, z1.h
// CHECK-INST: fcmuo p0.h, p0/z, z0.h, z1.h
// CHECK-ENCODING: [0x00,0xc0,0x41,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 c0 41 65 <unknown>
fcmuo p0.s, p0/z, z0.s, z1.s
// CHECK-INST: fcmuo p0.s, p0/z, z0.s, z1.s
// CHECK-ENCODING: [0x00,0xc0,0x81,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 c0 81 65 <unknown>
fcmuo p0.d, p0/z, z0.d, z1.d
// CHECK-INST: fcmuo p0.d, p0/z, z0.d, z1.d
// CHECK-ENCODING: [0x00,0xc0,0xc1,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 c0 c1 65 <unknown>

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,37 +12,37 @@
fcvt z0.h, p0/m, z0.s
// CHECK-INST: fcvt z0.h, p0/m, z0.s
// CHECK-ENCODING: [0x00,0xa0,0x88,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 a0 88 65 <unknown>
fcvt z0.h, p0/m, z0.d
// CHECK-INST: fcvt z0.h, p0/m, z0.d
// CHECK-ENCODING: [0x00,0xa0,0xc8,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 a0 c8 65 <unknown>
fcvt z0.s, p0/m, z0.h
// CHECK-INST: fcvt z0.s, p0/m, z0.h
// CHECK-ENCODING: [0x00,0xa0,0x89,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 a0 89 65 <unknown>
fcvt z0.s, p0/m, z0.d
// CHECK-INST: fcvt z0.s, p0/m, z0.d
// CHECK-ENCODING: [0x00,0xa0,0xca,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 a0 ca 65 <unknown>
fcvt z0.d, p0/m, z0.h
// CHECK-INST: fcvt z0.d, p0/m, z0.h
// CHECK-ENCODING: [0x00,0xa0,0xc9,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 a0 c9 65 <unknown>
fcvt z0.d, p0/m, z0.s
// CHECK-INST: fcvt z0.d, p0/m, z0.s
// CHECK-ENCODING: [0x00,0xa0,0xcb,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 a0 cb 65 <unknown>
@ -50,23 +52,23 @@ fcvt z0.d, p0/m, z0.s
movprfx z5.d, p0/z, z7.d
// CHECK-INST: movprfx z5.d, p0/z, z7.d
// CHECK-ENCODING: [0xe5,0x20,0xd0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e5 20 d0 04 <unknown>
fcvt z5.d, p0/m, z0.s
// CHECK-INST: fcvt z5.d, p0/m, z0.s
// CHECK-ENCODING: [0x05,0xa0,0xcb,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 05 a0 cb 65 <unknown>
movprfx z5, z7
// CHECK-INST: movprfx z5, z7
// CHECK-ENCODING: [0xe5,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e5 bc 20 04 <unknown>
fcvt z5.d, p0/m, z0.s
// CHECK-INST: fcvt z5.d, p0/m, z0.s
// CHECK-ENCODING: [0x05,0xa0,0xcb,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 05 a0 cb 65 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,43 +12,43 @@
fcvtzs z0.h, p0/m, z0.h
// CHECK-INST: fcvtzs z0.h, p0/m, z0.h
// CHECK-ENCODING: [0x00,0xa0,0x5a,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 a0 5a 65 <unknown>
fcvtzs z0.s, p0/m, z0.h
// CHECK-INST: fcvtzs z0.s, p0/m, z0.h
// CHECK-ENCODING: [0x00,0xa0,0x5c,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 a0 5c 65 <unknown>
fcvtzs z0.s, p0/m, z0.s
// CHECK-INST: fcvtzs z0.s, p0/m, z0.s
// CHECK-ENCODING: [0x00,0xa0,0x9c,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 a0 9c 65 <unknown>
fcvtzs z0.s, p0/m, z0.d
// CHECK-INST: fcvtzs z0.s, p0/m, z0.d
// CHECK-ENCODING: [0x00,0xa0,0xd8,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 a0 d8 65 <unknown>
fcvtzs z0.d, p0/m, z0.h
// CHECK-INST: fcvtzs z0.d, p0/m, z0.h
// CHECK-ENCODING: [0x00,0xa0,0x5e,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 a0 5e 65 <unknown>
fcvtzs z0.d, p0/m, z0.s
// CHECK-INST: fcvtzs z0.d, p0/m, z0.s
// CHECK-ENCODING: [0x00,0xa0,0xdc,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 a0 dc 65 <unknown>
fcvtzs z0.d, p0/m, z0.d
// CHECK-INST: fcvtzs z0.d, p0/m, z0.d
// CHECK-ENCODING: [0x00,0xa0,0xde,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 a0 de 65 <unknown>
@ -56,23 +58,23 @@ fcvtzs z0.d, p0/m, z0.d
movprfx z5.d, p0/z, z7.d
// CHECK-INST: movprfx z5.d, p0/z, z7.d
// CHECK-ENCODING: [0xe5,0x20,0xd0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e5 20 d0 04 <unknown>
fcvtzs z5.d, p0/m, z0.d
// CHECK-INST: fcvtzs z5.d, p0/m, z0.d
// CHECK-ENCODING: [0x05,0xa0,0xde,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 05 a0 de 65 <unknown>
movprfx z5, z7
// CHECK-INST: movprfx z5, z7
// CHECK-ENCODING: [0xe5,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e5 bc 20 04 <unknown>
fcvtzs z5.d, p0/m, z0.d
// CHECK-INST: fcvtzs z5.d, p0/m, z0.d
// CHECK-ENCODING: [0x05,0xa0,0xde,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 05 a0 de 65 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,43 +12,43 @@
fcvtzu z0.h, p0/m, z0.h
// CHECK-INST: fcvtzu z0.h, p0/m, z0.h
// CHECK-ENCODING: [0x00,0xa0,0x5b,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 a0 5b 65 <unknown>
fcvtzu z0.s, p0/m, z0.h
// CHECK-INST: fcvtzu z0.s, p0/m, z0.h
// CHECK-ENCODING: [0x00,0xa0,0x5d,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 a0 5d 65 <unknown>
fcvtzu z0.s, p0/m, z0.s
// CHECK-INST: fcvtzu z0.s, p0/m, z0.s
// CHECK-ENCODING: [0x00,0xa0,0x9d,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 a0 9d 65 <unknown>
fcvtzu z0.s, p0/m, z0.d
// CHECK-INST: fcvtzu z0.s, p0/m, z0.d
// CHECK-ENCODING: [0x00,0xa0,0xd9,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 a0 d9 65 <unknown>
fcvtzu z0.d, p0/m, z0.h
// CHECK-INST: fcvtzu z0.d, p0/m, z0.h
// CHECK-ENCODING: [0x00,0xa0,0x5f,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 a0 5f 65 <unknown>
fcvtzu z0.d, p0/m, z0.s
// CHECK-INST: fcvtzu z0.d, p0/m, z0.s
// CHECK-ENCODING: [0x00,0xa0,0xdd,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 a0 dd 65 <unknown>
fcvtzu z0.d, p0/m, z0.d
// CHECK-INST: fcvtzu z0.d, p0/m, z0.d
// CHECK-ENCODING: [0x00,0xa0,0xdf,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 a0 df 65 <unknown>
@ -56,23 +58,23 @@ fcvtzu z0.d, p0/m, z0.d
movprfx z5.d, p0/z, z7.d
// CHECK-INST: movprfx z5.d, p0/z, z7.d
// CHECK-ENCODING: [0xe5,0x20,0xd0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e5 20 d0 04 <unknown>
fcvtzu z5.d, p0/m, z0.d
// CHECK-INST: fcvtzu z5.d, p0/m, z0.d
// CHECK-ENCODING: [0x05,0xa0,0xdf,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 05 a0 df 65 <unknown>
movprfx z5, z7
// CHECK-INST: movprfx z5, z7
// CHECK-ENCODING: [0xe5,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e5 bc 20 04 <unknown>
fcvtzu z5.d, p0/m, z0.d
// CHECK-INST: fcvtzu z5.d, p0/m, z0.d
// CHECK-ENCODING: [0x05,0xa0,0xdf,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 05 a0 df 65 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,19 +12,19 @@
fdiv z0.h, p7/m, z0.h, z31.h
// CHECK-INST: fdiv z0.h, p7/m, z0.h, z31.h
// CHECK-ENCODING: [0xe0,0x9f,0x4d,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f 4d 65 <unknown>
fdiv z0.s, p7/m, z0.s, z31.s
// CHECK-INST: fdiv z0.s, p7/m, z0.s, z31.s
// CHECK-ENCODING: [0xe0,0x9f,0x8d,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f 8d 65 <unknown>
fdiv z0.d, p7/m, z0.d, z31.d
// CHECK-INST: fdiv z0.d, p7/m, z0.d, z31.d
// CHECK-ENCODING: [0xe0,0x9f,0xcd,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f cd 65 <unknown>
@ -32,23 +34,23 @@ fdiv z0.d, p7/m, z0.d, z31.d
movprfx z0.d, p7/z, z7.d
// CHECK-INST: movprfx z0.d, p7/z, z7.d
// CHECK-ENCODING: [0xe0,0x3c,0xd0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 3c d0 04 <unknown>
fdiv z0.d, p7/m, z0.d, z31.d
// CHECK-INST: fdiv z0.d, p7/m, z0.d, z31.d
// CHECK-ENCODING: [0xe0,0x9f,0xcd,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f cd 65 <unknown>
movprfx z0, z7
// CHECK-INST: movprfx z0, z7
// CHECK-ENCODING: [0xe0,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 bc 20 04 <unknown>
fdiv z0.d, p7/m, z0.d, z31.d
// CHECK-INST: fdiv z0.d, p7/m, z0.d, z31.d
// CHECK-ENCODING: [0xe0,0x9f,0xcd,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f cd 65 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,19 +12,19 @@
fdivr z0.h, p7/m, z0.h, z31.h
// CHECK-INST: fdivr z0.h, p7/m, z0.h, z31.h
// CHECK-ENCODING: [0xe0,0x9f,0x4c,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f 4c 65 <unknown>
fdivr z0.s, p7/m, z0.s, z31.s
// CHECK-INST: fdivr z0.s, p7/m, z0.s, z31.s
// CHECK-ENCODING: [0xe0,0x9f,0x8c,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f 8c 65 <unknown>
fdivr z0.d, p7/m, z0.d, z31.d
// CHECK-INST: fdivr z0.d, p7/m, z0.d, z31.d
// CHECK-ENCODING: [0xe0,0x9f,0xcc,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f cc 65 <unknown>
@ -32,23 +34,23 @@ fdivr z0.d, p7/m, z0.d, z31.d
movprfx z0.d, p7/z, z7.d
// CHECK-INST: movprfx z0.d, p7/z, z7.d
// CHECK-ENCODING: [0xe0,0x3c,0xd0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 3c d0 04 <unknown>
fdivr z0.d, p7/m, z0.d, z31.d
// CHECK-INST: fdivr z0.d, p7/m, z0.d, z31.d
// CHECK-ENCODING: [0xe0,0x9f,0xcc,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f cc 65 <unknown>
movprfx z0, z7
// CHECK-INST: movprfx z0, z7
// CHECK-ENCODING: [0xe0,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 bc 20 04 <unknown>
fdivr z0.d, p7/m, z0.d, z31.d
// CHECK-INST: fdivr z0.d, p7/m, z0.d, z31.d
// CHECK-ENCODING: [0xe0,0x9f,0xcc,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f cc 65 <unknown>

File diff suppressed because it is too large Load Diff

View File

@ -2,6 +2,8 @@
// 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: not llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %s 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \
// RUN: | llvm-objdump -d --mattr=+sve - | FileCheck %s --check-prefix=CHECK-INST
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,19 +12,19 @@
fmad z0.h, p7/m, z1.h, z31.h
// CHECK-INST: fmad z0.h, p7/m, z1.h, z31.h
// CHECK-ENCODING: [0x20,0x9c,0x7f,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 9c 7f 65 <unknown>
fmad z0.s, p7/m, z1.s, z31.s
// CHECK-INST: fmad z0.s, p7/m, z1.s, z31.s
// CHECK-ENCODING: [0x20,0x9c,0xbf,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 9c bf 65 <unknown>
fmad z0.d, p7/m, z1.d, z31.d
// CHECK-INST: fmad z0.d, p7/m, z1.d, z31.d
// CHECK-ENCODING: [0x20,0x9c,0xff,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 9c ff 65 <unknown>
@ -32,23 +34,23 @@ fmad z0.d, p7/m, z1.d, z31.d
movprfx z0.d, p7/z, z7.d
// CHECK-INST: movprfx z0.d, p7/z, z7.d
// CHECK-ENCODING: [0xe0,0x3c,0xd0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 3c d0 04 <unknown>
fmad z0.d, p7/m, z1.d, z31.d
// CHECK-INST: fmad z0.d, p7/m, z1.d, z31.d
// CHECK-ENCODING: [0x20,0x9c,0xff,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 9c ff 65 <unknown>
movprfx z0, z7
// CHECK-INST: movprfx z0, z7
// CHECK-ENCODING: [0xe0,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 bc 20 04 <unknown>
fmad z0.d, p7/m, z1.d, z31.d
// CHECK-INST: fmad z0.d, p7/m, z1.d, z31.d
// CHECK-ENCODING: [0x20,0x9c,0xff,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 9c ff 65 <unknown>

View File

@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %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=+sve < %s \
@ -10,61 +12,61 @@
fmax z0.h, p0/m, z0.h, #0.000000000000000
// CHECK-INST: fmax z0.h, p0/m, z0.h, #0.0
// CHECK-ENCODING: [0x00,0x80,0x5e,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 5e 65 <unknown>
fmax z0.h, p0/m, z0.h, #0.0
// CHECK-INST: fmax z0.h, p0/m, z0.h, #0.0
// CHECK-ENCODING: [0x00,0x80,0x5e,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 5e 65 <unknown>
fmax z0.s, p0/m, z0.s, #0.0
// CHECK-INST: fmax z0.s, p0/m, z0.s, #0.0
// CHECK-ENCODING: [0x00,0x80,0x9e,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 9e 65 <unknown>
fmax z31.d, p7/m, z31.d, #1.0
// CHECK-INST: fmax z31.d, p7/m, z31.d, #1.0
// CHECK-ENCODING: [0x3f,0x9c,0xde,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 3f 9c de 65 <unknown>
fmax z31.h, p7/m, z31.h, #1.0
// CHECK-INST: fmax z31.h, p7/m, z31.h, #1.0
// CHECK-ENCODING: [0x3f,0x9c,0x5e,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 3f 9c 5e 65 <unknown>
fmax z31.s, p7/m, z31.s, #1.0
// CHECK-INST: fmax z31.s, p7/m, z31.s, #1.0
// CHECK-ENCODING: [0x3f,0x9c,0x9e,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 3f 9c 9e 65 <unknown>
fmax z0.d, p0/m, z0.d, #0.0
// CHECK-INST: fmax z0.d, p0/m, z0.d, #0.0
// CHECK-ENCODING: [0x00,0x80,0xde,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 de 65 <unknown>
fmax z0.h, p7/m, z0.h, z31.h
// CHECK-INST: fmax z0.h, p7/m, z0.h, z31.h
// CHECK-ENCODING: [0xe0,0x9f,0x46,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f 46 65 <unknown>
fmax z0.s, p7/m, z0.s, z31.s
// CHECK-INST: fmax z0.s, p7/m, z0.s, z31.s
// CHECK-ENCODING: [0xe0,0x9f,0x86,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f 86 65 <unknown>
fmax z0.d, p7/m, z0.d, z31.d
// CHECK-INST: fmax z0.d, p7/m, z0.d, z31.d
// CHECK-ENCODING: [0xe0,0x9f,0xc6,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f c6 65 <unknown>
@ -74,47 +76,47 @@ fmax z0.d, p7/m, z0.d, z31.d
movprfx z0.d, p0/z, z7.d
// CHECK-INST: movprfx z0.d, p0/z, z7.d
// CHECK-ENCODING: [0xe0,0x20,0xd0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 20 d0 04 <unknown>
fmax z0.d, p0/m, z0.d, #0.0
// CHECK-INST: fmax z0.d, p0/m, z0.d, #0.0
// CHECK-ENCODING: [0x00,0x80,0xde,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 de 65 <unknown>
movprfx z0, z7
// CHECK-INST: movprfx z0, z7
// CHECK-ENCODING: [0xe0,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 bc 20 04 <unknown>
fmax z0.d, p0/m, z0.d, #0.0
// CHECK-INST: fmax z0.d, p0/m, z0.d, #0.0
// CHECK-ENCODING: [0x00,0x80,0xde,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 80 de 65 <unknown>
movprfx z0.d, p7/z, z7.d
// CHECK-INST: movprfx z0.d, p7/z, z7.d
// CHECK-ENCODING: [0xe0,0x3c,0xd0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 3c d0 04 <unknown>
fmax z0.d, p7/m, z0.d, z31.d
// CHECK-INST: fmax z0.d, p7/m, z0.d, z31.d
// CHECK-ENCODING: [0xe0,0x9f,0xc6,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f c6 65 <unknown>
movprfx z0, z7
// CHECK-INST: movprfx z0, z7
// CHECK-ENCODING: [0xe0,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 bc 20 04 <unknown>
fmax z0.d, p7/m, z0.d, z31.d
// CHECK-INST: fmax z0.d, p7/m, z0.d, z31.d
// CHECK-ENCODING: [0xe0,0x9f,0xc6,0x65]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 9f c6 65 <unknown>

Some files were not shown because too many files have changed in this diff Show More