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
3 files changed
tree: be8505d88fc81cb905156d6ffcb2e657a2c1df12
  1. base/
  2. decoder/
  3. guest_state/
  4. interpreter/
  5. kernel_api/
  6. program_runner/
  7. runtime/
  8. tiny_loader/
  9. .clang-format
  10. Android.bp
  11. OWNERS
  12. PREUPLOAD.cfg
  13. README.md
README.md

Berberis: dynamic binary translator to run Android apps with riscv64 native code on x86_64 devices or emulators.