macros/ifunc.mac
raw| 1 | ;; SPDX-License-Identifier: BSD-2-Clause |
| 2 | ;; Copyright 2012-2016 The NASM Authors - All Rights Reserved |
| 3 | |
| 4 | ;; |
| 5 | ;; ifunc.mac |
| 6 | ;; |
| 7 | ;; Integer function utility macros |
| 8 | ;; |
| 9 | |
| 10 | USE: ifunc |
| 11 | |
| 12 | %idefine ilog2(x) (__?ilog2e?__(x)) |
| 13 | %idefine ilog2e(x) (__?ilog2e?__(x)) |
| 14 | %idefine ilog2w(x) (__?ilog2w?__(x)) |
| 15 | %idefine ilog2fw(x) (__?ilog2w?__(x)) |
| 16 | %idefine ilog2f(x) (__?ilog2f?__(x)) |
| 17 | %idefine ilog2cw(x) (__?ilog2w?__(x) * 0 + __?ilog2c?__(x)) |
| 18 | %idefine ilog2c(x) (__?ilog2c?__(x)) |