Skip to content

Commit 99780df

Browse files
committed
Fix intrinsic copysignf128
1 parent fe8b5e6 commit 99780df

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build_system/src/test.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ use crate::build;
99
use crate::config::{Channel, ConfigInfo};
1010
use crate::utils::{
1111
create_dir, get_sysroot_dir, get_toolchain, git_clone, git_clone_root_dir, remove_file,
12-
run_command, run_command_with_env, run_command_with_output, run_command_with_output_and_env,
13-
rustc_version_info, split_args, walk_dir,
12+
run_command, run_command_with_env, run_command_with_output_and_env, rustc_version_info,
13+
split_args, walk_dir,
1414
};
1515

1616
type Env = HashMap<String, String>;

src/intrinsic/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ fn get_simple_intrinsic<'gcc, 'tcx>(
7878
sym::maxnumf64 => "fmax",
7979
sym::copysignf32 => "copysignf",
8080
sym::copysignf64 => "copysign",
81-
sym::copysignf128 => "copysignl",
8281
sym::floorf32 => "floorf",
8382
sym::floorf64 => "floor",
8483
sym::ceilf32 => "ceilf",
@@ -202,6 +201,7 @@ fn get_simple_function_f128_2args<'gcc, 'tcx>(
202201
let func_name = match name {
203202
sym::maxnumf128 => "fmaxf128",
204203
sym::minnumf128 => "fminf128",
204+
sym::copysignf128 => "copysignf128",
205205
_ => return None,
206206
};
207207
Some(cx.context.new_function(

0 commit comments

Comments
 (0)