MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / get_sme_feature_reg

Function get_sme_feature_reg

src/common/cpuinfo/CpuInfo.cpp:357–366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355}
356
357uint64_t get_sme_feature_reg()
358{
359 uint64_t smefr0 = 0;
360 __asm __volatile(".inst 0xd53804a3 // mrs x3, ID_AA64SMFR0_EL1\n"
361 "MOV %0, X3"
362 : "=r"(smefr0)
363 :
364 : "x3");
365 return smefr0;
366}
367#endif /* defined(BARE_METAL) && defined(__aarch64__) */
368} // namespace
369

Callers 1

buildMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected