# Macro is_loongarch_feature_detected

Source

    macro_rules! is_loongarch_feature_detected {
        ("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

Checks if `loongarch` feature is enabled. Supported arguments are:

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