-
Notifications
You must be signed in to change notification settings - Fork 562
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Aarch64] float instruction fmov
unrecognized, src and dst go wrong,float register value not saved
#4408
Comments
@AssadHashmi if you could take a look -- the |
The immediate variants of |
add failed too <Application /home/xxx/DynamoRIO-AArch64-Linux-8.0.0-1/samples/build/float_test (68917). Internal Error: DynamoRIO debug check failure: /home/travis/build/DynamoRIO/dynamorio/core/emit.c:360 pc != NULL |
Update: @AssadHashmi has a partial fix completed; due to scheduling the work will be picked up again mid-September. |
@AssadHashmi : did #4467 fix this? There was no "Fixes" nor "Issue" in its commit description. |
Yes @derekbruening, apologies for the tardy commit description :-/ |
Closed by #4467. |
Describe the bug
[linux aarch64] cannot recognize
fmov
instruction,instr_num_srcs
andinstr_num_dsts
result errorTo Reproduce
Steps to reproduce the behavior:
40062c: 1e211000 fmov s0, #3.000000000000000000e+00
400630: bd001fa0 str s0, [x29, #28]
400634: bd401fa0 ldr s0, [x29, #28]
400638: 1e22c000 fcvt d0, s0
modify
instrument_instr
funtionadd
insert_save_src
functionpc: 40062c src: 5 dst: 4
pc: 400630 src: 1 reg:132
instruction: str %s0 -> +0x0c(%x2)[4byte]
dst: 1
pc: 400634 src: 1 dst: 1 reg:132
instruction: str %s0 -> +0x1c(%x2)[4byte]
pc: 400638 src: 1 reg:132
instruction: str %s0 -> +0x0c(%x2)[4byte]
3.000000
0x40062c,xx,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000
0x400630,str,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000
0x400634,ldr,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000
0x400638,fcvt,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000
0x40063c,adrp,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000
Expected behavior
A clear and concise description of what you expected to happen.
fmov
instructionVersions
https://github.com/DynamoRIO/dynamorio/wiki/Latest-Build solve the problem?
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: