Skip to content

Commit

Permalink
Revert "Merge branch 'nodejs:main' into main"
Browse files Browse the repository at this point in the history
This reverts commit e5d42eb, reversing
changes made to e9b71a8.
  • Loading branch information
MeowShe committed Aug 6, 2022
1 parent e5d42eb commit 4935d03
Show file tree
Hide file tree
Showing 511 changed files with 6,205 additions and 190,905 deletions.
1 change: 0 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@
/benchmark/misc/startup.js @nodejs/startup
/src/node.cc @nodejs/startup
/src/node_native_module* @nodejs/startup
/src/node_snapshot* @nodejs/startup
/lib/internal/bootstrap/* @nodejs/startup
/tools/snapshot/* @nodejs/startup

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/1-bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ body:
label: Platform
description: |
UNIX: output of `uname -a`
Windows: output of `"$([Environment]::OSVersion.VersionString) $(('x86', 'x64')[[Environment]::Is64BitOperatingSystem])"` in PowerShell console
Windows: output of `"$([Environment]::OSVersion | ForEach-Object VersionString) $(if ([Environment]::Is64BitOperatingSystem) { "x64" } else { "x86" })"` in PowerShell console
- type: input
attributes:
label: Subsystem
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/test-internet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ permissions:

jobs:
test-internet:
if: github.repository == 'nodejs/node' || github.event_name != 'schedule'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 0 additions & 4 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,6 @@ Ke Ding <dingkework@hotmail.com>
Keith M Wesolowski <wesolows@joyent.com> <wesolows@foobazco.org>
Kelsey Breseman <ifoundthemeaningoflife@gmail.com>
Kevin Millikin <kmillikin@chromium.org>
Keyhan Vakil <kvakil@sylph.kvakil.me> <60900335+airtable-keyhanvakil@users.noreply.github.com>
Keyhan Vakil <kvakil@sylph.kvakil.me> <kvakil@github.kvakil.me>
Khaidi Chu <i@2333.moe>
Khaidi Chu <i@2333.moe> <admin@xcoder.in>
Kimberly Wilber <gcr@sneakygcr.net>
Expand Down Expand Up @@ -431,8 +429,6 @@ Ron Korving <ron@ronkorving.nl> <rkorving@wizcorp.jp>
Ruben Bridgewater <ruben@bridgewater.de> <ruben.bridgewater@fintura.de>
Ruben Bridgewater <ruben@bridgewater.de> <ruben.bridgewater@maibornwolff.de>
Russell Dempsey <sgtpooki@gmail.com> <SgtPooki@gmail.com>
Ruy Adorno <ruyadorno@google.com> <ruyadorno@github.com>
Ruy Adorno <ruyadorno@google.com> <ruyadorno@hotmail.com>
Ryan Dahl <ry@tinyclouds.org>
Ryan Emery <seebees@gmail.com>
Ryan Mahan <ryanmahan97@gmail.com>
Expand Down
16 changes: 3 additions & 13 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -1048,7 +1048,7 @@ Joran Siu <joransiu@ca.ibm.com>
Vitaly Tomilov <vitaly-t@users.noreply.github.com>
Ratikesh Misra <ratikesh92@gmail.com>
Alex Perkins <aperkin@rei.com>
Beth Griggs <bethanyngriggs@gmail.com>
Beth Griggs <bgriggs@redhat.com>
Joe Esposito <joe@joeyespo.com>
Erin Spiceland <yes@erin.codes>
Ravindra Barthwal <ravindrabarthwal@users.noreply.github.com>
Expand Down Expand Up @@ -1784,7 +1784,7 @@ Christopher Sidebottom <chris@damouse.co.uk>
Edward Andrew Robinson <earobinson@gmail.com>
Shakeel Mohamed <contact@shakeel.xyz>
Tobias Kieslich <tobias.kieslich@gmail.com>
Ruy Adorno <ruyadorno@google.com>
Ruy Adorno <ruyadorno@hotmail.com>
Stefania Sharp <stefaniasharp@gmail.com>
Pawel Golda <pawelgolda@gmail.com>
Steven Scott <Contact@TheDgtl.net>
Expand Down Expand Up @@ -3457,7 +3457,7 @@ Yagiz Nizipli <yagiz@nizipli.com>
liuxingbaoyu <30521560+liuxingbaoyu@users.noreply.github.com>
Sergey Nazaryev <sergey@nazaryev.com>
William Marlow <william.marlow@ibm.com>
Keyhan Vakil <kvakil@sylph.kvakil.me>
Keyhan Vakil <60900335+airtable-keyhanvakil@users.noreply.github.com>
Feng Yu <F3n67u@outlook.com>
pupilTong <pupiltong@outlook.com>
rikapo <rikaporori@gmail.com>
Expand Down Expand Up @@ -3490,15 +3490,5 @@ John Gee <john@ruru.gen.nz>
Hrishikesh Kadam <hrkadam.92@gmail.com>
KrayzeeKev <github@lentinfamily.com>
Airing <airing@ursb.me>
jiahao.si <sijiahao0839@gmail.com>
Rhys <Anemy@users.noreply.github.com>
Mark S. Miller <erights@users.noreply.github.com>
Jianru Lin <jianru.lin@gmail.com>
Lenvin Gonsalves <41874033+98lenvi@users.noreply.github.com>
Andreu Botella <andreu@andreubotella.com>
shhh7612 <82669765+shhh7612@users.noreply.github.com>
Dominic Saadi <dominiceliassaadi@gmail.com>
ywave620 <60539365+ywave620@users.noreply.github.com>
NicoNekoru <66227158+NicoNekoru@users.noreply.github.com>

# Generated by tools/update-authors.mjs
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,6 @@ For information about the governance of the Node.js project, see
**Daniele Belardi** <<dwon.dnl@gmail.com>> (he/him)
* [edsadr](https://github.com/edsadr) -
**Adrian Estrada** <<edsadr@gmail.com>> (he/him)
* [erickwendel](https://github.com/erickwendel) -
**Erick Wendel** <<erick.workspace@gmail.com>> (he/him)
* [evanlucas](https://github.com/evanlucas) -
**Evan Lucas** <<evanlucas@me.com>> (he/him)
* [fhinkel](https://github.com/fhinkel) -
Expand Down Expand Up @@ -407,7 +405,7 @@ For information about the governance of the Node.js project, see
* [ronag](https://github.com/ronag) -
**Robert Nagy** <<ronagy@icloud.com>>
* [ruyadorno](https://github.com/ruyadorno) -
**Ruy Adorno** <<ruyadorno@google.com>> (he/him)
**Ruy Adorno** <<ruyadorno@github.com>> (he/him)
* [rvagg](https://github.com/rvagg) -
**Rod Vagg** <<rod@vagg.org>>
* [ryzokuken](https://github.com/ryzokuken) -
Expand All @@ -426,8 +424,6 @@ For information about the governance of the Node.js project, see
**Stewart X Addison** <<sxa@redhat.com>> (he/him)
* [targos](https://github.com/targos) -
**Michaël Zasso** <<targos@protonmail.com>> (he/him)
* [theanarkh](https://github.com/theanarkh) -
**theanarkh** <<theratliter@gmail.com>> (he/him)
* [TimothyGu](https://github.com/TimothyGu) -
**Tiancheng "Timothy" Gu** <<timothygu99@gmail.com>> (he/him)
* [tniessen](https://github.com/tniessen) -
Expand Down Expand Up @@ -662,8 +658,6 @@ maintaining the Node.js project.
**Himadri Ganguly** <<himadri.tech@gmail.com>> (he/him)
* [iam-frankqiu](https://github.com/iam-frankqiu) -
**Frank Qiu** <<iam.frankqiu@gmail.com>> (he/him)
* [kvakil](https://github.com/kvakil) -
**Keyhan Vakil** <<kvakil@sylph.kvakil.me>> (they/them)
* [marsonya](https://github.com/marsonya) -
**Akhil Marsonya** <<akhil.marsonya27@gmail.com>> (he/him)
* [meixg](https://github.com/meixg) -
Expand Down
2 changes: 1 addition & 1 deletion common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

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

##### V8 defaults for Node.js #####

Expand Down
9 changes: 2 additions & 7 deletions deps/base64/base64/lib/arch/neon64/codec.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,8 @@ load_64byte_table (const uint8_t *p)
#include "../generic/32/dec_loop.c"
#include "../generic/64/enc_loop.c"
#include "dec_loop.c"

#ifdef BASE64_NEON64_USE_ASM
# include "enc_loop_asm.c"
#else
# include "enc_reshuffle.c"
# include "enc_loop.c"
#endif
#include "enc_reshuffle.c"
#include "enc_loop.c"

#endif // BASE64_USE_NEON64

Expand Down
67 changes: 67 additions & 0 deletions deps/base64/base64/lib/arch/neon64/enc_loop.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,72 @@
#ifdef BASE64_NEON64_USE_ASM
static inline void
enc_loop_neon64_inner_asm (const uint8_t **s, uint8_t **o, const uint8x16x4_t tbl_enc)
{
// This function duplicates the functionality of enc_loop_neon64_inner,
// but entirely with inline assembly. This gives a significant speedup
// over using NEON intrinsics, which do not always generate very good
// code. The logic of the assembly is directly lifted from the
// intrinsics version, so it can be used as a guide to this code.

// Temporary registers, used as scratch space.
uint8x16_t tmp0, tmp1, tmp2, tmp3;

// Numeric constant.
const uint8x16_t n63 = vdupq_n_u8(63);

__asm__ (

// Load 48 bytes and deinterleave. The bytes are loaded to
// hard-coded registers v12, v13 and v14, to ensure that they
// are contiguous. Increment the source pointer.
"ld3 {v12.16b, v13.16b, v14.16b}, [%[src]], #48 \n\t"

// Reshuffle the bytes using temporaries.
"ushr %[t0].16b, v12.16b, #2 \n\t"
"ushr %[t1].16b, v13.16b, #4 \n\t"
"ushr %[t2].16b, v14.16b, #6 \n\t"
"sli %[t1].16b, v12.16b, #4 \n\t"
"sli %[t2].16b, v13.16b, #2 \n\t"
"and %[t1].16b, %[t1].16b, %[n63].16b \n\t"
"and %[t2].16b, %[t2].16b, %[n63].16b \n\t"
"and %[t3].16b, v14.16b, %[n63].16b \n\t"

// Translate the values to the Base64 alphabet.
"tbl v12.16b, {%[l0].16b, %[l1].16b, %[l2].16b, %[l3].16b}, %[t0].16b \n\t"
"tbl v13.16b, {%[l0].16b, %[l1].16b, %[l2].16b, %[l3].16b}, %[t1].16b \n\t"
"tbl v14.16b, {%[l0].16b, %[l1].16b, %[l2].16b, %[l3].16b}, %[t2].16b \n\t"
"tbl v15.16b, {%[l0].16b, %[l1].16b, %[l2].16b, %[l3].16b}, %[t3].16b \n\t"

// Store 64 bytes and interleave. Increment the dest pointer.
"st4 {v12.16b, v13.16b, v14.16b, v15.16b}, [%[dst]], #64 \n\t"

// Outputs (modified).
: [src] "+r" (*s),
[dst] "+r" (*o),
[t0] "=&w" (tmp0),
[t1] "=&w" (tmp1),
[t2] "=&w" (tmp2),
[t3] "=&w" (tmp3)

// Inputs (not modified).
: [n63] "w" (n63),
[l0] "w" (tbl_enc.val[0]),
[l1] "w" (tbl_enc.val[1]),
[l2] "w" (tbl_enc.val[2]),
[l3] "w" (tbl_enc.val[3])

// Clobbers.
: "v12", "v13", "v14", "v15"
);
}
#endif

static inline void
enc_loop_neon64_inner (const uint8_t **s, uint8_t **o, const uint8x16x4_t tbl_enc)
{
#ifdef BASE64_NEON64_USE_ASM
enc_loop_neon64_inner_asm(s, o, tbl_enc);
#else
// Load 48 bytes and deinterleave:
uint8x16x3_t src = vld3q_u8(*s);

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

*s += 48;
*o += 64;
#endif
}

static inline void
Expand Down
167 changes: 0 additions & 167 deletions deps/base64/base64/lib/arch/neon64/enc_loop_asm.c

This file was deleted.

Loading

0 comments on commit 4935d03

Please sign in to comment.