Skip to content

Commit

Permalink
v_max_f16 and v_min_f16 vop2
Browse files Browse the repository at this point in the history
  • Loading branch information
Qazalin committed Jul 5, 2024
1 parent eb31fa4 commit eeddd3d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/thread.rs
Original file line number Diff line number Diff line change
Expand Up @@ -893,6 +893,8 @@ impl<'a> Thread<'a> {
54 => f16::mul_add(s0, s1, f16::from_bits(self.vec_reg[vdst] as u16)),
55 => f16::mul_add(s0, f16::from_bits(self.simm() as u16), s1),
56 => f16::mul_add(s0, s1, f16::from_bits(self.simm() as u16)),
57 => f16::max(s0, s1),
58 => f16::min(s0, s1),
_ => todo_instr!(instruction)?,
};
if self.exec.read() {
Expand Down

0 comments on commit eeddd3d

Please sign in to comment.