is_loongarch_feature_detected in std_detect - Rust
Description: Check for the presence of a CPU feature at runtime.

## is_loongarch_feature_detected

# Macro is_loongarch_feature_detected

Source

    macro_rules! is_loongarch_feature_detected {
        ("32s") => { ... };
        ("f") => { ... };
        ("d") => { ... };
        ("frecipe") => { ... };
        ("div32") => { ... };
        ("lsx") => { ... };
        ("lasx") => { ... };
        ("lam-bh") => { ... };
        ("lamcas") => { ... };
        ("ld-seq-sa") => { ... };
        ("scq") => { ... };
        ("lbt") => { ... };
        ("lvz") => { ... };
        ("ual") => { ... };
        ($t:tt,) => { ... };
        ($t:tt) => { ... };
    }

🔬This is a nightly-only experimental API. (`stdarch_internal`)
Available on LoongArch LA32 or LoongArch LA64 only.
Expand description

Check for the presence of a CPU feature at runtime.

When the feature is known to be enabled at compile time (e.g. via `-Ctarget-feature`) the macro expands to `true`.

Supported arguments are:

- `"32s"`
- `"f"`
- `"d"`
- `"frecipe"`
- `"div32"`
- `"lsx"`
- `"lasx"`
- `"lam-bh"`
- `"lamcas"`
- `"ld-seq-sa"`
- `"scq"`
- `"lbt"`
- `"lvz"`
- `"ual"`