Skip to content

Commit db6fa67

Browse files
committed
Update contrib/libs/simdjson to 3.12.2
commit_hash:1da1e7f4c8215c30ac33f0a481944ca35188e1fa
1 parent b78775e commit db6fa67

File tree

6 files changed

+27
-24
lines changed

6 files changed

+27
-24
lines changed

contrib/libs/simdjson/.yandex_meta/devtools.licenses.report

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ BELONGS ya.make
4242
Match type : REFERENCE
4343
Links : http://www.boost.org/LICENSE_1_0.txt, http://www.boost.org/users/license.html, https://spdx.org/licenses/BSL-1.0
4444
Files with this license:
45-
README.md [235:235]
45+
README.md [234:234]
4646

4747
KEEP MIT 0a00f0d66f4f37595306dd8c6a25c63c
4848
BELONGS ya.make
@@ -54,7 +54,7 @@ BELONGS ya.make
5454
Match type : NOTICE
5555
Links : http://opensource.org/licenses/mit-license.php, https://spdx.org/licenses/MIT
5656
Files with this license:
57-
README.md [231:231]
57+
README.md [230:230]
5858

5959
SKIP LicenseRef-scancode-unknown-license-reference 0d48e0b09865a98a90db20ea37b36bb8
6060
BELONGS ya.make
@@ -66,7 +66,7 @@ BELONGS ya.make
6666
Match type : INTRO
6767
Links : https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE
6868
Files with this license:
69-
README.md [239:239]
69+
README.md [238:238]
7070

7171
KEEP Apache-2.0 13ec3cccf3036f38df47d2051a825972
7272
BELONGS ya.make
@@ -102,7 +102,7 @@ BELONGS ya.make
102102
Match type : REFERENCE
103103
Links : http://www.apache.org/licenses/, http://www.apache.org/licenses/LICENSE-2.0, https://spdx.org/licenses/Apache-2.0
104104
Files with this license:
105-
README.md [215:215]
105+
README.md [214:214]
106106

107107
SKIP BSL-1.0 2a9212d785cde4078c2f6803e544de21
108108
BELONGS ya.make
@@ -113,7 +113,7 @@ BELONGS ya.make
113113
Match type : REFERENCE
114114
Links : http://www.boost.org/LICENSE_1_0.txt, http://www.boost.org/users/license.html, https://spdx.org/licenses/BSL-1.0
115115
Files with this license:
116-
README.md [235:235]
116+
README.md [234:234]
117117

118118
KEEP MIT 3e1ede6948a97e7ee3d75e0204a567f3
119119
BELONGS ya.make
@@ -125,7 +125,7 @@ BELONGS ya.make
125125
Match type : TAG
126126
Links : http://opensource.org/licenses/mit-license.php, https://spdx.org/licenses/MIT
127127
Files with this license:
128-
README.md [219:219]
128+
README.md [218:218]
129129

130130
SKIP Apache-2.0 500a503129337bb5adf5977ce11879cd
131131
BELONGS ya.make
@@ -137,7 +137,7 @@ BELONGS ya.make
137137
Match type : NOTICE
138138
Links : http://www.apache.org/licenses/, http://www.apache.org/licenses/LICENSE-2.0, https://spdx.org/licenses/Apache-2.0
139139
Files with this license:
140-
README.md [231:231]
140+
README.md [230:230]
141141

142142
SKIP BSL-1.0 77dd56e30840a227692d435b4aecdb95
143143
BELONGS ya.make
@@ -148,11 +148,11 @@ BELONGS ya.make
148148
Match type : REFERENCE
149149
Links : http://www.boost.org/LICENSE_1_0.txt, http://www.boost.org/users/license.html, https://spdx.org/licenses/BSL-1.0
150150
Files with this license:
151-
README.md [235:235]
151+
README.md [234:234]
152152

153153
KEEP MIT 7f0bdbc0a0545831259b66259ac6b604
154154
BELONGS ya.make
155-
FILE_INCLUDE LICENSE-MIT found in files: README.md at line 218
155+
FILE_INCLUDE LICENSE-MIT found in files: README.md at line 217
156156
License text:
157157
[licensemit]: LICENSE-MIT
158158
Scancode info:
@@ -161,7 +161,7 @@ FILE_INCLUDE LICENSE-MIT found in files: README.md at line 218
161161
Match type : TAG
162162
Links : http://opensource.org/licenses/mit-license.php, https://spdx.org/licenses/MIT
163163
Files with this license:
164-
README.md [218:218]
164+
README.md [217:217]
165165

166166
KEEP Apache-2.0 82e76bbc1841bd5886297e795c72bfa5
167167
BELONGS ya.make
@@ -173,7 +173,7 @@ BELONGS ya.make
173173
Match type : REFERENCE
174174
Links : http://www.apache.org/licenses/, http://www.apache.org/licenses/LICENSE-2.0, https://spdx.org/licenses/Apache-2.0
175175
Files with this license:
176-
README.md [231:231]
176+
README.md [230:230]
177177

178178
KEEP MIT a6e9f2d79eb73e6e422759b53da6152a
179179
BELONGS ya.make
@@ -208,7 +208,7 @@ BELONGS ya.make
208208
Match type : NOTICE
209209
Links : http://opensource.org/licenses/mit-license.php, https://spdx.org/licenses/MIT
210210
Files with this license:
211-
README.md [237:237]
211+
README.md [236:236]
212212

