Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

Implement late forwarding for MADD #22

Open
mbitsnbites opened this issue Nov 16, 2021 · 0 comments
Open

Implement late forwarding for MADD #22

mbitsnbites opened this issue Nov 16, 2021 · 0 comments

Comments

@mbitsnbites
Copy link
Member

mbitsnbites commented Nov 16, 2021

With late forwarding of the addend, the MADD instruction would work as an MAC with zero latency for consecutive multiply+add operations such as:

    madd  r1, r2, r3
    madd  r1, r4, r5
    madd  r1, r6, r7  ; r1 = r1 + r2 * r3 + r4 * r5 + r6 * r7

We probably only need to worry about forwarding of outputs from the MADD unit.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant