Daniel Lemire
502fee1b45
Fixes the way conditions are checked on variables so it is correct. ( #780 )
2020-04-23 16:01:40 -04:00
Daniel Lemire
4d0c7d706d
Warn 32-bit users about their doom. ( #783 )
2020-04-23 16:01:19 -04:00
John Keiser
6cd418b60a
Automatically re-amalgamate when source/headers change
2020-04-23 12:17:39 -07:00
John Keiser
a3b39dfd1a
Test against headers amalgamated from current source
2020-04-23 12:17:37 -07:00
Daniel Lemire
74da47e286
Building from the single-header files alone everywhere, including under Visual Studio ( #778 )
...
* The idea here is to build from the single-header files alone.
* Testing the headers from the repo.
2020-04-23 15:07:26 -04:00
John Keiser
587ba9bec0
Merge pull request #728 from simdjson/jkeiser/cmake-fuzz-noexceptions
...
Compile fuzzers without exceptions, run as part of tests
2020-04-23 10:13:33 -07:00
Daniel Lemire
382392e03b
This should enable -Weffc++ ( #777 )
...
* Enabling -Weffc++
2020-04-23 13:03:04 -04:00
John Keiser
409948a0f9
Update amalgamated headers
2020-04-23 09:19:26 -07:00
Daniel Lemire
34919ca394
Update README.md
2020-04-23 12:04:46 -04:00
Daniel Lemire
0d1c574cb1
A few more changes... ( #775 )
...
* More nitpicking.
2020-04-23 11:36:52 -04:00
Daniel Lemire
c564815931
Merge branch 'master' of github.com:simdjson/simdjson
2020-04-23 11:30:09 -04:00
Daniel Lemire
f6fb667ac1
Being more explicit.
2020-04-23 11:25:20 -04:00
Daniel Lemire
832bbe734d
Extra details.
2020-04-23 11:20:12 -04:00
Daniel Lemire
7a2fda891c
Merge branch 'master' into jkeiser/cmake-fuzz-noexceptions
2020-04-23 10:29:14 -04:00
Daniel Lemire
e50c239a2e
Added Matjaž Ostroveršnik.
2020-04-23 10:18:56 -04:00
Daniel Lemire
cc7c8d92da
We do not use the CC compiler.
2020-04-23 10:14:19 -04:00
ostri
87acab0846
elimination of most of g++ -Weffc++ warnings ( #764 )
...
Co-authored-by: Matjaž Ostroveršnik <ostri@localhost.localdomain>
Co-authored-by: Daniel Lemire <lemire@gmail.com>
2020-04-23 10:06:44 -04:00
John Keiser
f43459d476
Merge pull request #759 from simdjson/jkeiser/wconversion
...
Compile with conversion warnings enabled
2020-04-22 20:53:20 -07:00
Daniel Lemire
e030f02776
Merge branch 'master' into jkeiser/wconversion
2020-04-22 22:03:34 -04:00
John Keiser
10f2d01e7f
Run most build flavors on VS2019 ( #761 )
2020-04-22 21:59:45 -04:00
Daniel Lemire
80dbf9a32a
We should not enable checkperf on anything but Linux. ( #762 )
2020-04-22 21:54:03 -04:00
Daniel Lemire
185274e70f
Let us see if we can test with libc++. ( #732 )
...
* Let us see if we can test with libc++.
* Fixed spacing.
2020-04-22 21:24:42 -04:00
Daniel Lemire
f0ac55ec0c
testing on freebsd ( #768 )
...
* Adding cirrus tests
* Adding cirrus badge.
2020-04-22 21:22:09 -04:00
Daniel Lemire
44544635dd
More debugging effort.
2020-04-22 17:55:28 -04:00
Daniel Lemire
3c594b1037
Debugging...
2020-04-22 17:30:19 -04:00
Daniel Lemire
ea7100e8c4
More tweaking.
2020-04-22 17:22:46 -04:00
John Keiser
a198abc485
Use int as index to reduce cast operations
...
Decreases the number of instructions per block by almost 1
2020-04-22 14:21:33 -07:00
John Keiser
d4a37f6ef5
Enable conversion warnings on Linux and Windows
2020-04-22 14:21:30 -07:00
John Keiser
a5c9c31231
Merge pull request #755 from simdjson/jkeiser/windows-deprecation-warning
...
Reenable deprecation warnings on Windows
2020-04-22 14:18:28 -07:00
Daniel Lemire
e3ec78a832
Trying again.
2020-04-22 17:18:08 -04:00
John Keiser
a116e68a47
Merge pull request #729 from simdjson/jkeiser/cmake-amalgamate
...
Add amalgamation support to cmake
2020-04-22 14:16:10 -07:00
Daniel Lemire
e7084de166
Let us try this way...
2020-04-22 17:14:57 -04:00
Daniel Lemire
398eda6365
Merge branch 'master' of github.com:simdjson/simdjson
2020-04-22 17:06:10 -04:00
Daniel Lemire
349abf5ee6
Hopeful attempt at using cirrus (for FreeBSD)
2020-04-22 17:05:50 -04:00
John Keiser
4ce40b1975
Reenable _CRT_SECURE_NO_WARNINGS
2020-04-22 10:46:59 -07:00
Daniel Lemire
536fe28f8f
Being explicit regarding the initialization of two member variables. ( #765 )
2020-04-22 12:46:55 -04:00
John Keiser
3e9e14f4d6
Reenable deprecation warnings on Windows
2020-04-22 08:53:19 -07:00
John Keiser
c8140068ad
Merge pull request #760 from simdjson/jkeiser/remove-unneeded-wd-flags
...
Remove unneeded /WD flags on Windows
2020-04-22 08:21:03 -07:00
John Keiser
db314bc381
Make fuzzing work without exceptions
2020-04-21 17:33:47 -07:00
John Keiser
499a26b152
Remove /D_CRT_SECURE_NO_WARNINGS on Windows
2020-04-21 16:56:13 -07:00
John Keiser
a9cdb5be50
Remove unneeded /WD flags on Windows
2020-04-21 16:32:34 -07:00
Daniel Lemire
5f04208dbd
This removes the problematic use of the intrinsic _addcarry_u64 for Visual Studio ( #758 )
...
in the ARM 64-bit kernel. This intrinsic does not appear in the documentation
https://docs.microsoft.com/en-us/cpp/intrinsics/arm64-intrinsics?view=vs-2019
and should probably not be used. Note that we expect the compiler to produce
efficient code out of our implementation.
2020-04-21 17:13:22 -04:00
PavelP
ffaa292006
Master vs2019 x86 compile fixes ( #743 )
...
* Added bitexact implementations of _BitScanForward64 and _BitScanReverse64 for VS2019 32-bit builds
* Added bitexact implementations of _umul128 for VS2019 x86, arm, arm64 builds
* Implement mul_overflow for VS2019 arm64 builds
+ implement mul_overflow using __umulh (msvc/clang results: https://godbolt.org/z/smRwA7 )
* Added Win32 for VS2019 to .appveyor.yml
* Update amalgamated headers (fix x86 builds with VS2019)
2020-04-21 14:42:53 -04:00
John Keiser
d3e44b1108
Add amalgamation support to cmake
2020-04-20 19:50:51 -07:00
John Keiser
fbf274a42b
Merge pull request #727 from simdjson/jkeiser/cmake-checkperf
...
Add checkperf to cmake
2020-04-20 19:45:45 -07:00
Daniel Lemire
d94cd65dfd
We used to have a requirements section which went away. I think it is required. ( #749 )
2020-04-20 19:03:26 -04:00
Daniel Lemire
3c1b403c4e
Fixing typo.
2020-04-20 18:19:38 -04:00
John Keiser
75564453b3
Don't checkperf sanitize, don't do sanitize-gcc7
2020-04-20 11:23:19 -07:00
John Keiser
3091e2dc0e
Add fallback, westmere and unthreaded checkperf
2020-04-20 11:18:40 -07:00
John Keiser
fc50a36cc5
Make checkperf build master with the same options
2020-04-20 11:14:46 -07:00