Bug 409391 - [PATCH] LSE instruction support : LDADD 32bit
Summary: [PATCH] LSE instruction support : LDADD 32bit
Status: RESOLVED DUPLICATE of bug 369509
Alias: None
Product: valgrind
Classification: Developer tools
Component: vex (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-02 04:04 UTC by enpeng xu
Modified: 2021-07-27 18:00 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
arm lse ldadd 32bit support (2.92 KB, patch)
2019-07-02 04:04 UTC, enpeng xu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description enpeng xu 2019-07-02 04:04:53 UTC
Created attachment 121277 [details]
arm lse ldadd 32bit support

SUMMARY
currently there is no support for arm LSE instruction in guest_arm64_toIR.c.
so any app contains LSE instruction will crash valgrind.

STEPS TO REPRODUCE
1. create simple application and put an embedded LSE instruction into it, compile it to a.out
2. run valgrind ./a.out 


OBSERVED RESULT
valgrind will crash with unknown instruction.


EXPECTED RESULT
valgrind works without crash

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

the attached patch added ldadd 32bit support, it's just a start to add whole LSE instructions support.
Comment 1 Petr Pavlu 2021-07-27 18:00:20 UTC
Support for Armv8.1-A LSE instructions has been implemented under bug 369509.

*** This bug has been marked as a duplicate of bug 369509 ***