projects
/
soc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fu/mul/test/test_pipe_caller.py test case_all_rb_close_to_ov change rb
[soc.git]
/
src
/
soc
/
fu
/
mul
/
test
/
test_pipe_caller.py
diff --git
a/src/soc/fu/mul/test/test_pipe_caller.py
b/src/soc/fu/mul/test/test_pipe_caller.py
index d0455b4cffc7957b4206c9786fe5f074135035b8..420efedee8c1770d6fe7a83d8c13a40ed4521c70 100644
(file)
--- a/
src/soc/fu/mul/test/test_pipe_caller.py
+++ b/
src/soc/fu/mul/test/test_pipe_caller.py
@@
-273,7
+273,7
@@
class MulTestCase(TestAccumulatorBase):
for instr in instrs:
for i in range(20):
- x = 0x7fffffff + random.randint(
0,
1)
+ x = 0x7fffffff + random.randint(
(-1 << 31), (1 << 31) -
1)
ra = random.randint(0, (1 << 32)-1)
rb = x // ra