Commit afef8651 authored by Tim Newsome's avatar Tim Newsome
Browse files

Set TESTNUM before executing code.

Tests that might cause a trap during their code need TESTNUM (gp) set so
the trap handler can correctly identify which test is running, and also
report that to the user in case the test fails.

Fix up shamt.S and csr.S to handle the new behavior.
parent 27dbc399
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment