Skip to content

Commit

Permalink
add v_max3_u16
Browse files Browse the repository at this point in the history
  • Loading branch information
Qazalin committed Aug 19, 2024
1 parent d9b1b1a commit b7c39fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/thread.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1294,9 +1294,10 @@ impl<'a> Thread<'a> {
}
return Ok(());
}
577 | 771 | 772 | 773 | 777 | 779 | 824 | 825 => {
577 | 590 | 771 | 772 | 773 | 777 | 779 | 824 | 825 => {
let (s0, s1, s2) = (s0 as u16, s1 as u16, s2 as u16);
let ret = match op {
590 => u16::max(u16::max(s0, s1), s2),
577 => s0 * s1 + s2,
771 => s0 + s1,
772 => s0 - s1,
Expand Down

0 comments on commit b7c39fe

Please sign in to comment.