Skip to content

Commit

Permalink
Fix vminimaxi imm
Browse files Browse the repository at this point in the history
  • Loading branch information
jiegec committed Dec 13, 2023
1 parent a150d50 commit 17746df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ def vminmaxi(min_max, name):
if signedness == "unsigned":
imm_range = "0_31"
else:
imm_range = "n16_15"
imm_range = "_n16_15"
return instruction(
intrinsic=f"__m128i __lsx_v{min_max}i_{name} (__m128i a, imm{imm_range} imm)",
instr=f"v{min_max}i.{name} vr, vr, imm",
Expand Down

0 comments on commit 17746df

Please sign in to comment.