当前位置: 首页 > 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’

相关文章:

  • 机器视觉检测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原理图编号
  • 玉渊谭天丨这是一个时代的结束
  • 朱雨玲:从前世界第一到兼职运动员,30岁后开始“玩”乒乓
  • 一中国公民在日本滑雪场意外死亡,我领馆发布提醒
  • 黄仁勋:英伟达坚定不移服务中国市场,AI将在每个行业引发颠覆性变革
  • 女子斥“老法师”涉嫌偷拍?街头摄影的边界应该怎么定?
  • 专家建议提高空气质量“良”的标准,治理水平已具备提标基础