DoxigAlpha

getAArch64CpuFeature

Function parameters

Parameters

#
feat_reg:[]const u8

Functions in this namespace

Functions

#

Source

Implementation

#
inline fn getAArch64CpuFeature(comptime feat_reg: []const u8) u64 {
    return asm ("mrs %[ret], " ++ feat_reg
        : [ret] "=r" (-> u64),
    );
}