From: Luke Kenneth Casson Leighton Date: Wed, 11 Oct 2023 11:17:29 +0000 (+0100) Subject: whitespace X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b63a8e35c3e5959ab0f00ca109706f9d40873612;p=openpower-isa.git whitespace --- diff --git a/src/openpower/decoder/isa/test_caller_svp64_matrix.py b/src/openpower/decoder/isa/test_caller_svp64_matrix.py index 05d755de..d76da2eb 100644 --- a/src/openpower/decoder/isa/test_caller_svp64_matrix.py +++ b/src/openpower/decoder/isa/test_caller_svp64_matrix.py @@ -9,6 +9,7 @@ from openpower.decoder.selectable_int import SelectableInt from openpower.simulator.program import Program from openpower.insndb.asm import SVP64Asm + # Pure Python implementation of matrix multiply # Example values # x = [[1,2,3],[4,5,6],[7,8,9],[10,11,12]] @@ -20,6 +21,7 @@ def matmult(a,b): return [[sum(ele_a*ele_b for ele_a, ele_b in zip(row_a, col_b)) for col_b in zip_b] for row_a in a] + class DecoderTestCase(FHDLTestCase): def _check_regs(self, sim, expected):