Commit graph

271 commits

Author SHA1 Message Date
ownedbywuigi
32d670d8dc Revert back to old tuning for reduced startup compile pressure 2026-03-28 10:11:23 +00:00
ownedbywuigi
2dd5267098 Increase thresholds for small function compilation and warm-up to optimize performance for jQuery-style code. 2026-03-28 09:20:54 +00:00
ownedbywuigi
57eac6fab8 Add SSE2 optimisations 2026-03-28 09:18:09 +00:00
ownedbywuigi
6b25e2373b Update JIT options and thresholds for improved performance 2026-03-28 08:48:09 +00:00
ownedbywuigi
9c1cdcf541 Bigger JIT warm-up preferences 2026-03-28 08:31:04 +00:00
ownedbywuigi
966fe69c7d SpiderMonkey optimizations 2026-03-27 18:54:19 +00:00
Moonchild
6e4c40c648 Issue #2898 - Don't unroll to large stack probe loops.
Resolves #2898
2026-03-06 04:23:53 +00:00
roytam1
7f3ccb5dc3 Merge remote-tracking branch 'origin/tracking' into custom 2025-05-27 23:22:51 +08:00
Moonchild
71ba67cfbe No issue - Don't support modulo math space in ExtractLinearSum. 2025-05-27 23:18:24 +08:00
roytam1
6792dc4b66 Merge remote-tracking branch 'origin/tracking' into custom 2025-04-30 23:06:47 +08:00
Moonchild
d7f01911b8 Issue #2731 - Fix crashes on unknown BigInt types in JIT
This only works around the unknown type crashes but doesn't actually fix
attempts at using 64-bit BigInts in Ion.
Resolves #2731
2025-04-30 22:58:27 +08:00
roytam1
8a35744175 Merge remote-tracking branch 'origin/tracking' into custom 2025-03-07 21:50:11 +08:00
Moonchild
43a2299480 Disable potentially unsafe attempts at recovering JIT operations. 2025-03-07 21:49:32 +08:00
roytam1
6db7856f7f Merge remote-tracking branch 'origin/tracking' into custom 2024-11-13 23:24:49 +08:00
Martok
6dbe2de6db Issue #2305 Part 3b: Create .indices and .indices.groups 2024-11-13 23:23:27 +08:00
roytam1
2b0cdc7b62 Merge remote-tracking branch 'origin/tracking' into custom 2024-09-22 20:54:25 +08:00
Martin Husemann
b1fd3b72cf Make NetBSD/powerpc use the powerpc atomic ops.
NetBSD/powerpc gcc does not predefine __ppc__, but only __powerpc__,
so add that to the preprocessor ifdef cascade to select atomic
ops.
2024-09-22 20:45:12 +08:00
roytam1
1b648cc1d8 Merge remote-tracking branch 'origin/tracking' into custom 2024-09-13 10:04:42 +08:00
Nia Alarie
dd6526daae js: Support for the MPROTECT security feature (PaX and NetBSD)
On such platforms, remapping memory that was once writable
to executable is forbidden unless the initial mmap() is declared
to change in such a way using the PROT_MPROTECT macro.
2024-09-13 10:02:50 +08:00
roytam1
552db66da0 Merge remote-tracking branch 'origin/tracking' into custom 2024-04-19 09:37:04 +08:00
Moonchild
dc52303799 [js] Simplify tracing of arguments in MarkThisAndArguments. 2024-04-19 09:34:45 +08:00
roytam1
f08dd1422d Merge remote-tracking branch 'origin/tracking' into custom 2023-11-04 11:42:50 +08:00
Brian Smith
cd66a17327 Issue #2354 - Restore ARM32 buildability on Linux. Fix ION breakages due to BigInt changes. Fix breakages from libjpeg, libyuv and libvpx upgrades. Restore ARM(32/64) NEON FPU support in libyuv. 2023-11-04 11:36:56 +08:00
roytam1
ca9d8d3960 Merge remote-tracking branch 'origin/tracking' into custom 2023-10-18 10:03:32 +08:00
Brian Smith
46024cd872 Issue #1442 Follow-up: Stop pretending proxies have a JSNative call/construct hook. https://bugzilla.mozilla.org/show_bug.cgi?id=1471924 Part 1 Also remove an erroneous debug assert and guard against future issues. This fixes crashes on vk.com but still does not behave correctly. 2023-10-18 09:48:01 +08:00
roytam1
7a3845abaf Merge remote-tracking branch 'origin/tracking' into custom 2023-09-29 10:05:50 +08:00
Brian Smith
6d1b63e21b No Issue - IonMonkey: Don't test for a 3-byte opcode in a 2-byte opcode predicate. https://bugzilla.mozilla.org/show_bug.cgi?id=1390214 Silence increasingly loud warnings from clang, also could cause errant behavior. 2023-09-29 09:42:05 +08:00
roytam1
e9d4ea8fbf Merge remote-tracking branch 'origin/tracking' into custom 2023-09-26 16:14:15 +08:00
Brian Smith
61b73a894a Issue #2313 - Implement WebAssembly sign extension opcodes. https://bugzilla.mozilla.org/show_bug.cgi?id=1389461 2023-09-26 16:06:17 +08:00
roytam1
ae589c4f39 Merge remote-tracking branch 'origin/tracking' into custom 2023-09-22 09:57:31 +08:00
Moonchild
45c19ce1c5 Issue #2307 - Part 3b: Fix build bustage. 2023-09-22 09:57:05 +08:00
Moonchild
50a4412750 Issue #2307 - Part 3: Remove SIMD.js support
This gets rid of the SIMD-specific scalar types in JS.
This considerably deviates from Mozilla's work because of our divergent
path.
2023-09-22 09:56:35 +08:00
Moonchild
b086ec848b Issue #2307 - Part 2b: Remove superfluous dev comment 2023-09-22 09:52:53 +08:00
Moonchild
20f39d9450 Issue #2307 - Part 2: Move SIMD code generation to masm methods 2023-09-22 09:52:31 +08:00
Moonchild
ba51ff6a74 Issue #2307 - Part 1: Extend masm with the pmovmskb SSE2 instruction. 2023-09-22 09:52:02 +08:00
roytam1
30236b0f05 Merge remote-tracking branch 'origin/tracking' into custom 2023-09-20 09:31:36 +08:00
Brian Smith
8f44226445 Issue #2308 & #1240 Follow-up - Fill in missing JSOP_INC/DEC cases for Doubles in Ion. 2023-09-20 09:31:08 +08:00
Brian Smith
209d714434 Issue #2308 & #1240 Follow-up - Replace JSOP_POS in ++/-- with JSOP_TONUMERIC. https://bugzilla.mozilla.org/show_bug.cgi?id=1519135 2023-09-20 09:30:06 +08:00
Brian Smith
2b637c564f Issue #2308 & #1240 Follow-up - Fill in missing JSOP_INC/DEC cases for Ion on Intel32/64. 2023-09-20 09:29:46 +08:00
Brian Smith
e12e377e51 Issue #2308 & #1240 Follow-up - Add BigInt support to JSOP_INC and JSOP_DEC. https://bugzilla.mozilla.org/show_bug.cgi?id=1526309 2023-09-20 09:29:18 +08:00
Brian Smith
5c8a6c5bb8 Issue #2308 & #1240 Follow-up - Introduce new increment and decrement operations. https://bugzilla.mozilla.org/show_bug.cgi?id=1508521 2023-09-20 09:29:01 +08:00
roytam1
c32aeee874 partly import changes from tenfourfox:
- update ESR base to 115; update EV roots, pins, TLDs, TZs; security pullup (55284dd80)
2023-09-01 10:07:24 +08:00
roytam1
65de5a7185 Merge remote-tracking branch 'origin/tracking' into custom 2023-07-29 23:43:29 +08:00
Brian Smith
5c3cedb141 Issue #1240 - Follow-up: Add missing JSVAL_TYPE_BIGINT cases in JitFrames.cpp. As pointed out by roytam1 during testing with Discord. 2023-07-29 23:43:04 +08:00
Brian Smith
b7e487bdf1 Issue #2026 - Part 4 - Fill in missing dense elements case and fix a comment. https://bugzilla.mozilla.org/show_bug.cgi?id=1456569 Skipped this during the initial implementation, not sure when or if this code path is used, but I figure it should be there just in case. Also fix debug builgs by removing an no longer valid MOZ_ASSERT. 2023-07-29 23:42:33 +08:00
Brian Smith
b64643e410 Issue #2026 - Part 1 - Implement BigInt64 and BigUint64Array. https://bugzilla.mozilla.org/show_bug.cgi?id=1456569 2023-07-29 23:38:09 +08:00
roytam1
bdc6b90572 js/BitInt: add BigInt support in JitFrames, fix crash in discord when posting. 2023-07-28 09:29:08 +08:00
roytam1
1977864a3a Merge remote-tracking branch 'origin/tracking' into custom 2023-07-25 09:16:25 +08:00
Brian Smith
2d5ee3c457 Issue #1240 - Part 10 - Implement minimal Ion support for BigInt. https://bugzilla.mozilla.org/show_bug.cgi?id=1507484 Implement IC support for BigInt. https://bugzilla.mozilla.org/show_bug.cgi?id=1522431 2023-07-25 09:15:18 +08:00
Brian Smith
7a30b0fa2d Issue #1240 - Part 8 - Fix incorrect asserts with debug enabled. Fix BigInt errors in remainder operations https://bugzilla.mozilla.org/show_bug.cgi?id=1524136 Also fix 2 debug asserts in fallthroughs due to missing BigInt cases. 2023-07-25 09:14:42 +08:00