aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2022-04-02 15:48:26 +0200
committerLuuk de Gram <luuk@degram.dev>2022-04-02 21:54:01 +0200
commit219fa192c6311c627d4b507c928ebcf2920af9e8 (patch)
treede3ef8a882d5b0abe840abaf9bd3a0c096e026ab /lib
parent3ee44ce949117e8e91348ef870b18b23571a408d (diff)
downloadzig-219fa192c6311c627d4b507c928ebcf2920af9e8.tar.gz
zig-219fa192c6311c627d4b507c928ebcf2920af9e8.zip
wasm: Implement `@maximum` & `@minimum`
This implements the `max` and `min` AIR instructions by checking whether LHS is great/lesser than RHS. If that's the case, we assign LHS to the result, otherwise assign RHS to it instead.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions