File tree 6 files changed +634
-818
lines changed 6 files changed +634
-818
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ if (NOT CMAKE_BUILD_TYPE)
5
5
set (CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build." FORCE)
6
6
endif ()
7
7
8
- project (simdjson
9
- DESCRIPTION "Parsing gigabytes of JSON per second"
8
+ project (simdjson
9
+ DESCRIPTION "Parsing gigabytes of JSON per second"
10
10
LANGUAGES CXX
11
11
)
12
12
@@ -26,9 +26,9 @@ set(THREADS_PREFER_PTHREAD_FLAG ON)
26
26
27
27
set (SIMDJSON_LIB_NAME simdjson)
28
28
set (PROJECT_VERSION_MAJOR 0)
29
- set (PROJECT_VERSION_MINOR 2 )
30
- set (PROJECT_VERSION_PATCH 1 )
31
- set (SIMDJSON_LIB_VERSION "0.2.1 " CACHE STRING "simdjson library version" )
29
+ set (PROJECT_VERSION_MINOR 3 )
30
+ set (PROJECT_VERSION_PATCH 0 )
31
+ set (SIMDJSON_LIB_VERSION "0.3.0 " CACHE STRING "simdjson library version" )
32
32
set (SIMDJSON_LIB_SOVERSION "0" CACHE STRING "simdjson library soversion" )
33
33
34
34
option (SIMDJSON_IMPLEMENTATION_HASWELL "Include the haswell implementation" ON )
Original file line number Diff line number Diff line change 4
4
#define SIMDJSON_SIMDJSON_VERSION_H
5
5
6
6
/* * The version of simdjson being used (major.minor.revision) */
7
- #define SIMDJSON_VERSION 0.2.1
7
+ #define SIMDJSON_VERSION 0.3.0
8
8
9
9
namespace simdjson {
10
10
enum {
@@ -15,11 +15,11 @@ enum {
15
15
/* *
16
16
* The minor version (major.MINOR.revision) of simdjson being used.
17
17
*/
18
- SIMDJSON_VERSION_MINOR = 2 ,
18
+ SIMDJSON_VERSION_MINOR = 3 ,
19
19
/* *
20
20
* The revision (major.minor.REVISION) of simdjson being used.
21
21
*/
22
- SIMDJSON_VERSION_REVISION = 1
22
+ SIMDJSON_VERSION_REVISION = 0
23
23
};
24
24
} // namespace simdjson
25
25
Original file line number Diff line number Diff line change 1
- /* auto-generated on Sun Mar 29 15:07:05 PDT 2020 . Do not edit! */
1
+ /* auto-generated on Tue 31 Mar 2020 17:00:28 EDT . Do not edit! */
2
2
3
3
#include < iostream>
4
4
#include " simdjson.h"
Original file line number Diff line number Diff line change 1
- /* auto-generated on Sun Mar 29 15:07:05 PDT 2020 . Do not edit! */
1
+ /* auto-generated on Tue 31 Mar 2020 17:00:28 EDT . Do not edit! */
2
2
#include "simdjson.h"
3
3
4
4
/* used for http://dmalloc.com/ Dmalloc - Debug Malloc Library */
@@ -68,11 +68,11 @@ POSSIBILITY OF SUCH DAMAGE.
68
68
namespace simdjson {
69
69
70
70
// Can be found on Intel ISA Reference for CPUID
71
- constexpr uint32_t cpuid_avx2_bit = 1 << 5; // Bit 5 of EBX for EAX=0x7
72
- constexpr uint32_t cpuid_bmi1_bit = 1 << 3; // bit 3 of EBX for EAX=0x7
73
- constexpr uint32_t cpuid_bmi2_bit = 1 << 8; // bit 8 of EBX for EAX=0x7
74
- constexpr uint32_t cpuid_sse42_bit = 1 << 20; // bit 20 of ECX for EAX=0x1
75
- constexpr uint32_t cpuid_pclmulqdq_bit = 1 << 1; // bit 1 of ECX for EAX=0x1
71
+ constexpr uint32_t cpuid_avx2_bit = 1 << 5; ///< @private Bit 5 of EBX for EAX=0x7
72
+ constexpr uint32_t cpuid_bmi1_bit = 1 << 3; ///< @private bit 3 of EBX for EAX=0x7
73
+ constexpr uint32_t cpuid_bmi2_bit = 1 << 8; ///< @private bit 8 of EBX for EAX=0x7
74
+ constexpr uint32_t cpuid_sse42_bit = 1 << 20; ///< @private bit 20 of ECX for EAX=0x1
75
+ constexpr uint32_t cpuid_pclmulqdq_bit = 1 << 1; ///< @private bit 1 of ECX for EAX=0x1
76
76
77
77
enum instruction_set {
78
78
DEFAULT = 0x0,
You can’t perform that action at this time.
0 commit comments