Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix for ma_fetch test in rv32mi #14

Merged
merged 2 commits into from
Nov 8, 2018
Merged

fix for ma_fetch test in rv32mi #14

merged 2 commits into from
Nov 8, 2018

Conversation

neelgala
Copy link
Collaborator

@neelgala neelgala commented Nov 6, 2018

The ma_fetch test has been written in a way that implementations with and without "C" support should generate the same signature. The aim is to avoid

j fail

at multiple places.

However, currently the signatures generated by implementation with and without C support are different. This is because the trap handler sets the return address in mepc to point to

SWSIG(?, TESTNUM)

instead of

li TESTNUM, ?

This merge request fixes that and also updates the signature. Has been verified with e-class, riscvOVPsim and spike.

@neelgala neelgala mentioned this pull request Nov 7, 2018
@neelgala
Copy link
Collaborator Author

neelgala commented Nov 7, 2018

@aswaterman
Would this work?

@eroom1966
Copy link
Collaborator

Hi Neel
Can you put this onto a new branch rather than your master-branch, this will allow me to check out before merging onto the master
Thx
Lee

@eroom1966 eroom1966 merged commit a4247f7 into riscv-non-isa:master Nov 8, 2018
@eroom1966
Copy link
Collaborator

Disregard the previous request, I have merged from the master
Thx
Lee

@debs-sifive debs-sifive mentioned this pull request Feb 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants