Merge remote-tracking branch 'origin/master' into Master-Origin

This commit is contained in:
Platin21
2021-04-05 19:57:58 +02:00
2 changed files with 6 additions and 0 deletions

View File

@@ -719,3 +719,8 @@ gnu_h2f_ieee :: proc "c" (value: u16) -> f32 {
gnu_f2h_ieee :: proc "c" (value: f32) -> u16 {
return truncsfhf2(value);
}
@(link_name="__extendhfsf2")
extendhfsf2 :: proc "c" (value: u16) -> f32 {
return gnu_h2f_ieee(value);
}

View File

@@ -1773,6 +1773,7 @@ void generate_minimum_dependency_set(Checker *c, Entity *start) {
str_lit("truncdfhf2"),
str_lit("gnu_h2f_ieee"),
str_lit("gnu_f2h_ieee"),
str_lit("extendhfsf2"),
str_lit("memset"),
str_lit("memcpy"),