[Libre-soc-bugs] [Bug 436] isa simulator appears to calculate wrong result for test_divwuo_regression_1
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Fri Jul 24 13:19:40 BST 2020
https://bugs.libre-soc.org/show_bug.cgi?id=436
Luke Kenneth Casson Leighton <lkcl at lkcl.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Blocks| |325
Status|CONFIRMED |RESOLVED
--- Comment #2 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
yep, that's down to changing of a "hack" function which is now
no longer appropriate
diff --git a/src/soc/decoder/pseudo/parser.py
b/src/soc/decoder/pseudo/parser.py
index 346e3f98..3d75fbb0 100644
--- a/src/soc/decoder/pseudo/parser.py
+++ b/src/soc/decoder/pseudo/parser.py
@@ -615,7 +615,8 @@ class PowerParser:
l, r = p[1], p[3]
# actual call will be "dividend / divisor" - just check
# LHS name
- if isinstance(l, ast.Name) and l.id == 'dividend':
+ # XXX DISABLE BAD HACK (False)
+ if False and isinstance(l, ast.Name) and l.id == 'dividend':
if p[2] == '/':
fn = 'trunc_divs'
else:
Referenced Bugs:
https://bugs.libre-soc.org/show_bug.cgi?id=325
[Bug 325] create POWER9 TRAP pipeline
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list