Commit Graph

2378 Commits

Author SHA1 Message Date
Daniel Lemire 90e1027bc6 Fix for ClangCL (Microsoft) 2022-05-13 20:36:50 -04:00
Daniel Lemire 41b56b2f2a Updating the old CI tests.
Making AVX-512 work by default.
2022-05-13 18:18:15 -04:00
Daniel Lemire e1eb5d9d30 Let us follow the convention and set the macro to 1 2022-05-11 18:24:02 -04:00
Daniel Lemire 3b8b7e89e4 Further guard the use of AVX-512. We require a compiler which we know supports VBMI2. 2022-05-11 18:17:25 -04:00
Daniel Lemire b54039bb25 Solve issue where the type of count_ones can lead to spurious warnings. 2022-05-11 17:34:43 -04:00
Daniel Lemire 75178b65e0 1. It makes AVX-512 enabled by default again on tiger-lake and ice-lake processors or better. The
expectation is that frequency throttling in these cases is less of a concern for most users.
   To be clear, older Intel processors with AVX-512 instructions (such as cascade lake or skylake-x)
   will not be able to run AVX-512 instructions.

2. We adopt a much faster bitset decoding technique described in the following blog post:
   https://lemire.me/blog/2022/05/10/faster-bitset-decoding-using-intel-avx-512/
   Credit to : Kim Walisch and Jatin Bhateja

3. The compress method which is used by _mm512_mask_compressstoreu_epi8 should be a massive performance
   gain but also a drastic reduction in code complexity.

