当前位置: 首页 > news >正文

E-trace for risc-v

https://blogs.sw.siemens.com/tessent/2023/11/01/debugging-risc-v-processors-using-e-trace
/riscv-trace-spec-asciidoc.pdf

branch trace

间接跳转指令(如jr指令,pc跳转到寄存器的值),中断和异常 被称为不可推断的程序计数器中断 (uninferable program counter discontinue)。是指程序计数器的变化量无法仅从程序二进制文件确定,需要报告目标地址的情况。需要使用带地址的branch包

Branch trace is also known as Instruction Delta Tracing

decoder能看到程序的二进制文件,不能知道中断在指令流中的哪里发生,trace必须报告程序流停止的地址和目的地址的指示

Most notably,
floating point exceptions and disabled interrupts do not trap.If an exception or interrupt doesn’t trap,
the program counter does not change. So, there is no need to trace all exceptions/interrupts, just traps.
In this document, interrupts and exceptions are only traced when they cause traps to be taken.

trap: the transfer of control to a trap handler caused by either an exception or an interrupt

discontinuity: another name for ’delta’

http://www.dtcms.com/a/135525.html

相关文章:

  • 机器视觉检测Pin针歪斜应用
  • 编写了一个专门供强化学习玩的贪吃蛇小游戏,可以作为后续学习的playgraound
  • L1-028 判断素数
  • Python asyncio 入门实战-2
  • 游戏引擎学习第226天
  • 381_C++_decrypt解密数据、encrypt加密数据,帧头和数据buffer分开
  • Nacos-Controller 2.0:使用 Nacos 高效管理你的 K8s 配置
  • 0415美团面试题目详解
  • MapSet 2 (Set)
  • Vulhub-DarkHole靶机通关攻略
  • 代码随想录算法训练营第十八天
  • redisson分布式锁--实际应用!!!
  • 决策树简介
  • redis -- redis介绍,性能(与mysql性能对比),使用场景,CAP介绍
  • gravity`(控制 View 内部内容的对齐方式)
  • Hikyuu C++与Python层交互机制
  • Vue 3中的setup【与Vue 2的区别】
  • 深度学习--深度学习概念、框架以及构造
  • GIT工具学习【1】:新安装git预操作
  • candence17.4原理图编号
  • 你了解哪些Java限流算法?
  • 深入解析操作系统的文件系统:从存储介质到数据管理的核心引擎
  • 猿辅导集团推首个教育AI范式小猿AI 聚焦家校应用场景发布3款新品
  • VGA显示
  • 【euclid】10.2 2D变换模块(transform2d.rs)Arbitrary trait
  • 蓝桥杯嵌入式十六届赛前复习总结与准备
  • linux运维篇-Ubuntu(debian)系操作系统创建源仓库
  • 基本元器件—电阻器(2025.4.14)
  • 实现表单验证
  • YOLOv2 快速入门与核心概念:更快、更准的目标检测利器