# AIR: change signature of overflow arithmetic instructions · gitcafe/zig

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

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

Visibility: public

Requested revision: 1803167db2d5045e71015498b8e5b184c53edf07

Requested commit: 1803167db2d5045e71015498b8e5b184c53edf07

Commit: 1803167db2d5045e71015498b8e5b184c53edf07

Tree: f41994dd5eecaf7d62e10f68fe2dc48b934b9cd5

Author: joachimschmidt557

Committer: joachimschmidt557

## Message

```
AIR: change signature of overflow arithmetic instructions

add_with_overflow and similar functions now have the ty_pl data
attached. The Payload will now be a binary operation and the inst is
expected to return a tuple consisting of the destination integer type
and an overflow bit (u1).

Co-authored-by: Jan Philipp Hafer <jan.hafer@rwth-aachen.de>

```

## Parents

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

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