-
-
Notifications
You must be signed in to change notification settings - Fork 373
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
V850: Improve RH850 support, add RzIL uplifting #4103
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the disassembler (librz/asm/p/asm_v850.c
), please also use the new rz_asm_op_setf_asm()
API to reduce one more allocation per instruction (#4127).
04d0cc9
to
b2ba7ab
Compare
I've noticed that there are a few differences between the various minor versions of RH850, but I can't find documentation for them on the web. |
Please rebase |
Although there are still some rh850 instructions outstanding, emulateme can be executed successfully! |
4f37f90
to
19b75ed
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM overall
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The V850/RH850 and RzIL parts are good now; also tested but are blocked until #4179 is sorted out.
32b8ed3
to
9a11095
Compare
@imbillow please rebase |
v850: fix fallthrough v850: Add docs V850: fix v850 prelude V850: add `loop` V850: add docs to register profile V850: fix tests V850: add `syscall` V850: add `sx[bh]` `zx[bh]` V850: add `snooze` `sync?` `switch` V850: add `sbf` `sch[01][lr]` V850: fix `rotl` V850: add `rie` `rotl` V850: add `pushsp` `popsp` V850: add `mac` `macu` V850: add `ldl.w` `stc.w` V850: add `hsh` `hsw` V850: add `feret` `eiret` V850: add `fetrap` V850: add `cll` `ctret` `cmov` V850: add caxi V850: add callt V850: fix V850: add bsw V850: add bsh V850: fix bins V850: add bins V850: fix add and add adf V850: format V850: fix stack-buffer-overflow V850: add emulateme test V850: fix dispose and prepare V850: fix V850: fix V850: fix V850: fix all V850: fix mulh and cmp satadd add shl shr sar V850: mov V850: fix sld.* V850: fix runtime error left shift V850: fix test V850: fix jarl and refactor V850: fix ld st V850: fix inst.format V850: fix rzil ld.* V850: fix rzil dispose and prepare V850: fix rzil and register profile V850: fix disas memleak
SQUASH ME
Your checklist for this pull request
Detailed description
V850 and RH850 manual https://www.renesas.com/us/en/document/mah/v850-familytm-architecture
Test plan
aaa
andplf @@F
on all samples make senseClosing issues
Closes rizinorg/ideas#9