Patrick Pelissier
8b3a4a802c
Happy new year!
2019-01-02 18:12:07 +01:00
Patrick Pelissier
b799725bef
Update comment.
2018-09-19 22:22:48 +02:00
Patrick Pelissier
68c737dcef
Clean up interface if (internal) genint:
...
it returns at most an 2048, so an unsigned int is more enought
(and internally it was already used!).
So transform the interface to take as input unsigned int.
Fix maximum size supported by the genint package.
Add proper constant used for error, and use it in the code.
2018-08-02 23:19:05 +02:00
Patrick Pelissier
3b642ffeb3
Update after internal review.
2018-07-17 21:00:55 +02:00
Patrick Pelissier
96202aa78f
Do not use reserved identifiers of the C standard (See 7.1.3 Reserved identifiers)
2018-07-14 14:35:14 +02:00
Patrick Pelissier
8b2993c979
Add more assertions to help scan-build with false positive.
2018-04-20 19:30:15 +02:00
Patrick Pélissier
d97f46133b
Fix issue for 32 bits systems
...
mpz_core_clz wasn't reproductible for 32 bits system.
2018-04-14 23:08:53 +02:00
Patrick Pelissier
2ff197c670
Add function _size
2018-02-19 23:14:09 +01:00
Patrick Pelissier
5c9a610823
Fix data race issue
2018-02-19 22:49:05 +01:00
Patrick Pelissier
3d59fb0d9a
Fix a deadlock due to an ABA like bug.
2018-02-19 19:00:24 +01:00
Patrick Pelissier
bbd887fd2c
Update comments
2018-02-17 14:21:54 +01:00
Patrick Pelissier
438704be37
Rewrite & fix int queue generator.
...
Limitation to 4096 max entries.
A classic queue may be way faster (too much sharing for thread) but will use much more memory...
To bench
2018-02-16 21:22:46 +01:00
Patrick Pelissier
96178194b3
Update size to long long
2018-02-16 18:00:08 +01:00
Patrick Pelissier
210e05f7fc
Update copyright to 2018
2018-01-29 20:28:30 +01:00
Patrick Pelissier
2c695526dd
Fix issue with stricter C++ compiler with atomic definition.
...
(It still feels strange to not be able to store 0 in an atomic unsigned long).
2017-12-30 12:17:55 +01:00
Patrick Pelissier
bdd66ff237
Fix issue.
2017-12-07 23:06:26 +01:00
Patrick Pelissier
453b54856e
Move CLZ from genint to core
2017-11-12 09:41:10 +01:00
Patrick Pelissier
5615a1419a
Add a generic code for all targets for CLZ
2017-11-12 09:38:14 +01:00
Patrick Pelissier
446fa7d35f
Add integer generator
2017-11-11 20:30:50 +01:00