Sha256: 2d5d6c1871155fbba7a7032b92bc39eb43e0082a109d530eb32f415723412003

Contents?: true

Size: 1.65 KB

Versions: 19

Compression:

Stored size: 1.65 KB

Contents

use crate::cdsl::isa::TargetIsa;
use crate::cdsl::settings::SettingGroupBuilder;

pub(crate) fn define() -> TargetIsa {
    let mut settings = SettingGroupBuilder::new("arm64");

    settings.add_bool(
        "has_lse",
        "Has Large System Extensions (FEAT_LSE) support.",
        "",
        false,
    );
    settings.add_bool(
        "has_pauth",
        "Has Pointer authentication (FEAT_PAuth) support; enables the use of \
         non-HINT instructions, but does not have an effect on code generation \
         by itself.",
        "",
        false,
    );
    settings.add_bool(
        "sign_return_address_all",
        "If function return address signing is enabled, then apply it to all \
        functions; does not have an effect on code generation by itself.",
        "",
        false,
    );
    settings.add_bool(
        "sign_return_address",
        "Use pointer authentication instructions to sign function return \
         addresses; HINT-space instructions using the A key are generated \
         and simple functions that do not use the stack are not affected \
         unless overridden by other settings.",
        "",
        false,
    );
    settings.add_bool(
        "sign_return_address_with_bkey",
        "Use the B key with pointer authentication instructions instead of \
        the default A key; does not have an effect on code generation by \
        itself. Some platform ABIs may require this, for example.",
        "",
        false,
    );
    settings.add_bool(
        "use_bti",
        "Use Branch Target Identification (FEAT_BTI) instructions.",
        "",
        false,
    );

    TargetIsa::new("arm64", settings.build())
}

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
wasmtime-24.0.0 ./ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/isa/arm64.rs
wasmtime-23.0.2 ./ext/cargo-vendor/cranelift-codegen-meta-0.110.2/src/isa/arm64.rs
wasmtime-22.0.0 ./ext/cargo-vendor/cranelift-codegen-meta-0.109.0/src/isa/arm64.rs
wasmtime-21.0.1 ./ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/isa/arm64.rs
wasmtime-20.0.2 ./ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/isa/arm64.rs
wasmtime-20.0.0 ./ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/isa/arm64.rs
wasmtime-18.0.3 ./ext/cargo-vendor/cranelift-codegen-meta-0.105.3/src/isa/arm64.rs
wasmtime-17.0.1 ./ext/cargo-vendor/cranelift-codegen-meta-0.104.1/src/isa/arm64.rs
wasmtime-17.0.0 ./ext/cargo-vendor/cranelift-codegen-meta-0.104.0/src/isa/arm64.rs
wasmtime-16.0.0 ./ext/cargo-vendor/cranelift-codegen-meta-0.103.0/src/isa/arm64.rs
wasmtime-15.0.1 ./ext/cargo-vendor/cranelift-codegen-meta-0.102.1/src/isa/arm64.rs
wasmtime-15.0.0 ./ext/cargo-vendor/cranelift-codegen-meta-0.102.1/src/isa/arm64.rs
wasmtime-14.0.4 ./ext/cargo-vendor/cranelift-codegen-meta-0.101.4/src/isa/arm64.rs
wasmtime-14.0.3 ./ext/cargo-vendor/cranelift-codegen-meta-0.101.4/src/isa/arm64.rs
wasmtime-14.0.1 ./ext/cargo-vendor/cranelift-codegen-meta-0.101.1/src/isa/arm64.rs
wasmtime-14.0.0 ./ext/cargo-vendor/cranelift-codegen-meta-0.101.1/src/isa/arm64.rs
wasmtime-13.0.0 ./ext/cargo-vendor/cranelift-codegen-meta-0.100.0/src/isa/arm64.rs
wasmtime-12.0.1 ./ext/cargo-vendor/cranelift-codegen-meta-0.99.1/src/isa/arm64.rs
wasmtime-12.0.0 ./ext/cargo-vendor/cranelift-codegen-meta-0.99.1/src/isa/arm64.rs