| ... | ... | @@ -6,7 +6,7 @@ const has_aesni = builtin.cpu.has(.x86, .aes); |
| 6 | 6 | const has_avx = builtin.cpu.has(.x86, .avx); |
| 7 | 7 | const has_armaes = builtin.cpu.has(.aarch64, .aes); |
| 8 | 8 | const use_aesni = builtin.cpu.arch == .x86_64 and has_aesni and has_avx; |
| 9 | | // C backend doesn't currently support passing vectors to inline asm. |
| 9 | // C backend doesn't currently support passing vectors to inline asm (#37125) |
| 10 | 10 | const use_armaes = builtin.cpu.arch == .aarch64 and (builtin.zig_backend != .stage2_c or !builtin.os.tag.isDarwin()) and has_armaes; |
| 11 | 11 | const impl = if (use_aesni) impl: { |
| 12 | 12 | break :impl @import("aes/aesni.zig"); |