2021-07, Xiangzhe Xu & Jinhua Wu & Yuting Wang & Zhenguo Yin & Pengfei Li, Automatic Generation and Validation of Instruction Encoders and Decoders
https://www.researchgate.net/publicatio … coders.pdf
«We observe that consistent encoder-decoder pairs can be automatically derived from bijections inherently embedded in instruction formats.»
«we develop a framework for writing specifications that capture these bijections, for automatically generating encoders and decoders from these specifications, and for formally validating the consistency and soundness of the generated encoders and decoders by synthesizing proofs in Coq and discharging verification conditions using SMT solvers. We apply this framework to a subset of X86-32 instructions to illustrate its effectiveness in these regards. We also demonstrate that the generated encoders and decoders have reasonable performance.»
Отредактировано Лис (2024-08-25 20:52:30)