4. I try to catch up on crediting valued contributors.
2022-05-11 17:26:16 -04:00
wanweiqiangintel 7453fbe878 update the implementation of operator (#1817) 2022-05-11 14:15:37 -04:00
Eric Zhang 9d767a9f59 Some modification of basic AVX-512 implementation (#1816)
* Change the implementation name from cascadelake to icelake.

* Do VBMI2 check, so as to run AVX512 only on the newer Intel processors.

Co-authored-by: root <root@ocsbesrhlrepo01.amr.corp.intel.com>
2022-05-11 09:02:22 -04:00
Daniel Lemire b015f8959b Adding some optimizations for AVX-512 and making it optional (this could be reversed). 2022-05-10 11:40:00 -04:00
root 8d06129667 Enabling runtime dispatch for AVX-512 kernel. (This could get reverted.) 2022-05-09 22:30:28 +00:00
Daniel Lemire a4f3a08c65 Reworded. 2022-05-09 13:10:06 -04:00
mellonyou 6fe66d0fa7 Add cascadelake implementation, which use AVX512 Intrinsics to optimize performance(#1811)
* Add cascadelake implementation, which use AVX512 Intrinsics to optimization the performance.
* update doc/performance.md.
2022-05-09 13:02:46 -04:00
Andrea Pappacoda 1aa1d537fe docs(basics): ondemand::element -> ::document (#1810)
simdjson::ondemand::element doesn't exist
2022-05-05 14:55:22 -04:00
Richard Ebeling c122462278 [skip ci] Fix accidental pastes in doc/basics.md (#1809)
Co-authored-by: Richard Ebeling <He3lixxx@users.noreply.github.com>
2022-05-02 08:13:55 -04:00
Daniel Lemire b6b338bea9 This simplifies the build somewhat by always including developer-options.cmake (#1806) 2022-04-27 12:51:04 -04:00
Dirk Stolle f72636b5b0 fix a typo in documentation (#1807) 2022-04-26 18:01:12 -04:00
Daniel Lemire f6a2bac11b what happens if we remove this check for CI? (#1804) 2022-04-23 14:09:22 -04:00
Daniel Lemire e4ddc5446b Fixing typo. 2022-04-10 08:16:46 -04:00
PavelP e0e0aa9e7b Update simdjson.h to include simdjson_version.h (#1794)
After this change amalgamated simdjson.h has version info at the beginning of the file.
2022-03-19 08:00:24 -04:00
Daniel Lemire 9f0a2e0e86 Update to vs17 (required) (#1795)
* Update to vs17 (required)

* Moving to windows-latest.

* Dropping old vs
2022-03-19 08:00:06 -04:00
Andrei Gritsiuk 203c03e90b resolves #1784 - GCC 11.1.0 and CLang 12.0.0 complain on 'and' operator in padded_string-inl.h (#1785)
Co-authored-by: Andrei <C:\Users\Andrei\AppData\Roaming\The Bat!>
2022-01-31 11:38:54 -05:00
Ivan Volnov 6698eb96b9 Fix C++20 build warnings (#1782) (#1787)
* Fix C++20 build warnings (#1782)

* Build fix for ppc64 (#1782)
2022-01-20 14:16:27 -05:00
pkubaj 30f7de387c Fix build on FreeBSD/powerpc64* (#1786)
FreeBSD uses sys/endian.h and bswap64().
2022-01-18 11:21:47 -05:00
Piotr Doan e0788507fe Missing value::get() template specialization for number (#1779) 2022-01-11 12:07:20 -05:00
Daniel Lemire e4740c87fb Update README.md 2022-01-11 12:05:16 -05:00
Daniel Lemire 5beef701e7 Update CONTRIBUTORS 2022-01-03 15:55:47 -05:00
Daniel Lemire c6f9c93c33 Use static variables to enforce initialization order. (#1773) (#1777)
Fixes https://github.com/simdjson/simdjson/issues/1771

Co-authored-by: Hao Chen <chenhao.yalier@gmail.com>
2022-01-03 15:54:57 -05:00
Daniel Lemire 3a93e45dd1 Removing scoop support. 2021-12-30 12:10:11 -05:00
Daniel Lemire 6db8ceb46c Verify and fix 1768. (#1769)
* Verify and fix 1768.

* Breaking down the namespaces for C++11 compilers.
2021-12-21 15:12:38 -05:00
Daniel Lemire 23651f0d41 Updating a macro. 2021-12-21 09:54:02 -05:00
N. Kolotov 7e1893db42 Added SIMDJSON_ prefix to STRINGIFY and to NO_SANITIZE_UNDEFINED macros. (#1766) 2021-12-21 09:53:06 -05:00
Daniel Lemire b4b1927b0f Making the documentation more explicit. (#1765) 2021-12-21 09:51:20 -05:00
Daniel Lemire e275589832 Update implementation-selection.md 2021-12-07 13:15:05 -05:00
epoll-reactor 69ee84973a Fix some typos in source files. (#1761)
Co-authored-by: epoll-reactor <>
2021-12-06 16:56:15 -05:00
epoll-reactor 76bed68ec3 Fix broken link in basics documentation. (#1760) 2021-12-04 12:21:08 -05:00
epoll-reactor 003d970cd2 Fix -Wredundant-decls warning in json_type.h. (#1759)
Co-authored-by: threadpoolexecutor <davidkor77@gmail.com>
2021-12-02 13:49:48 -05:00
DavidKorczynski 4aaf3f030c Add CIFuzz integration (#1757)
Signed-off-by: David Korczynski <david@adalogics.com>
2021-11-30 10:14:26 -05:00
Daniel Lemire 2763f7e719 Fixing issue 1755 (#1756) 2021-11-24 09:28:28 -05:00
strager 39035c39be Fix typos in comments (#1754) 2021-11-19 09:44:10 -05:00
strager ac179ff40f Fix broken links in documentation (#1753) 2021-11-12 08:47:22 -05:00
Tyler Kennedy b41bece32c Fix a couple of broken links in the basics.md TOC (#1752) 2021-11-07 19:58:32 -05:00
Daniel Lemire 9cb0c5f92d Patching. (#1750) 2021-11-05 19:46:57 -04:00
Daniel Lemire 1dec7b04fe Remark. 2021-11-05 13:32:45 -04:00
strager c6eb6f98b8 Fix typos in documentation (#1747)
The variable is called LOG_ENABLED, not ENABLE_LOGGING. Fix the
documentation in json_iterator.h.
2021-11-03 10:13:13 -04:00
Daniel Lemire 1b01969bda Adding tests for issue 1745. (#1746)
* Adding tests for issue 1745.

* Tweaking the documentation so that it is clearer.
2021-11-03 10:12:18 -04:00
Daniel Lemire 17f3148ac7 Version 1.0.2. v1.0.2 2021-10-27 19:29:42 -04:00
Daniel Lemire 35b4a48e99 Fixing issue 1742 (#1743)
* Fix for issue 1742.

* Some additional tests.
2021-10-27 19:25:23 -04:00
mir4cle c0d18452fc Add an option to get current location from value (#1738)
Co-authored-by: Igor Logvanev <igor.logvanev@aimtech.team>
2021-10-24 16:55:49 -04:00
Daniel Lemire e5c9a310cf Preparing release 1.0.1. v1.0.1 2021-10-20 12:18:04 -04:00
Daniel Lemire 6d308a08c5 Fixing issue 1736 (#1737)
* Fixing issue 1736

* Updating google benchmark.

* Minor trimming.

* Using the variable (to silence a warning).

* Adding assignment operator.
2021-10-20 12:15:35 -04:00