[Libre-soc-bugs] [Bug 1157] Implement poly1305

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Mon Sep 18 21:00:06 BST 2023


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

--- Comment #21 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Sadoon Albader from comment #20)
> Relevant discussion: (the matrix bridge crashed at the beginning, I
> copy-pasted the comments before it starts)
> 
> Sadoon: https://bugs.libre-soc.org/show_bug.cgi?id=1157#c19
> Sadoon: I know you and Luke will probably enjoy this
> Sadoon: I disected the algorithm to find patterns that can be useful for
> SVP64

excellent. now read the pseudocode for svfixedarith (below)
ad the bigint test cases. see comment #18 commitdiff.

> Sadoon: I also found that we should probably do 32-bit ints instead of 64-bit

no, because of dsrd and maddedu, both of which are designed as 3-in
2-out instructions.

https://libre-soc.org/openpower/isa/svfixedarith/

this is why i converted poly135-donna-64.h not poly1305-donna-32.h

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


More information about the libre-soc-bugs mailing list