Skip to content

FB_FPU


Intrinsic define set by the compiler

Syntax

` FB_FPU

`

Description

For x86 and x86_64 targets:

  • Defined as "sse" if SSE floating point arithmetics is enabled, and
  • defined as "x87" otherwise

For arm and aarch64 targets:

  • Defined as "neon" if Advanced SIMD (Neon) extension is enabled, and
  • defined as "x87" otherwise

Examples

start GeSHi

vb
#if __FB_FPU__ = "sse"
  ' ... instructions only for SSE ...
#else
  ' ... instructions not for SSE ...
#endif

end GeSHi

Version

  • __FB_FPU__ = neon added in fbc 1.20.0

Differences from QB

  • New to FreeBASIC

See also

Back to DocToc

Translated from FreeBASIC official docs. Contact us for removal if infringed.
FreeBASIC is an open-source project, not affiliated with Microsoft