Add intrinsics add_sat and sub_sat

This commit is contained in:
gingerBill
2024-07-16 00:48:17 +01:00
parent 03426175ae
commit 23ca27f40b
3 changed files with 14 additions and 0 deletions
+2
View File
@@ -4261,6 +4261,8 @@ gb_internal bool check_builtin_procedure(CheckerContext *c, Operand *operand, As
case BuiltinProc_overflow_add:
case BuiltinProc_overflow_sub:
case BuiltinProc_overflow_mul:
case BuiltinProc_add_sat:
case BuiltinProc_sub_sat:
{
Operand x = {};
Operand y = {};