diff options
author | bd <bdunahu@operationnull.com> | 2025-03-30 19:42:34 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-03-30 19:42:34 -0400 |
commit | ebeb29d1b87c533c1e80e86ceed9ddc40e4d2cb2 (patch) | |
tree | 6fb10621af07438e01391f7cb734023e3aaf691a /src/sim/stage.cc | |
parent | 36dabe6183af98b2e3f6d0316436dc3affc3d986 (diff) |
Add tests for EX
Diffstat (limited to 'src/sim/stage.cc')
-rw-r--r-- | src/sim/stage.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/stage.cc b/src/sim/stage.cc index 929a4b9..74a2176 100644 --- a/src/sim/stage.cc +++ b/src/sim/stage.cc @@ -45,7 +45,7 @@ InstrDTO *Stage::advance(Response p) void Stage::set_condition(CC c, bool v) { if (v) - this->gprs[3] = this->gprs[3] & 1 << c; + this->gprs[3] = this->gprs[3] | 1 << c; else this->gprs[3] = this->gprs[3] & ~(1 << c); } |