Skip to content

Commit 538a7ed

Browse files
committed
Enable one more feature
1 parent 4e0cace commit 538a7ed

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/base.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,16 +111,14 @@ pub fn compile_codegen_unit(tcx: TyCtxt<'_>, cgu_name: Symbol, target_info: Arc<
111111
// TODO(antoyo): only set on x86 platforms.
112112
context.add_command_line_option("-masm=intel");
113113

114-
let features = ["64", "bmi", "sse2", "avx", "avx2", "sha", "fma", "fma4", "gfni", "f16c", "aes", "bmi2", "pclmul", "rtm",
114+
let features = ["64", "avxvnni", "bmi", "sse2", "avx", "avx2", "sha", "fma", "fma4", "gfni", "f16c", "aes", "bmi2", "pclmul", "rtm",
115115
"vaes", "vpclmulqdq", "xsavec",
116116
];
117117

118118
for feature in &features {
119119
add_cpu_feature_flag(feature);
120120
}
121121

122-
//context.add_command_line_option("-mavxvnni"); // The CI doesn't support this option.
123-
124122
for arg in &tcx.sess.opts.cg.llvm_args {
125123
context.add_command_line_option(arg);
126124
}

0 commit comments

Comments
 (0)