package ocaml_intrinsics

  1. Overview
  2. Docs

Module Ocaml_intrinsicsSource

Sourcemodule Atomic : sig ... end

Atomic arithmetic operations

Sourcemodule Atomic_expert : sig ... end

Untagged int

Sourcemodule Bigstring_intf : sig ... end
Sourcemodule Conditional : sig ... end
Sourcemodule Crc : sig ... end
Sourcemodule Ext_pointer : sig ... end

Ext_pointer uses values of the OCaml type "int" to represent pointers to 2-byte aligned memory blocks allocated outside the OCaml heap.

Sourcemodule Fences : sig ... end
Sourcemodule Float : sig ... end
Sourcemodule Int : sig ... end

The are two version of count_leading_zeros, count_set_bits each, which differ in their native code implementation. The first version takes as input a tagged integer and the second version takes as input an untagged integer. Generally, the first version (that operates on a tagged integer) is faster, but if the integer is already untagged, it may be faster to use the second version.

Sourcemodule Int32 : sig ... end
Sourcemodule Int64 : sig ... end
Sourcemodule Native_pointer : sig ... end
Sourcemodule Nativeint : sig ... end
Sourcemodule Perfmon : sig ... end
Sourcemodule Prefetch : sig ... end

Bring the line of data from memory that contains the specified address.

Sourcemodule Prefetch_expert : sig ... end
OCaml

Innovation. Community. Security.