Home
last modified time | relevance | path

Searched refs:simd_flags (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/tools/perf/util/
H A Dsample.h69 struct simd_flags { struct
121 struct simd_flags simd_flags; member
H A Darm-spe.c276 static struct simd_flags arm_spe__synth_simd_flags(const struct arm_spe_record *record) in arm_spe__synth_simd_flags()
278 struct simd_flags simd_flags = {}; in arm_spe__synth_simd_flags() local
281 simd_flags.arch |= SIMD_OP_FLAGS_ARCH_SVE; in arm_spe__synth_simd_flags()
284 simd_flags.arch |= SIMD_OP_FLAGS_ARCH_SVE; in arm_spe__synth_simd_flags()
287 simd_flags.pred |= SIMD_OP_FLAGS_PRED_PARTIAL; in arm_spe__synth_simd_flags()
290 simd_flags.pred |= SIMD_OP_FLAGS_PRED_EMPTY; in arm_spe__synth_simd_flags()
292 return simd_flags; in arm_spe__synth_simd_flags()
311 sample->simd_flags = arm_spe__synth_simd_flags(record); in arm_spe_prep_sample()
H A Dsort.h114 struct simd_flags simd_flags; member
H A Dsort.c147 if (left->simd_flags.arch != right->simd_flags.arch) in sort__simd_cmp()
148 return (int64_t) left->simd_flags.arch - right->simd_flags.arch; in sort__simd_cmp()
150 return (int64_t) left->simd_flags.pred - right->simd_flags.pred; in sort__simd_cmp()
153 static const char *hist_entry__get_simd_name(struct simd_flags *simd_flags) in hist_entry__get_simd_name() argument
155 u64 arch = simd_flags->arch; in hist_entry__get_simd_name()
168 if (!he->simd_flags.arch) in hist_entry__simd_snprintf()
171 name = hist_entry__get_simd_name(&he->simd_flags); in hist_entry__simd_snprintf()
173 if (he->simd_flags.pred & SIMD_OP_FLAGS_PRED_EMPTY) in hist_entry__simd_snprintf()
175 else if (he->simd_flags.pred & SIMD_OP_FLAGS_PRED_PARTIAL) in hist_entry__simd_snprintf()
H A Dhist.c751 .simd_flags = sample->simd_flags, in __hists__add_entry()