Comments (6)
Hi @bobbirrer ,
Thank you for flagging this up
We are trying to reproduce this issue on our side. Please can you give us more details and examples of the test cases you used for the issues?
Thanks.
from graphical-micro-architecture-simulator.
I used the following test code. The program loops infinitely in SUM.
ADDI X0, X0, 1
ADDI X1, X1, 5
BL SUM
END: B END
SUM: ADD X0, X0, X1
BR LR
from graphical-micro-architecture-simulator.
Hi @bobbirrer . Thanks, we will be looking into this.
Meanwhile, if you do happen to have an existing bug fix that you would like to contribute to our repository, please see https://github.com/arm-university/Graphical-Micro-Architecture-Simulator/tree/main/Contributions_and_Modifications
from graphical-micro-architecture-simulator.
@franciscatan-armedu - Unfortunately I cannot build the tool. However, I think if you switch lines 876 and 877 of /LEGv8_Simulator/src/com/arm/legv8simulator/client/cpu/CPU.java it should resolve the issue.
Change:
private void BL(int branchIndex) {
instructionIndex = branchIndex;
registerFile[LR] = instructionIndex * INSTRUCTION_SIZE + Memory.TEXT_SEGMENT_OFFSET;
cpuLog.append("BL \t" + "0x" + Long.toHexString(registerFile[LR]) + " \n");
}
To:
private void BL(int branchIndex) {
registerFile[LR] = instructionIndex * INSTRUCTION_SIZE + Memory.TEXT_SEGMENT_OFFSET;
instructionIndex = branchIndex;
cpuLog.append("BL \t" + "0x" + Long.toHexString(registerFile[LR]) + " \n");
}
from graphical-micro-architecture-simulator.
Is there an ETC on when this bug might be fixed?
from graphical-micro-architecture-simulator.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphical-micro-architecture-simulator.