aboutsummaryrefslogtreecommitdiff
path: root/src/stage1/codegen.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-02-07 18:52:57 -0500
committerGitHub <noreply@github.com>2022-02-07 18:52:57 -0500
commit9bbfbacae0707cf0712e4d6b227b17d097708c7e (patch)
treed61c60e53f167ecb3c5b24235f5fa30f01fd8c23 /src/stage1/codegen.cpp
parentdd49ed1c642d917af40bf4a0e03d013f40b3903b (diff)
parenta028488384c599aa997ba04bbd5ed98f2172630c (diff)
downloadzig-9bbfbacae0707cf0712e4d6b227b17d097708c7e.tar.gz
zig-9bbfbacae0707cf0712e4d6b227b17d097708c7e.zip
Merge pull request #10801 from schmee/stage2-sqrt
stage2: implement @sqrt for f{16,32,64}
Diffstat (limited to 'src/stage1/codegen.cpp')
-rw-r--r--src/stage1/codegen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stage1/codegen.cpp b/src/stage1/codegen.cpp
index 02f84beeab..c06f71e834 100644
--- a/src/stage1/codegen.cpp
+++ b/src/stage1/codegen.cpp
@@ -6996,7 +6996,7 @@ static LLVMValueRef ir_render_soft_f80_float_op(CodeGen *g, Stage1Air *executabl
const char *func_name;
switch (instruction->fn_id) {
case BuiltinFnIdSqrt:
- func_name = "__sqrt";
+ func_name = "__sqrtx";
break;
case BuiltinFnIdSin:
func_name = "__sinx";