File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -170,8 +170,10 @@ void TargetLoweringBase::InitLibcalls(const Triple &TT) {
170
170
setLibcallName (RTLIB::MUL_F128, " __mulkf3" );
171
171
setLibcallName (RTLIB::DIV_F128, " __divkf3" );
172
172
setLibcallName (RTLIB::POWI_F128, " __powikf2" );
173
+ setLibcallName (RTLIB::FPEXT_F16_F128, " __extendhfkf2" );
173
174
setLibcallName (RTLIB::FPEXT_F32_F128, " __extendsfkf2" );
174
175
setLibcallName (RTLIB::FPEXT_F64_F128, " __extenddfkf2" );
176
+ setLibcallName (RTLIB::FPROUND_F128_F16, " __trunckfhf2" );
175
177
setLibcallName (RTLIB::FPROUND_F128_F32, " __trunckfsf2" );
176
178
setLibcallName (RTLIB::FPROUND_F128_F64, " __trunckfdf2" );
177
179
setLibcallName (RTLIB::FPTOSINT_F128_I32, " __fixkfsi" );
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ define half @trunc(fp128 %a) unnamed_addr {
16
16
; P8-NEXT: std r0, 48(r1)
17
17
; P8-NEXT: .cfi_def_cfa_offset 32
18
18
; P8-NEXT: .cfi_offset lr, 16
19
- ; P8-NEXT: bl __trunctfhf2
19
+ ; P8-NEXT: bl __trunckfhf2
20
20
; P8-NEXT: nop
21
21
; P8-NEXT: clrldi r3, r3, 48
22
22
; P8-NEXT: bl __gnu_h2f_ieee
@@ -43,7 +43,7 @@ define half @trunc(fp128 %a) unnamed_addr {
43
43
; SOFT-NEXT: std r0, 48(r1)
44
44
; SOFT-NEXT: .cfi_def_cfa_offset 32
45
45
; SOFT-NEXT: .cfi_offset lr, 16
46
- ; SOFT-NEXT: bl __trunctfhf2
46
+ ; SOFT-NEXT: bl __trunckfhf2
47
47
; SOFT-NEXT: nop
48
48
; SOFT-NEXT: clrldi r3, r3, 48
49
49
; SOFT-NEXT: bl __gnu_h2f_ieee
You can’t perform that action at this time.
0 commit comments