aboutsummaryrefslogtreecommitdiff
path: root/core/math/bits
Commit message (Collapse)AuthorAgeFilesLines
* `ODIN_ENDIAN` changed to an enum constant; `ODIN_ENUM_STRING` is the new ↵gingerBill2022-01-151-16/+16
| | | | string version of the old constant
* core:math/bits: Improve add/sub/mul_u64Yawning Angel2021-10-271-42/+30
| | | | | | * `add_u32`/`add_u64`/`add_uint` are now constant time * `sub_u32`/`sub_u64`/`sub_uint` are now constant time * `mul_u64` now uses `u128`
* Add `bits.log2`gingerBill2021-09-151-0/+4
|
* Strip even more semicolons if followed by a `}` or `)` on the same linegingerBill2021-08-311-36/+36
|
* Remove unneeded semicolons from the core librarygingerBill2021-08-311-2/+2
|
* Remove unneeded semicolons from the core librarygingerBill2021-08-311-192/+192
|
* Enforce `core:builtin` and `core:intrinsics` for importsgingerBill2021-08-211-1/+1
|
* Remove `import "core:runtime"` from `core:math/bits`gingerBill2021-04-251-1/+0
|
* Add `intrinsics.count_zeros`gingerBill2021-04-251-64/+9
|
* Rename intrinsics to count_trailing_zeros and count_leading_zerosgingerBill2021-04-251-27/+6
|
* Replace many `foreign` llvm calls with intrinsicsgingerBill2021-04-251-142/+18
|
* Minimize unneeded castsgingerBill2021-03-031-4/+4
|
* Add to package math/bits `bitfield_extract` and `bitfield_insert`gingerBill2021-02-191-0/+125
|
* Improve bits.rotate_left*gingerBill2020-05-311-9/+25
|
* Update math/bitsgingerBill2020-05-301-5/+243
|
* Add `runtime.bswap_*` required for -llvm-apigingerBill2020-04-111-25/+42
|
* Rename math/bits package name to `math_bits`gingerBill2019-12-311-1/+1
|
* Add i128/u128 support for bit setsgingerBill2019-05-281-1/+8
|
* Move core:bits to core:math/bitsgingerBill2019-03-241-0/+253