# riscv: rewrite "binOp" · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/4fd8900337f363c87b916e3a96004f8f35845549)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 4fd8900337f363c87b916e3a96004f8f35845549

Requested commit: 4fd8900337f363c87b916e3a96004f8f35845549

Commit: 4fd8900337f363c87b916e3a96004f8f35845549

Tree: 8366bb95ee83b325ba0f2e687d7cd16f39709743

Author: David Rubin

Committer: David Rubin

## Message

```
riscv: rewrite "binOp"

Reorganize how the binOp and genBinOp functions work.

I've spent quite a while here reading exactly through the spec and so many
tests are enabled because of several critical issues the old design had.

There are some regressions that will take a long time to figure out individually
so I will ignore them for now, and pray they get fixed by themselves. When
we're closer to 100% passing is when I will start diving into them one-by-one.

```

## Parents

- [a9ef0169432a6709ca59588050be703ab1a10357](https://git.cafe/gitcafe/zig/commit/a9ef0169432a6709ca59588050be703ab1a10357?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/4fd8900337f363c87b916e3a96004f8f35845549?format=markdown)
