commit | eb5db03ad881abbd9b398c59f84efbbeff89ce4c | [log] [tgz] |
---|---|---|
author | Gaurav kumar <gauravroy2599@gmail.com> | Sun Mar 19 23:21:18 2023 +0530 |
committer | Gaurav kumar <gauravroy2599@gmail.com> | Fri Mar 24 17:28:11 2023 +0530 |
tree | be8505d88fc81cb905156d6ffcb2e657a2c1df12 | |
parent | 54ea3366832327e79c9d8fb683e90ea9a618a3cb [diff] |
interp: Add c.j compressed instruction. Note: in rv32ic there are two compressed jump instructions but in rv64ic there are only one: c.j. Like all rv64c instructions it maps on the conmpressed instruction but has very non-trivial endocing of immediate. Thankfully there are only 11 dedicated to immediate which means it's easy to test all combinations. Bug: 265372622 Test: berberis_host_tests/berberis_host_tests Change-Id: I772c7e422c78a507f40812804bebfd6a023a4aff
Berberis: dynamic binary translator to run Android apps with riscv64 native code on x86_64 devices or emulators.