Skip to content

Severe Performance Loss (450x) in Unicorn ARM64-to-ARM64 Emulation on Android? #2168

Open
@Gavin0210

Description

@Gavin0210

When using Unicorn Engine to emulate ARM64 code on an Android ARM64 device, the performance loss reaches 450x even with no hooks enabled. This seems abnormally high for same-architecture emulation.
Is this normal? If not, what are the possible reasons?
The code is
extern "C" int64_t looptest(){ int64_t j=0; for (int64_t i=0;i<1000000;i++){ j+=1; } return j; }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions