diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2023-05-08 16:43:57 -0400 |
|---|---|---|
| committer | Jacob Young <jacobly0@users.noreply.github.com> | 2023-05-15 03:07:51 -0400 |
| commit | 019c8844811ffb8b385ac8891cfd17cbf60d104a (patch) | |
| tree | b9e6b0d64430907d9b44bd61abb802722262cd7c /src | |
| parent | 6f3dacc1073c30d10f640fe630580a4866cbd9db (diff) | |
| download | zig-019c8844811ffb8b385ac8891cfd17cbf60d104a.tar.gz zig-019c8844811ffb8b385ac8891cfd17cbf60d104a.zip | |
x86_64: add missing multply of `f16`
Diffstat (limited to 'src')
| -rw-r--r-- | src/arch/x86_64/CodeGen.zig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/arch/x86_64/CodeGen.zig b/src/arch/x86_64/CodeGen.zig index 2dc1cc8ee4..63e3416079 100644 --- a/src/arch/x86_64/CodeGen.zig +++ b/src/arch/x86_64/CodeGen.zig @@ -6345,6 +6345,7 @@ fn genBinOp( switch (air_tag) { .add => .{ .v_ss, .add }, .sub => .{ .v_ss, .sub }, + .mul => .{ .v_ss, .mul }, .div_float, .div_trunc, .div_floor, .div_exact => .{ .v_ss, .div }, .max => .{ .v_ss, .max }, .min => .{ .v_ss, .max }, @@ -6421,6 +6422,7 @@ fn genBinOp( switch (air_tag) { .add => .{ .v_ss, .add }, .sub => .{ .v_ss, .sub }, + .mul => .{ .v_ss, .mul }, .div_float, .div_trunc, .div_floor, .div_exact => .{ .v_ss, .div }, .max => .{ .v_ss, .max }, .min => .{ .v_ss, .max }, @@ -6468,6 +6470,7 @@ fn genBinOp( switch (air_tag) { .add => .{ .v_ps, .add }, .sub => .{ .v_ps, .sub }, + .mul => .{ .v_ps, .mul }, .div_float, .div_trunc, .div_floor, .div_exact => .{ .v_ps, .div }, .max => .{ .v_ps, .max }, .min => .{ .v_ps, .max }, @@ -6507,6 +6510,7 @@ fn genBinOp( switch (air_tag) { .add => .{ .v_ps, .add }, .sub => .{ .v_ps, .sub }, + .mul => .{ .v_ps, .mul }, .div_float, .div_trunc, .div_floor, .div_exact => .{ .v_ps, .div }, .max => .{ .v_ps, .max }, .min => .{ .v_ps, .max }, @@ -6546,6 +6550,7 @@ fn genBinOp( switch (air_tag) { .add => .{ .v_ps, .add }, .sub => .{ .v_ps, .sub }, + .mul => .{ .v_ps, .mul }, .div_float, .div_trunc, .div_floor, .div_exact => .{ .v_ps, .div }, .max => .{ .v_ps, .max }, .min => .{ .v_ps, .max }, |