213213
SKIP Apache-2.0 c23a044f4165feb9568f486ca3b30fc8
214214
BELONGS ya.make
@@ -219,7 +219,7 @@ BELONGS ya.make
219219
Match type : NOTICE
220220
Links : http://www.apache.org/licenses/, http://www.apache.org/licenses/LICENSE-2.0, https://spdx.org/licenses/Apache-2.0
221221
Files with this license:
222-
README.md [235:235]
222+
README.md [234:234]
223223

224224
SKIP BSD-3-Clause d77bd60dc7ee5f9c3b221f6edd94bbac
225225
BELONGS ya.make
@@ -231,7 +231,7 @@ BELONGS ya.make
231231
Match type : REFERENCE
232232
Links : http://www.opensource.org/licenses/BSD-3-Clause, https://spdx.org/licenses/BSD-3-Clause
233233
Files with this license:
234-
README.md [239:239]
234+
README.md [238:238]
235235

236236
SKIP MIT dd09705e3ec59af63c705c8f5f3eadb2
237237
BELONGS ya.make
@@ -243,7 +243,7 @@ BELONGS ya.make
243243
Match type : REFERENCE
244244
Links : http://opensource.org/licenses/mit-license.php, https://spdx.org/licenses/MIT
245245
Files with this license:
246-
README.md [233:233]
246+
README.md [232:232]
247247

248248
KEEP MIT f0fe4686586f118327c3bc63fe4027de
249249
BELONGS ya.make

contrib/libs/simdjson/.yandex_meta/override.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
pkgs: attrs: with pkgs; rec {
2-
version = "3.12.1";
2+
version = "3.12.2";
33

44
src = fetchFromGitHub {
55
owner = "simdjson";
66
repo = "simdjson";
77
rev = "v${version}";
8-
hash = "sha256-ujeG3yidZJZV6x4RQQYXwbslQcRx3HaqjzgaU2A4cQU=";
8+
hash = "sha256-TjUPySFwwTlD4fLpHoUywAeWvVvi7Hg1wxzgE9vohrs=";
99
};
1010

1111
cmakeFlags = attrs.cmakeFlags ++ [

contrib/libs/simdjson/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11

2-
[![Ubuntu 20.04 CI](https://github.com/simdjson/simdjson/workflows/Ubuntu%2020.04%20CI%20(GCC%209)/badge.svg)](https://simdjson.org/plots.html)
32
[![Fuzzing Status](https://oss-fuzz-build-logs.storage.googleapis.com/badges/simdjson.svg)](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened&can=1&q=proj:simdjson)
43
[![][license img]][license] [![][licensemit img]][licensemit]
54

contrib/libs/simdjson/include/simdjson/icelake/simd.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,14 +148,18 @@ namespace simd {
148148

149149
// Copies to 'output" all bytes corresponding to a 0 in the mask (interpreted as a bitset).
150150
// Passing a 0 value for mask would be equivalent to writing out every byte to output.
151-
// Only the first 32 - count_ones(mask) bytes of the result are significant but 32 bytes
151+
// Only the first 64 - count_ones(mask) bytes of the result are significant but 64 bytes
152152
// get written.
153153
// Design consideration: it seems like a function with the
154154
// signature simd8<L> compress(uint32_t mask) would be
155155
// sensible, but the AVX ISA makes this kind of approach difficult.
156156
template<typename L>
157157
simdjson_inline void compress(uint64_t mask, L * output) const {
158-
_mm512_mask_compressstoreu_epi8 (output,~mask,*this);
158+
// we deliberately avoid _mm512_mask_compressstoreu_epi8 for portability
159+
// (AMD Zen4 has terrible performance with it, it is effectively broken)
160+
// _mm512_mask_compressstoreu_epi8 (output,~mask,*this);
161+
__m512i compressed = _mm512_maskz_compress_epi8(~mask, *this);
162+
_mm512_storeu_si512(output, compressed); // could use a mask
159163
}
160164

161165
template<typename L>

contrib/libs/simdjson/include/simdjson/simdjson_version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#define SIMDJSON_SIMDJSON_VERSION_H
55

66
/** The version of simdjson being used (major.minor.revision) */
7-
#define SIMDJSON_VERSION "3.12.1"
7+
#define SIMDJSON_VERSION "3.12.2"
88

99
namespace simdjson {
1010
enum {
@@ -19,7 +19,7 @@ enum {
1919
/**
2020
* The revision (major.minor.REVISION) of simdjson being used.
2121
*/
22-
SIMDJSON_VERSION_REVISION = 1
22+
SIMDJSON_VERSION_REVISION = 2
2323
};
2424
} // namespace simdjson
2525

contrib/libs/simdjson/ya.make

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ LICENSE(
1010

1111
LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
1212

13-
VERSION(3.12.1)
13+
VERSION(3.12.2)
1414

15-
ORIGINAL_SOURCE(https://github.com/simdjson/simdjson/archive/v3.12.1.tar.gz)
15+
ORIGINAL_SOURCE(https://github.com/simdjson/simdjson/archive/v3.12.2.tar.gz)
1616

1717
ADDINCL(
1818
GLOBAL contrib/libs/simdjson/include

0 commit comments

Comments
 (0)