[RISC-V] Add branch label names to disasm (#96057)
authorGrzegorz Tomasz Czarnecki <grzegorz.czarnecki.2021@gmail.com>
Sat, 16 Dec 2023 23:12:00 +0000 (00:12 +0100)
committerGleb Balykov/Advanced System SW Lab /SRR/Staff Engineer/Samsung Electronics <g.balykov@samsung.com>
Thu, 22 Feb 2024 11:52:55 +0000 (14:52 +0300)
commitf030fee1051681361156ac54bec74988cb609f08
tree1271ea0e38dfc274f9f340646649fe9f8ed13644
parent0a43018a5ae1c5a4c85a7f0bf99e0c1120bb7611
[RISC-V] Add branch label names to disasm (#96057)

* Implemented emitDispIns for riscv

* Modified emitDispIns name

* Fixed missed case

* Added assert

* Fixed todo

* Added int to jitprintf

* Added prototype of the emit disp ins

* Fixes in emit dis ins name

* Reinforced types

* Removed useless ifdef statement from emit

* Fixed bug in emit disp ins

* Added release mode emit disp

* Formatted riscv64

* [RISC-V] Added todo comment

* [RISC-V] Applied format patch

* [RISC-V] Undo the emit.cpp dispIns changes

* [RISC-V] Fixed formatting

* Removed dead code

* Added emitDispInsDebugOnlyInfo

* Added preliminary emitOutputInstrJump

* Preliminary emitOutputInstrJump impl

* TmpSave

* [RISC-V] Changes after review

* Fixes after merge

* Fixed comment in emmit.h

* Added label printing

* Removed dead code

* Improved emitOutputInstrJumpSize

* Fixed bugs

* Fixed bug in emitOutputInstrJumpSize

* Added prelimary barch offset printing and reinforced some emitter methods

* Further reinforced disp functions

* Splitted emitOutputInstrJumpSize

* Formatted code

* Last fixes before pr

---------

Co-authored-by: Grzegorz Czarnecki <g.czarnecki@samsung.com>
src/coreclr/jit/emit.cpp
src/coreclr/jit/emit.h
src/coreclr/jit/emitriscv64.cpp
src/coreclr/jit/emitriscv64.h