intrinsic function

Uses your system voice; voice and rate in settings.

Q1671596Snapshot

≈ 2 min read

Names in other languages

  • DeutschIntrinsische Funktion
  • FrançaisFonction intrinsèque
  • ItalianoFunzione intrinseca
  • Englishintrinsic function
  • EnglishIntrinsic function
  • EnglishIntrinsic function
  • فارسیتابع ذاتی
  • 日本語組み込み関数

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

In computer software, in compiler theory, an intrinsic function, also called built-in function or builtin function, is a function (subroutine) available for use in a given programming language whose implementation is handled specially by the compiler. Typically, it may substitute a sequence of automatically generated instructions for the original function call, similar to an inline function. Unlike an inline function, the compiler has an intimate knowledge of an intrinsic function and can thus better integrate and optimize it for a given situation. Compilers that implement intrinsic functions may enable them only when a program requests optimization, otherwise falling back to a default implementation provided by the language runtime system (environment).

In computer software, in compiler theory, an intrinsic function, also called built-in function or builtin function, is a function (subroutine) available for use in a given programming language whose implementation is handled specially by the compiler. Typically, it may substitute a sequence of automatically generated instructions for the original function call, similar to an inline function. Unlike an inline function, the compiler has an intimate knowledge of an intrinsic function and can thus better integrate and optimize it for a given situation. Compilers that implement intrinsic functions may enable them only when a program requests optimization, otherwise falling back to a default implementation provided by the language runtime system (environment). uint64_t __rdtsc (); // return internal CPU clock counter uint64_t __popcnt64 (uint64_t n); // count of bits set in n uint64_t _umul128 (uint64_t Factor1, uint64_t Factor2, uint64_t* HighProduct); // 64 bit * 64 bit => 128 bit multiplication __m512 _mm512_add_ps (__m512 a, __m512 b); // calculates a + b for two vectors of 16 floats __m512 _mm512_fmadd_ps(__m512 a, __m512 b, __m512 c); // calculates a*b + c for three vectors of 16 floats ==References==

Text derived from https://en.wikipedia.org/w/index.php?oldid=1352695254 under CC BY-SA 4.0; modifications have been made.

Provenance

snapshot intrinsic-function-195620-b33eb9f4f5c5a811 · hash b33eb9f4f5c5a811e4a9275cc6904f09f5f9b83a435137183f35f2c56d6f7811 · captured 1777999675.0 · version history

Cite this page as: encyclopegia.org, “intrinsic function”, snapshot intrinsic-function-195620-b33eb9f4f5c5a811. https://encyclopegia.org/a/intrinsic-function