| ... | @@ -2885,6 +2885,7 @@ pub fn stackAlignment(target: *const Target) u16 { | ... | @@ -2885,6 +2885,7 @@ pub fn stackAlignment(target: *const Target) u16 { |
| 2885 | .ve, | 2885 | .ve, |
| 2886 | .wasm32, | 2886 | .wasm32, |
| 2887 | .wasm64, | 2887 | .wasm64, |
| | 2888 | .x86_64, |
| 2888 | => return 16, | 2889 | => return 16, |
| 2889 | // Some of the following prongs should really be testing the ABI, but our current `Abi` enum | 2890 | // Some of the following prongs should really be testing the ABI, but our current `Abi` enum |
| 2890 | // can't handle that level of nuance yet. | 2891 | // can't handle that level of nuance yet. |
| ... | @@ -2897,7 +2898,7 @@ pub fn stackAlignment(target: *const Target) u16 { | ... | @@ -2897,7 +2898,7 @@ pub fn stackAlignment(target: *const Target) u16 { |
| 2897 | .riscv64be, | 2898 | .riscv64be, |
| 2898 | => if (!target.cpu.has(.riscv, .e)) return 16, | 2899 | => if (!target.cpu.has(.riscv, .e)) return 16, |
| 2899 | .x86 => if (target.os.tag != .windows and target.os.tag != .uefi) return 16, | 2900 | .x86 => if (target.os.tag != .windows and target.os.tag != .uefi) return 16, |
| 2900 | .x86_64 => return 16, | 2901 | .kvx => return 32, |
| 2901 | else => {}, | 2902 | else => {}, |
| 2902 | } | 2903 | } |
| 2903 | | 2904 | |