authorgravatar for twostepted@gmail.comTravis Staloch <twostepted@gmail.com> 2021-09-10 15:41:43-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-09-28 17:03:43-07:00
log68050852fac6940d04e15900f135e6fc88845f9b
tree2e5a7e588bcb2b5354e2b9a027711513949e6f4f
parentfd8383545adc5f202e8098bd13b3bda3481ad235

sat-arithmetic: minor formatting changes


2 files changed, 2 insertions(+), 2 deletions(-)

lib/std/zig/Ast.zig+1-1
...@@ -2577,7 +2577,7 @@ pub const Node = struct {...@@ -2577,7 +2577,7 @@ pub const Node = struct {
2577 array_mult,2577 array_mult,
2578 /// `lhs *% rhs`. main_token is the `*%`.2578 /// `lhs *% rhs`. main_token is the `*%`.
2579 mul_wrap,2579 mul_wrap,
2580 /// `lhs *| rhs`. main_token is the `*%`.2580 /// `lhs *| rhs`. main_token is the `*|`.
2581 mul_sat,2581 mul_sat,
2582 /// `lhs + rhs`. main_token is the `+`.2582 /// `lhs + rhs`. main_token is the `+`.
2583 add,2583 add,
src/codegen/llvm.zig+1-1
...@@ -1256,7 +1256,7 @@ pub const FuncGen = struct {...@@ -1256,7 +1256,7 @@ pub const FuncGen = struct {
1256 .xor => try self.airXor(inst),1256 .xor => try self.airXor(inst),
12571257
1258 .shl => try self.airShl(inst, false),1258 .shl => try self.airShl(inst, false),
1259 .shl_sat => try self.airShl(inst, true),1259 .shl_sat => try self.airShl(inst, true),
1260 .shr => try self.airShr(inst),1260 .shr => try self.airShr(inst),
12611261
1262 .cmp_eq => try self.airCmp(inst, .eq),1262 .cmp_eq => try self.airCmp(inst, .eq),