Skip to content

Commit 71cb045

Browse files
committed
Fix _mm_cmp*_ps
1 parent 7cbc8bc commit 71cb045

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/intrinsics/llvm_x86.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ pub(crate) fn codegen_x86_llvm_intrinsic_call<'tcx>(
5353
let res = CValue::by_val(res, fx.layout_of(fx.tcx.types.i32));
5454
ret.write_cvalue(fx, res);
5555
}
56-
"llvm.x86.sse2.cmp.ps" | "llvm.x86.sse2.cmp.pd" => {
56+
"llvm.x86.sse.cmp.ps" | "llvm.x86.sse2.cmp.pd" => {
5757
let (x, y, kind) = match args {
5858
[x, y, kind] => (x, y, kind),
5959
_ => bug!("wrong number of args for intrinsic {intrinsic}"),

0 commit comments

Comments
 (0)