Contains optimizations, for example fast redefinitions for functions.
LinuxSystemOptimizations | Contains optimizations, for example fast redefinitions for functions. |
Copyright | This program is free software. |
Files | |
C-kern/ | Header file LinuxSystemOptimizations. |
C-kern/ | Included from Konfiguration. |
system specific configurations | |
Supported Function Replacements | |
GNU C-Compiler | |
sys_sqroot_int64 | Replaces sqroot_int64 with faster sqrtl (long double version). |
Default Definitions | |
default sys_sqroot_int64 | If no compiler specific version is defined use sqroot_int64 as default. |
This program is free software. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
© 2012 Jörg Seebohn
Header file LinuxSystemOptimizations.
Included from Konfiguration.
Supported Function Replacements | |
GNU C-Compiler | |
sys_sqroot_int64 | Replaces sqroot_int64 with faster sqrtl (long double version). |
Default Definitions | |
default sys_sqroot_int64 | If no compiler specific version is defined use sqroot_int64 as default. |
sys_sqroot_int64 | Replaces sqroot_int64. Set it either to sqroot_int64 or another system specific implementation. |
#define sys_sqroot_int64 sqrtl
Replaces sqroot_int64 with faster sqrtl (long double version). The x86 fpu is faster than the standard integer algorithm for computing the square root.
If no compiler specific version is defined use sqroot_int64 as default.
Replaces sqroot_int64 with faster sqrtl (long double version).
#define sys_sqroot_int64 sqrtl
Implements the High School Square Root Algorithm for 64 bit unsigned integer.
uint32_t sqroot_int64( uint64_t number )