Skip to content

Implement a subset of all intrinsics #1

@bjorn3

Description

@bjorn3

Constants

  • size_of
  • min_align_of
  • needs_drop
  • type_id
  • type_name

Needed for libcore and libstd

  • abort
  • copy
  • copy_nonoverlapping
  • transmute
  • uninit
  • offset
  • unchecked_*
  • overflowing_*
  • *_with_overflow
  • disciminant_value
  • assume
  • (un)likely
  • ctlz_nonzero
  • size_of_val
  • min_align_of_val
  • arith_offset
  • bitreverse
  • bswap
  • saturating_sub

Needed for liballoc

  • write_bytes

Atomics

They are not atomic yet.

  • atomic_cxchg_*
  • atomic_fence_*
  • atomic_load_*
  • atomic_store_*
  • atomic_xadd_*
  • atomic_xsub_*

Needed for libtest

  • fabsf64
  • maxnumf64
  • sqrtf64
  • floorf64
  • minnumf64
  • try (libtest needs panic_unwind)

Misc

  • volatile_{load,store}
  • pref_align_of
  • powif64
  • truncf64
  • fmaf64
  • roundf64
  • logf64
  • sinf64
  • f*_fast
  • volatile_copy_memory

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions