Giter Club home page Giter Club logo

Comments (3)

poemonsense avatar poemonsense commented on July 17, 2024

目前Spike实现了第三个参数on_demand(参考:https://github.com/OpenXiangShan/riscv-isa-sim/blob/difftest/difftest/difftest.cc#L427

NEMU目前仅实现了两个参数,第三个参数没有实现,参考:https://github.com/OpenXiangShan/NEMU/blob/master/src/cpu/difftest/ref.c#L109 。因为不实现第三个参数,在大多数情况下不会影响功能正确性,所以一直没有对NEMU添加支持

需要注意,用于与香山对比的NEMU没有定义CONFIG_LIGHTQS这个宏,所以不会声明void difftest_regcpy(void *dut, bool direction, bool restore, uint64_t restore_count)

from difftest.

gxflying avatar gxflying commented on July 17, 2024

参数不同生成的函数调用的栈帧就不同,特别是在实现参数少,传入参数多的情况下,容易引起数据被覆盖,即使目前没问题,可以考虑添加到todo list,或备忘录

from difftest.

poemonsense avatar poemonsense commented on July 17, 2024

欢迎给NEMU提PR

from difftest.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.