Skip to content

Conversation

@pguyot
Copy link
Collaborator

@pguyot pguyot commented Jul 20, 2025

Continuation of:

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

@pguyot pguyot force-pushed the w29/jit-aarch64 branch 14 times, most recently from d808ab6 to 2570673 Compare July 25, 2025 21:06
@pguyot pguyot force-pushed the w29/jit-aarch64 branch 16 times, most recently from de9c671 to 14f9d36 Compare August 23, 2025 13:33
pguyot added 17 commits October 2, 2025 22:08
Also simplify {RegOrTuple, '&', Val, '!=', 0} when possible

Signed-off-by: Paul Guyot <[email protected]>
move_to_native_register/3 is never called with fp_reg

Signed-off-by: Paul Guyot <[email protected]>
@pguyot pguyot marked this pull request as ready for review October 2, 2025 20:32
@bettio bettio merged commit 2c8006c into atomvm:main Oct 4, 2025
120 of 124 checks passed
@pguyot pguyot deleted the w29/jit-aarch64 branch October 4, 2025 16:52
bettio added a commit that referenced this pull request Oct 22, 2025
Just in time compilation with armv6m target

Continuation of:
- #1770
- #1773
- #1833
- #1834
- #1835
- #1890
- #1878
- #1881
- #1887

The target is suitable for Pico, Pico2 and STM32.
Benchmark test on a Pico with SMP disabled shows a speed increase from 14% to
62%.

  | native (w34/jit-arm) | emulated (main) -- d8ecc02 | %
-- | -- | -- | --
pingpong_speed_test | 17437587 | 27590085 | 37 %
prime_speed_test | 13257293 | 35212412 | 62 %
prng_test | 1128949 | 1500967 | 25 %
pi_test | 26759537 | 58693061 | 54 %
sudoku_solution_test | 6420801 | 7471461 | 14 %
sudoku_puzzle_test | 254335968 | 333834045 | 24 %

Remark: the current backend requires 64 bits floats. 32 bits floats would need
a specific variant.

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants