[Libre-soc-bugs] [Bug 1072] implement fcvt/fmv instructions in ISACaller (ls006)
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Wed Jun 14 07:11:18 BST 2023
https://bugs.libre-soc.org/show_bug.cgi?id=1072
--- Comment #43 from Jacob Lifshay <programmerjake at gmail.com> ---
I got fed up with tests taking so long so I did some general optimizations
throughout openpower-isa.git, they sped up the test_caller_fmv_fcvt.py tests
from 118s to 43s on my machine when running:
pytest -n auto -v src/openpower/decoder/isa/test_caller_fmv_fcvt.py
it cut down running all tests from about 5min to 3min
https://git.libre-soc.org/?p=openpower-isa.git;a=shortlog;h=c23202498ae30addf04ab4c1e0d7262cc825cd45
full diff:
https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=c23202498ae30addf04ab4c1e0d7262cc825cd45;hp=0401e7ed1c2a94af91fcf8e6eabe3a1e0024b996
commit c23202498ae30addf04ab4c1e0d7262cc825cd45
Author: Jacob Lifshay <programmerjake at gmail.com>
Date: Tue Jun 13 22:56:10 2023 -0700
deepcopy is really slow and unnecessary here
commit 60e7c1baeffad3a1267e97bb824623ea92d4071e
Author: Jacob Lifshay <programmerjake at gmail.com>
Date: Tue Jun 13 22:55:49 2023 -0700
speed up StateSPRs.__init__
commit 1c356c3379b74d40786f988c9e4b1a7d707c2fca
Author: Jacob Lifshay <programmerjake at gmail.com>
Date: Tue Jun 13 22:55:20 2023 -0700
cache FPSCR computation since it's slow
commit 14f508cb2b158244dd5098c474aa408ac6ad7dc0
Author: Jacob Lifshay <programmerjake at gmail.com>
Date: Tue Jun 13 22:54:28 2023 -0700
deepcopy is really slow and actually unnecessary here
commit 84610562f8bb7fd9a26e1b70d5c79e120a35e2bf
Author: Jacob Lifshay <programmerjake at gmail.com>
Date: Tue Jun 13 22:53:52 2023 -0700
cache get_csv
commit 9d3bda373229f58a6512f88787a2a589cf9cdbb9
Author: Jacob Lifshay <programmerjake at gmail.com>
Date: Tue Jun 13 22:53:09 2023 -0700
comment out GC collection since it's really slow and shouldn't be needed
commit 3947ab6d3d2e12e94638ef11f3c4126b67ed7280
Author: Jacob Lifshay <programmerjake at gmail.com>
Date: Tue Jun 13 22:51:14 2023 -0700
cache SVP64Instruction.Prefix instance since it's slow to construct
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list