package ocaml_intrinsics

  1. Overview
  2. Docs
Intrinsics

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.16.2.tar.gz
md5=30a6bf3dcbde30922a38c970a6898b4d
sha512=2d13598222764f79f610825a24e61ee5f5aab9689796189beba8d1f450d2428e9b557b6b9f6b0166db6f04e06796db0549825a42032fd8c7d79852581e407208

doc/ocaml_intrinsics/Ocaml_intrinsics/index.html

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