Bug 409391

Summary: [PATCH] LSE instruction support : LDADD 32bit
Product: [Developer tools] valgrind Reporter: enpeng xu <enpengxu>
Component: vexAssignee: Julian Seward <jseward>
Status: RESOLVED DUPLICATE    
Severity: normal CC: assad.hashmi, petr.pavlu
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: arm lse ldadd 32bit support

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 ***