aboutsummaryrefslogtreecommitdiffstats
path: root/common/bits.h
Commit message (Collapse)AuthorAgeFilesLines
* Split up common into kernel,place,routegatecat2022-04-081-76/+0
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* Update bits.hDavid Corrigan2021-04-301-2/+2
| | | Fixed the variable name for windows MSVC builds.
* Use NEXTPNR_NAMESPACE macro's now that headers are seperated.Keith Rothman2021-03-151-4/+4
| | | | Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* Run "make clangformat" to fix new Bits library.Keith Rothman2021-02-231-5/+8
| | | | Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* Add a Bits utility library.Keith Rothman2021-02-171-0/+73
This library captures use of __builtin_popcount and __builtin_ctz on GCC/clang and hopefully handles the MSVC case. Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>