2
0
mirror of https://github.com/boostorg/uuid.git synced 2026-01-19 04:42:16 +00:00
Commit Graph

382 Commits

Author SHA1 Message Date
Peter Dimov
ed07ba178e Add -march=native jobs to Drone 2024-04-25 22:50:04 +03:00
Peter Dimov
8830c30355 Add support for the BOOST_UUID_REPORT_IMPLEMENTATION macro, which outputs the chosen .ipp implementation 2024-04-25 20:51:18 +03:00
Peter Dimov
b7f9f36be1 Merge pull request #151 from Lastique/feature/x86_avx512
Add AVX-512/AVX10.1 implementation of `operator<`/`operator<=>`
2024-04-25 20:14:54 +03:00
Andrey Semashev
f00dd99cc8 Documented BOOST_UUID_USE_AVX and BOOST_UUID_USE_AVX10_1. 2024-04-25 10:37:13 +03:00
Andrey Semashev
98edfad5b4 Added AVX-512/AVX10.1 implementation of operator</operator<=>.
The new implementation offers about 20% speed improvement over the SSE2
version on i7 12700K, and about 30% over the uint128_t-based version.
2024-04-25 10:37:13 +03:00
Peter Dimov
f8e0118f5b Update .drone.jsonnet 2024-04-25 06:49:27 +03:00
Peter Dimov
ad47704b6d Disable time_generator_v1 atomic tests on GCC 13 -m64 as well 2024-04-25 05:45:53 +03:00
Peter Dimov
dff6b4aba9 Increase back number of threads in test_time_generator_v1_3 2024-04-25 04:57:42 +03:00
Peter Dimov
9f5a00e1e2 Split test_time_generator_v1 into two 2024-04-25 04:51:44 +03:00
Peter Dimov
a3ddc70def Disable time_generator_v1 tests under GCC 13 -m32, because they hang 2024-04-25 04:23:58 +03:00
Peter Dimov
a413686525 Remove MinGW-not-w64 from Appveyor; too much of a hassle 2024-04-25 02:27:03 +03:00
Peter Dimov
5405204e2b Update CMakeLists.txt 2024-04-25 02:20:01 +03:00
Peter Dimov
263778d436 Reduce number of threads in test_time_generator_v1_2.cpp 2024-04-25 02:18:33 +03:00
Peter Dimov
9900185201 Use b2 -j2 instead of -j3 on GHA (to lower the probability of hangs) 2024-04-24 22:22:17 +03:00
Peter Dimov
a152ce4f5d Add a multithreaded test for time_generator_v1 2024-04-24 21:50:00 +03:00
Peter Dimov
99d73bfa96 Update Reference headings 2024-04-24 20:45:44 +03:00
Peter Dimov
a6a0a417e6 Update Acknowledgments and Copyright 2024-04-24 20:35:03 +03:00
Peter Dimov
c1303bd939 Update index.html 2024-04-24 20:29:41 +03:00
Peter Dimov
bd5ebe6fff Add doc/.gitignore 2024-04-24 20:27:35 +03:00
Peter Dimov
c24bac9db2 Merge branch 'feature/asciidoc' of https://github.com/cmazakas/uuid into feature/asciidoc 2024-04-24 20:24:51 +03:00
Peter Dimov
9d60669588 Add uuid::time_point_v1(), uuid_clock::from_timestamp, uuid_clock::to_timestamp 2024-04-24 19:39:54 +03:00
Peter Dimov
c0097b5818 Make uuid_clock public 2024-04-24 19:23:58 +03:00
Christian Mazakas
b217e8dd04 transliterate docs to adoc 2024-04-24 09:21:43 -07:00
Peter Dimov
ca1e2d94b3 Remove time_generator_v1::node_type; add constructor taking state_type const& 2024-04-24 17:57:48 +03:00
Peter Dimov
a49a80d923 Remove test_uuid_no_simd.cpp 2024-04-24 17:51:11 +03:00
Peter Dimov
01f6eea8ed Add test_uuid_2.cpp 2024-04-24 17:49:30 +03:00
Peter Dimov
dd29e36203 Add uuid::node_identifier(), uuid::clock_seq(), uuid::timestamp_v1() accessors 2024-04-24 17:20:43 +03:00
Peter Dimov
3704b78e7a Update test_time_generator_v1 2024-04-24 16:49:05 +03:00
Peter Dimov
985c47ed49 Update test_time_generator_v1 2024-04-24 14:08:18 +03:00
Peter Dimov
83b1b1e126 Update test_time_generator_v1 2024-04-24 13:52:02 +03:00
Peter Dimov
9c317573a2 Avoid overflow when the UUID epoch can't be represented by system_clock's range; use signed rep types 2024-04-24 04:39:47 +03:00
Peter Dimov
c155f4c824 Link test_time_generator_v1.cpp to libatomic for GCC in test/CMakeLists.txt as well 2024-04-24 04:39:28 +03:00
Peter Dimov
353cd75120 Remove GCC 4.7 from CI 2024-04-24 04:01:46 +03:00
Peter Dimov
b420e9205e Link test_time_generator_v1.cpp to libatomic for GCC (and Clang on Linux) 2024-04-24 03:21:06 +03:00
Peter Dimov
abfba7f6a4 Add time_generator_v1 2024-04-24 02:14:13 +03:00
Peter Dimov
d7aca60d72 Add u16 support to endian.hpp 2024-04-24 02:14:13 +03:00
Peter Dimov
43c526386d Add detail::uuid_clock 2024-04-24 02:14:12 +03:00
Peter Dimov
9773ad896d Merge pull request #149 from Lastique/feature/refactor_comparison_x86
Refactor comparison operators on x86
2024-04-24 02:12:44 +03:00
Peter Dimov
209f20a5ad Merge pull request #150 from Lastique/feature/reenable_x86
Use SSE2 implementation when `uint128_t` is available
2024-04-24 02:11:43 +03:00
Andrey Semashev
f126a8a258 Refactor x86 comparison operators.
Move the majority of operator< implementation to a separate function and
reuse it in operator<=>.
2024-04-23 20:21:26 +03:00
Andrey Semashev
03954b9a40 Use SSE2 implementation when uint128_t is available.
The SSE-optimized routines are faster than uint128_t-based ones. Based on
my tests on i7 12700K, with gcc 11.4, SSE4 operator== is 13% faster and
operator< is 8% faster.
2024-04-23 20:17:35 +03:00
Peter Dimov
735b5c2360 Update README.md 2024-04-23 18:27:27 +03:00
Peter Dimov
0ea21de6ef Update README.md 2024-04-23 18:24:01 +03:00
Peter Dimov
98df301571 Update README.md 2024-04-23 18:16:26 +03:00
Peter Dimov
1c6e52721f Update README.md 2024-04-23 18:12:15 +03:00
Peter Dimov
9af4077457 Update README.md 2024-04-23 18:11:06 +03:00
Peter Dimov
164ad7930f Add support for operator<=>. Refs #143. Closes #144. 2024-04-23 17:11:13 +03:00
Peter Dimov
7653e900d8 Make MinGW implementation of random_device noncopyable to match std::random_device 2024-04-23 05:47:50 +03:00
Peter Dimov
79dceeeb49 Avoid aliasing in chacha20_12::get_next_block 2024-04-23 05:23:35 +03:00
Peter Dimov
378977a015 Reverse cutoff computation condition in test_bench_random 2024-04-23 05:22:41 +03:00