-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #221 from regro-cf-autotick-bot/17.1.0_h425536
- Loading branch information
Showing
13 changed files
with
104 additions
and
80 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
From 0ae9f7a221b5ff347904eb0d1e88e0b87199eca2 Mon Sep 17 00:00:00 2001 | ||
From: Min RK <benjaminrk@gmail.com> | ||
Date: Fri, 26 Nov 2021 22:04:02 +0100 | ||
Subject: [PATCH] trap handler doesn't work on linux cross-compile to arm | ||
|
||
--- | ||
deps/v8/src/trap-handler/trap-handler.h | 4 ++-- | ||
1 file changed, 2 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/deps/v8/src/trap-handler/trap-handler.h b/deps/v8/src/trap-handler/trap-handler.h | ||
index 0b3a6e0a70..363495129d 100644 | ||
--- a/deps/v8/src/trap-handler/trap-handler.h | ||
+++ b/deps/v8/src/trap-handler/trap-handler.h | ||
@@ -25,8 +25,8 @@ namespace trap_handler { | ||
// Arm64 (non-simulator) on Mac. | ||
#elif V8_TARGET_ARCH_ARM64 && V8_HOST_ARCH_ARM64 && V8_OS_MACOSX | ||
#define V8_TRAP_HANDLER_SUPPORTED true | ||
-// Arm64 simulator on x64 on Linux or Mac. | ||
-#elif V8_TARGET_ARCH_ARM64 && V8_HOST_ARCH_X64 && (V8_OS_LINUX || V8_OS_MACOSX) | ||
+// Arm64 simulator on x64 on Mac. | ||
+#elif V8_TARGET_ARCH_ARM64 && V8_HOST_ARCH_X64 && V8_OS_MACOSX | ||
#define V8_TRAP_HANDLER_VIA_SIMULATOR | ||
#define V8_TRAP_HANDLER_SUPPORTED true | ||
// Everything else is unsupported. | ||
-- | ||
2.29.2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
diff --git a/deps/v8/src/execution/ppc/simulator-ppc.cc b/deps/v8/src/execution/ppc/simulator-ppc.cc | ||
index 97e47bc0..3ac0cff8 100644 | ||
--- a/deps/v8/src/execution/ppc/simulator-ppc.cc | ||
+++ b/deps/v8/src/execution/ppc/simulator-ppc.cc | ||
@@ -4751,7 +4751,8 @@ void Simulator::ExecuteGeneric(Instruction* instr) { | ||
bit_cast<float, uint32_t>(static_cast<uint32_t>(double_bits >> 32)); | ||
double_bits = bit_cast<uint64_t, double>(static_cast<double>(f)); | ||
// Preserve snan. | ||
- if (issignaling(f)) { | ||
+ float snan = std::numeric_limits<float>::signaling_NaN(); | ||
+ if (std::memcmp(&snan, &f, sizeof(float)) == 0) { | ||
double_bits &= 0xFFF7FFFFFFFFFFFFU; // Clear bit 51. | ||
} | ||
set_d_register(t, double_bits); | ||
@@ -4764,7 +4765,8 @@ void Simulator::ExecuteGeneric(Instruction* instr) { | ||
uint64_t float_bits = static_cast<uint64_t>( | ||
bit_cast<uint32_t, float>(static_cast<float>(b_val))); | ||
// Preserve snan. | ||
- if (issignaling(b_val)) { | ||
+ double snan = std::numeric_limits<double>::signaling_NaN(); | ||
+ if (std::memcmp(&snan, &b_val, sizeof(double)) == 0) { | ||
float_bits &= 0xFFBFFFFFU; // Clear bit 22. | ||
} | ||
// fp result is placed in both 32bit halfs of the dst. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
From a21683deb08bcf908292ba32c02c42828b78ef75 Mon Sep 17 00:00:00 2001 | ||
From: Min RK <benjaminrk@gmail.com> | ||
Date: Wed, 24 Nov 2021 22:06:27 +0100 | ||
Subject: [PATCH] test_crypto_engine: depends on non-shared openssl, only build | ||
with non-shared openssl | ||
|
||
--- | ||
node.gyp | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/node.gyp b/node.gyp | ||
index d2337823a8..0a3c7a1c31 100644 | ||
--- a/node.gyp | ||
+++ b/node.gyp | ||
@@ -1475,7 +1475,7 @@ | ||
}], # end aix section | ||
# TODO(RaisinTen): Enable this to build on other platforms as well. | ||
['(OS=="mac" or (OS=="linux" and target_arch=="x64")) and \ | ||
- node_use_openssl=="true"', { | ||
+ node_use_openssl=="true" and node_shared_openssl=="false"', { | ||
'targets': [ | ||
{ | ||
'target_name': 'test_crypto_engine', | ||
-- | ||
2.29.2 | ||
|