[Libre-soc-dev] All div pipe tests pass

Luke Kenneth Casson Leighton lkcl at lkcl.net
Fri Oct 9 18:08:16 BST 2020

crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68

On Fri, Oct 9, 2020 at 6:03 PM Jacob Lifshay <programmerjake at gmail.com> wrote:

> well, the modsw instruction has similar behavior -- sign-extending the
> result in all cases when the spec leaves the top 32-bits undefined.

ahh interesting.  sigh all of these fall into "Ahmdahl nightmare
scenario".  i'm amazed anyone hasn't pointed that out before, or made
a fuss about it.

> IIRC  the div overflow cases all return 0 on power9.

sounds right.

> yeah, I'll go through and clean those up later today.


More information about the Libre-soc-dev mailing list