FB_FPU
- Source: https://www.freebasic.net/wiki/wikka.php?wakka=KeyPgDdfbfpu
- Last revised: 2024-01-30
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 ...
#endifend GeSHi
Version
__FB_FPU__ = neonadded in fbc 1.20.0
Differences from QB
- New to FreeBASIC
See also
__FB_SSE__- Compiler Option: -fpu
Back to DocToc