Skip to content

orcarm: Fix flushing of icache when using dual map

Doug Nazar requested to merge dougnazar/orc:fix_arm_flush into master

On a codemem_dual_map setup, we need to flush the PROT_EXEC alias.

This seems to fix the crashing issues. The testsuite still fails a few tests, but those seem to be related to precision. The most significant digits all match.

Out of my depth on this, just kept poking a stick at it until it stopped poking back. Wish I'd thought to try this before spending a couple days trying to learn ARM/NEON assembly.

Probably fixes #9 (closed), #11 (closed), #14 (closed) & #20 (closed)

Merge request reports

Loading