Skip to content

Commit 4935d03

Browse files
committed
Revert "Merge branch 'nodejs:main' into main"
This reverts commit e5d42eb, reversing changes made to e9b71a8.
1 parent e5d42eb commit 4935d03

File tree

511 files changed

+6205
-190905
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

511 files changed

+6205
-190905
lines changed

.github/CODEOWNERS

-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@
108108
/benchmark/misc/startup.js @nodejs/startup
109109
/src/node.cc @nodejs/startup
110110
/src/node_native_module* @nodejs/startup
111-
/src/node_snapshot* @nodejs/startup
112111
/lib/internal/bootstrap/* @nodejs/startup
113112
/tools/snapshot/* @nodejs/startup
114113

.github/ISSUE_TEMPLATE/1-bug-report.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ body:
1919
label: Platform
2020
description: |
2121
UNIX: output of `uname -a`
22-
Windows: output of `"$([Environment]::OSVersion.VersionString) $(('x86', 'x64')[[Environment]::Is64BitOperatingSystem])"` in PowerShell console
22+
Windows: output of `"$([Environment]::OSVersion | ForEach-Object VersionString) $(if ([Environment]::Is64BitOperatingSystem) { "x64" } else { "x86" })"` in PowerShell console
2323
- type: input
2424
attributes:
2525
label: Subsystem

.github/workflows/test-internet.yml

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ permissions:
2929

3030
jobs:
3131
test-internet:
32-
if: github.repository == 'nodejs/node' || github.event_name != 'schedule'
3332
runs-on: ubuntu-latest
3433
steps:
3534
- uses: actions/checkout@v3

.mailmap

-4
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,6 @@ Ke Ding <[email protected]>
287287
Keith M Wesolowski <[email protected]> <[email protected]>
288288
Kelsey Breseman <[email protected]>
289289
Kevin Millikin <[email protected]>
290-
291-
292290
Khaidi Chu <[email protected]>
293291
294292
Kimberly Wilber <[email protected]>
@@ -431,8 +429,6 @@ Ron Korving <[email protected]> <[email protected]>
431429
432430
433431
434-
435-
436432
Ryan Dahl <[email protected]>
437433
Ryan Emery <[email protected]>
438434
Ryan Mahan <[email protected]>

AUTHORS

+3-13
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,7 @@ Joran Siu <[email protected]>
10481048
Vitaly Tomilov <[email protected]>
10491049
Ratikesh Misra <[email protected]>
10501050
Alex Perkins <[email protected]>
1051-
Beth Griggs <bethanyngriggs@gmail.com>
1051+
Beth Griggs <bgriggs@redhat.com>
10521052
Joe Esposito <[email protected]>
10531053
Erin Spiceland <[email protected]>
10541054
Ravindra Barthwal <[email protected]>
@@ -1784,7 +1784,7 @@ Christopher Sidebottom <[email protected]>
17841784
Edward Andrew Robinson <[email protected]>
17851785
Shakeel Mohamed <[email protected]>
17861786
Tobias Kieslich <[email protected]>
1787-
Ruy Adorno <ruyadorno@google.com>
1787+
Ruy Adorno <ruyadorno@hotmail.com>
17881788
Stefania Sharp <[email protected]>
17891789
Pawel Golda <[email protected]>
17901790
Steven Scott <[email protected]>
@@ -3457,7 +3457,7 @@ Yagiz Nizipli <[email protected]>
34573457
liuxingbaoyu <[email protected]>
34583458
Sergey Nazaryev <[email protected]>
34593459
William Marlow <[email protected]>
3460-
Keyhan Vakil <[email protected]>
3460+
Keyhan Vakil <[email protected]>
34613461
34623462
pupilTong <[email protected]>
34633463
@@ -3490,15 +3490,5 @@ John Gee <[email protected]>
34903490
Hrishikesh Kadam <[email protected]>
34913491
KrayzeeKev <[email protected]>
34923492
3493-
jiahao.si <[email protected]>
3494-
3495-
Mark S. Miller <[email protected]>
3496-
Jianru Lin <[email protected]>
3497-
Lenvin Gonsalves <[email protected]>
3498-
Andreu Botella <[email protected]>
3499-
3500-
Dominic Saadi <[email protected]>
3501-
3502-
NicoNekoru <[email protected]>
35033493

35043494
# Generated by tools/update-authors.mjs

README.md

+1-7
Original file line numberDiff line numberDiff line change
@@ -310,8 +310,6 @@ For information about the governance of the Node.js project, see
310310
**Daniele Belardi** <<[email protected]>> (he/him)
311311
* [edsadr](https://github.com/edsadr) -
312312
**Adrian Estrada** <<[email protected]>> (he/him)
313-
* [erickwendel](https://github.com/erickwendel) -
314-
**Erick Wendel** <<[email protected]>> (he/him)
315313
* [evanlucas](https://github.com/evanlucas) -
316314
**Evan Lucas** <<[email protected]>> (he/him)
317315
* [fhinkel](https://github.com/fhinkel) -
@@ -407,7 +405,7 @@ For information about the governance of the Node.js project, see
407405
* [ronag](https://github.com/ronag) -
408406
**Robert Nagy** <<[email protected]>>
409407
* [ruyadorno](https://github.com/ruyadorno) -
410-
**Ruy Adorno** <<ruyadorno@google.com>> (he/him)
408+
**Ruy Adorno** <<ruyadorno@github.com>> (he/him)
411409
* [rvagg](https://github.com/rvagg) -
412410
**Rod Vagg** <<[email protected]>>
413411
* [ryzokuken](https://github.com/ryzokuken) -
@@ -426,8 +424,6 @@ For information about the governance of the Node.js project, see
426424
**Stewart X Addison** <<[email protected]>> (he/him)
427425
* [targos](https://github.com/targos) -
428426
**Michaël Zasso** <<[email protected]>> (he/him)
429-
* [theanarkh](https://github.com/theanarkh) -
430-
**theanarkh** <<[email protected]>> (he/him)
431427
* [TimothyGu](https://github.com/TimothyGu) -
432428
**Tiancheng "Timothy" Gu** <<[email protected]>> (he/him)
433429
* [tniessen](https://github.com/tniessen) -
@@ -662,8 +658,6 @@ maintaining the Node.js project.
662658
**Himadri Ganguly** <<[email protected]>> (he/him)
663659
* [iam-frankqiu](https://github.com/iam-frankqiu) -
664660
**Frank Qiu** <<[email protected]>> (he/him)
665-
* [kvakil](https://github.com/kvakil) -
666-
**Keyhan Vakil** <<[email protected]>> (they/them)
667661
* [marsonya](https://github.com/marsonya) -
668662
**Akhil Marsonya** <<[email protected]>> (he/him)
669663
* [meixg](https://github.com/meixg) -

common.gypi

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
# Reset this number to 0 on major V8 upgrades.
3838
# Increment by one for each non-official patch applied to deps/v8.
39-
'v8_embedder_string': '-node.11',
39+
'v8_embedder_string': '-node.10',
4040

4141
##### V8 defaults for Node.js #####
4242

deps/base64/base64/lib/arch/neon64/codec.c

+2-7
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,8 @@ load_64byte_table (const uint8_t *p)
5858
#include "../generic/32/dec_loop.c"
5959
#include "../generic/64/enc_loop.c"
6060
#include "dec_loop.c"
61-
62-
#ifdef BASE64_NEON64_USE_ASM
63-
# include "enc_loop_asm.c"
64-
#else
65-
# include "enc_reshuffle.c"
66-
# include "enc_loop.c"
67-
#endif
61+
#include "enc_reshuffle.c"
62+
#include "enc_loop.c"
6863

6964
#endif // BASE64_USE_NEON64
7065

deps/base64/base64/lib/arch/neon64/enc_loop.c

+67
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,72 @@
1+
#ifdef BASE64_NEON64_USE_ASM
2+
static inline void
3+
enc_loop_neon64_inner_asm (const uint8_t **s, uint8_t **o, const uint8x16x4_t tbl_enc)
4+
{
5+
// This function duplicates the functionality of enc_loop_neon64_inner,
6+
// but entirely with inline assembly. This gives a significant speedup
7+
// over using NEON intrinsics, which do not always generate very good
8+
// code. The logic of the assembly is directly lifted from the
9+
// intrinsics version, so it can be used as a guide to this code.
10+
11+
// Temporary registers, used as scratch space.
12+
uint8x16_t tmp0, tmp1, tmp2, tmp3;
13+
14+
// Numeric constant.
15+
const uint8x16_t n63 = vdupq_n_u8(63);
16+
17+
__asm__ (
18+
19+
// Load 48 bytes and deinterleave. The bytes are loaded to
20+
// hard-coded registers v12, v13 and v14, to ensure that they
21+
// are contiguous. Increment the source pointer.
22+
"ld3 {v12.16b, v13.16b, v14.16b}, [%[src]], #48 \n\t"
23+
24+
// Reshuffle the bytes using temporaries.
25+
"ushr %[t0].16b, v12.16b, #2 \n\t"
26+
"ushr %[t1].16b, v13.16b, #4 \n\t"
27+
"ushr %[t2].16b, v14.16b, #6 \n\t"
28+
"sli %[t1].16b, v12.16b, #4 \n\t"
29+
"sli %[t2].16b, v13.16b, #2 \n\t"
30+
"and %[t1].16b, %[t1].16b, %[n63].16b \n\t"
31+
"and %[t2].16b, %[t2].16b, %[n63].16b \n\t"
32+
"and %[t3].16b, v14.16b, %[n63].16b \n\t"
33+
34+
// Translate the values to the Base64 alphabet.
35+
"tbl v12.16b, {%[l0].16b, %[l1].16b, %[l2].16b, %[l3].16b}, %[t0].16b \n\t"
36+
"tbl v13.16b, {%[l0].16b, %[l1].16b, %[l2].16b, %[l3].16b}, %[t1].16b \n\t"
37+
"tbl v14.16b, {%[l0].16b, %[l1].16b, %[l2].16b, %[l3].16b}, %[t2].16b \n\t"
38+
"tbl v15.16b, {%[l0].16b, %[l1].16b, %[l2].16b, %[l3].16b}, %[t3].16b \n\t"
39+
40+
// Store 64 bytes and interleave. Increment the dest pointer.
41+
"st4 {v12.16b, v13.16b, v14.16b, v15.16b}, [%[dst]], #64 \n\t"
42+
43+
// Outputs (modified).
44+
: [src] "+r" (*s),
45+
[dst] "+r" (*o),
46+
[t0] "=&w" (tmp0),
47+
[t1] "=&w" (tmp1),
48+
[t2] "=&w" (tmp2),
49+
[t3] "=&w" (tmp3)
50+
51+
// Inputs (not modified).
52+
: [n63] "w" (n63),
53+
[l0] "w" (tbl_enc.val[0]),
54+
[l1] "w" (tbl_enc.val[1]),
55+
[l2] "w" (tbl_enc.val[2]),
56+
[l3] "w" (tbl_enc.val[3])
57+
58+
// Clobbers.
59+
: "v12", "v13", "v14", "v15"
60+
);
61+
}
62+
#endif
63+
164
static inline void
265
enc_loop_neon64_inner (const uint8_t **s, uint8_t **o, const uint8x16x4_t tbl_enc)
366
{
67+
#ifdef BASE64_NEON64_USE_ASM
68+
enc_loop_neon64_inner_asm(s, o, tbl_enc);
69+
#else
470
// Load 48 bytes and deinterleave:
571
uint8x16x3_t src = vld3q_u8(*s);
672

@@ -20,6 +86,7 @@ enc_loop_neon64_inner (const uint8_t **s, uint8_t **o, const uint8x16x4_t tbl_en
2086

2187
*s += 48;
2288
*o += 64;
89+
#endif
2390
}
2491

2592
static inline void

deps/base64/base64/lib/arch/neon64/enc_loop_asm.c

-167
This file was deleted.

0 commit comments

Comments
 (0)