https://bugs.kde.org/show_bug.cgi?id=430117
Bug ID: 430117 Summary: Implement guest Arm64/AArch64 feature detection support for v8 instructions Product: valgrind Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: vex Assignee: jsew...@acm.org Reporter: assad.has...@linaro.org Target Milestone: --- SUMMARY The bug https://bugs.kde.org/show_bug.cgi?id=414268 added host AArch64 feature detection and decoding for v8.x. However, Valgrind must provide a view of v8.x instructions supported by Valgrind to the guest which will not be the same as those supported by the host, until they have been implemented in Valgrind. ADDITIONAL INFORMATION A helper function needs to be implemented which provides a filtered view to the guest of a set of instructions implemented by Valgrind. This is not the same as the set of instructions supported by the host which Valgrind reads in order to decode instructions which may or may not be supported by Valgrind. When instructions are decoded, this helper function is planted in the IR to provide the guest with the filtered view of what Valgrind wants the guest to think are the instructions supported by the host. As an existing example, see the x86 implementation of populating guest state with SSE1 support: x86g_dirtyhelper_CPUID_sse1(). This sets VexGuestX86State with SSE1 features supported by Valgrind. A pointer to the function is planted in IR by unsafeIRDirty_0_N() when SSE1 instructions are decoded. -- You are receiving this mail because: You are watching all bug changes.