| author | |
| committer | |
| log | a6856ef6d21635641320761a8f17205fd6e99fa9 |
| tree | a4042f7f81f752c571cb99867ce091d054f4e01e |
| parent | 65bea9ac079e8d580f710b62f3c8cfcb3821d2cb |
2 files changed, 2 insertions(+), 2 deletions(-)
lib/std/Target.zig+1-1| ... | ... | @@ -1899,7 +1899,6 @@ pub fn maxIntAlignment(target: Target) u16 { |
| 1899 | 1899 | // 2. The C ABI wants 16 for extern structs. |
| 1900 | 1900 | // 3. 16-byte cmpxchg needs 16-byte alignment. |
| 1901 | 1901 | // Same logic for powerpc64, mips64, sparc64. |
| 1902 | .x86_64, | |
| 1903 | 1902 | .powerpc64, |
| 1904 | 1903 | .powerpc64le, |
| 1905 | 1904 | .mips64, |
| ... | ... | @@ -1911,6 +1910,7 @@ pub fn maxIntAlignment(target: Target) u16 { |
| 1911 | 1910 | }, |
| 1912 | 1911 | |
| 1913 | 1912 | // Even LLVMABIAlignmentOfType(i128) agrees on these targets. |
| 1913 | .x86_64, | |
| 1914 | 1914 | .aarch64, |
| 1915 | 1915 | .aarch64_be, |
| 1916 | 1916 | .aarch64_32, |
test/behavior/align.zig+1-1| ... | ... | @@ -157,7 +157,6 @@ test "alignment and size of structs with 128-bit fields" { |
| 157 | 157 | .powerpc64, |
| 158 | 158 | .powerpc64le, |
| 159 | 159 | .sparc64, |
| 160 | .x86_64, | |
| 161 | 160 | => switch (builtin.object_format) { |
| 162 | 161 | .c => .{ |
| 163 | 162 | .a_align = 16, |
| ... | ... | @@ -193,6 +192,7 @@ test "alignment and size of structs with 128-bit fields" { |
| 193 | 192 | .bpfeb, |
| 194 | 193 | .nvptx, |
| 195 | 194 | .nvptx64, |
| 195 | .x86_64, | |
| 196 | 196 | => .{ |
| 197 | 197 | .a_align = 16, |
| 198 | 198 | .a_size = 16, |