[Libre-soc-bugs] [Bug 1044] SVP64 implementation of pow(x,y,z)

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue Oct 10 05:34:58 BST 2023


https://bugs.libre-soc.org/show_bug.cgi?id=1044

--- Comment #45 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #42)
> i don't have a problrm with that at all. good call, go for it.

Thanks!

I did add a system so the user can adjust which registers and vector sizes are
chosen, as you requested in comment #27 -- it doesn't need a register
allocator, since the *user* is the register allocator :) all it does is some
cursory checks to ensure the passed-in registers aren't completely borked (e.g.
where an assignment is omitted by having both the source and dest be the same
register, I assert that they actually are the same register).

I added an early WIP assembly version, as well as added register assignments to
the python version for logging.

https://git.libre-soc.org/?p=openpower-isa.git;a=shortlog;h=d7c8086452d26a17a6643cb7858fa1cfa51416b9

commit d7c8086452d26a17a6643cb7858fa1cfa51416b9
Author: Jacob Lifshay <programmerjake at gmail.com>
Date:   Mon Oct 9 21:05:17 2023 -0700

    add WIP Knuth's algorithm D assembly

commit f1f40a302cd40dfd953cd71e438ed9f9321562a5
Author: Jacob Lifshay <programmerjake at gmail.com>
Date:   Mon Oct 9 20:38:30 2023 -0700

    divmod: assign registers to variables

commit 49ab8a331bce33def6cd21c637845adfe6c38b95
Author: Jacob Lifshay <programmerjake at gmail.com>
Date:   Mon Oct 9 20:35:40 2023 -0700

    adapt divmod algorithm for putting variables in registers

commit b134f188788c1dcb5614244cb4f6fdceb645c543
Author: Jacob Lifshay <programmerjake at gmail.com>
Date:   Mon Oct 9 20:30:43 2023 -0700

    add more features for _DivModRegsRegexLogger

commit b7be514750e59adbaf3fe543d2977d81f16fd322
Author: Jacob Lifshay <programmerjake at gmail.com>
Date:   Mon Oct 9 18:25:43 2023 -0700

    finish moving Knuth algorithm D into a class

commit 592e2bfeb196ed06a92f476e936e6322ef91a945
Author: Jacob Lifshay <programmerjake at gmail.com>
Date:   Mon Oct 9 18:21:40 2023 -0700

    merely indent function

    [skip ci]

commit 015c71a871760955a9e9588720ef7ad8b3cd258d
Author: Jacob Lifshay <programmerjake at gmail.com>
Date:   Mon Oct 9 18:19:25 2023 -0700

    start adding DivModKnuthAlgorithmD class

commit 136e6f26ae6296d781e2a5d4ca4342a14cff2158
Author: Jacob Lifshay <programmerjake at gmail.com>
Date:   Mon Oct 9 18:18:28 2023 -0700

    format code

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list