mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
[CodeGen] Use standard -not gnueabi- naming for f16 libcalls on Darwin.
Other targets probably should as well. Since r237161, compiler-rt has both, but I don't see why anything other than gnueabi would use a gnueabi naming scheme. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237324 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -30,7 +30,7 @@ define void @test_bitcast_to_half(half* %addr, i16 %in) {
|
||||
define float @test_extend32(half* %addr) {
|
||||
; CHECK-LABEL: test_extend32:
|
||||
|
||||
; CHECK-OLD: b.w ___gnu_h2f_ieee
|
||||
; CHECK-OLD: b.w ___extendhfsf2
|
||||
; CHECK-F16: vcvtb.f32.f16
|
||||
; CHECK-V8: vcvtb.f32.f16
|
||||
%val16 = load half, half* %addr
|
||||
@@ -41,7 +41,7 @@ define float @test_extend32(half* %addr) {
|
||||
define double @test_extend64(half* %addr) {
|
||||
; CHECK-LABEL: test_extend64:
|
||||
|
||||
; CHECK-OLD: blx ___gnu_h2f_ieee
|
||||
; CHECK-OLD: blx ___extendhfsf2
|
||||
; CHECK-OLD: vcvt.f64.f32
|
||||
; CHECK-F16: vcvtb.f32.f16
|
||||
; CHECK-F16: vcvt.f64.f32
|
||||
@@ -54,7 +54,7 @@ define double @test_extend64(half* %addr) {
|
||||
define void @test_trunc32(float %in, half* %addr) {
|
||||
; CHECK-LABEL: test_trunc32:
|
||||
|
||||
; CHECK-OLD: blx ___gnu_f2h_ieee
|
||||
; CHECK-OLD: blx ___truncsfhf2
|
||||
; CHECK-F16: vcvtb.f16.f32
|
||||
; CHECK-V8: vcvtb.f16.f32
|
||||
%val16 = fptrunc float %in to half
|
||||
|
Reference in New Issue
Block a user