Modified: trunk/Source/_javascript_Core/ChangeLog (274401 => 274402)
--- trunk/Source/_javascript_Core/ChangeLog 2021-03-14 20:22:23 UTC (rev 274401)
+++ trunk/Source/_javascript_Core/ChangeLog 2021-03-14 20:26:07 UTC (rev 274402)
@@ -1,5 +1,19 @@
2021-03-14 Yusuke Suzuki <[email protected]>
+ [Big Sur arm64] testb3 crashing
+ https://bugs.webkit.org/show_bug.cgi?id=222815
+
+ Reviewed by Mark Lam.
+
+ Fix dmb ish and dmb ishst's formats.
+
+ * b3/testb3_6.cpp:
+ (testMemoryFence):
+ (testStoreFence):
+ (testLoadFence):
+
+2021-03-14 Yusuke Suzuki <[email protected]>
+
[JSC] ARM64 branchAtomicWeakCAS should not use sign-extension
https://bugs.webkit.org/show_bug.cgi?id=222813
Modified: trunk/Source/_javascript_Core/b3/testb3_6.cpp (274401 => 274402)
--- trunk/Source/_javascript_Core/b3/testb3_6.cpp 2021-03-14 20:22:23 UTC (rev 274401)
+++ trunk/Source/_javascript_Core/b3/testb3_6.cpp 2021-03-14 20:26:07 UTC (rev 274402)
@@ -28,6 +28,9 @@
#if ENABLE(B3_JIT)
+static const char* const dmbIsh = "dmb ish";
+static const char* const dmbIshst = "dmb ishst";
+
void testBitAndSExt32(int32_t value, int64_t mask)
{
Procedure proc;
@@ -2601,9 +2604,9 @@
if (isX86())
checkUsesInstruction(*code, "lock or $0x0, (%rsp)");
if (isARM64())
- checkUsesInstruction(*code, "dmb ish");
+ checkUsesInstruction(*code, dmbIsh);
checkDoesNotUseInstruction(*code, "mfence");
- checkDoesNotUseInstruction(*code, "dmb ishst");
+ checkDoesNotUseInstruction(*code, dmbIshst);
}
void testStoreFence()
@@ -2620,7 +2623,7 @@
checkDoesNotUseInstruction(*code, "lock");
checkDoesNotUseInstruction(*code, "mfence");
if (isARM64())
- checkUsesInstruction(*code, "dmb ishst");
+ checkUsesInstruction(*code, dmbIshst);
}
void testLoadFence()
@@ -2637,8 +2640,8 @@
checkDoesNotUseInstruction(*code, "lock");
checkDoesNotUseInstruction(*code, "mfence");
if (isARM64())
- checkUsesInstruction(*code, "dmb ish");
- checkDoesNotUseInstruction(*code, "dmb ishst");
+ checkUsesInstruction(*code, dmbIsh);
+ checkDoesNotUseInstruction(*code, dmbIshst);
}
void testTrappingLoad()