[Libre-soc-isa] [Bug 1051] OPF RFC ls012 research: create table of instructions and their priorities

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue Apr 11 07:19:10 BST 2023


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

--- Comment #7 from Jacob Lifshay <programmerjake at gmail.com> ---
turns out the fpow instruction isn't super high priority for 3D, the following
is sufficient:
pow(b, x) = exp2(x * log2(b))

I also did some misc cleanups and implemented recursive [[!inline]] support
(which it turns out we need since ls010 uses svp64/appendix which in turn uses
preduce.py)

https://git.libre-soc.org/?p=libreriscv.git;a=shortlog;h=789d7892bb20f292c31394b7997e5dd9124a06c6

commit 789d7892bb20f292c31394b7997e5dd9124a06c6
Author: Jacob Lifshay <programmerjake at gmail.com>
Date:   Mon Apr 10 23:09:02 2023 -0700

    adjust priorities -- all inverse trig functions can be expressed in terms
of atan2[pi]

commit d5f837fe00e4f3c9efaeca49fdbb29a0c11fe0df
Author: Jacob Lifshay <programmerjake at gmail.com>
Date:   Mon Apr 10 23:07:08 2023 -0700

    add notes on pow's use in 3D graphics

commit 9b6f2fbcd321a48d31d89942c64c9f6ff9c4e9c3
Author: Jacob Lifshay <programmerjake at gmail.com>
Date:   Mon Apr 10 23:06:17 2023 -0700

    assign fmod/fremainder to ZftransExt -- seems good enough to me

commit a67c976f69b56b46bd0ff9849f9a691b31e4f4bf
Author: Jacob Lifshay <programmerjake at gmail.com>
Date:   Mon Apr 10 23:04:47 2023 -0700

    add fmin/max and mark as high priority

commit c17c44a5f18d573d7cd2f988c6fcb16a3f7df9af
Author: Jacob Lifshay <programmerjake at gmail.com>
Date:   Mon Apr 10 23:02:22 2023 -0700

    mark integer min/max as high priority since vector reduce min/max is
common.

commit 260dff6846d231f8249b85fb933d59cee5f1bd71
Author: Jacob Lifshay <programmerjake at gmail.com>
Date:   Mon Apr 10 22:11:42 2023 -0700

    clean up makefile and support recursive [[!inline]]

commit 930a3f161b826374ceae5a0683fe799e33044995
Author: Jacob Lifshay <programmerjake at gmail.com>
Date:   Mon Apr 10 22:11:30 2023 -0700

    spelling fix

commit 1e465da52acc21f3c30994aa1d4eaa878c645a3a
Author: Jacob Lifshay <programmerjake at gmail.com>
Date:   Mon Apr 10 22:10:04 2023 -0700

    add .gitignore for new intermediate files

commit b51d4b382d733df660ddc875085546c5f0b876c9
Author: Jacob Lifshay <programmerjake at gmail.com>
Date:   Mon Apr 10 21:20:06 2023 -0700

    fix spelling and formatting

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


More information about the Libre-SOC-ISA mailing list