Skip to content

Commit

Permalink
[compiler-rt][Hexagon] Remove fma/fmin/max code
Browse files Browse the repository at this point in the history
This code should reside in the c-library.

Differential Revision: https://reviews.llvm.org/D82263
  • Loading branch information
SidManning committed Jul 8, 2020
1 parent 0402705 commit baca8f9
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 133 deletions.
4 changes: 0 additions & 4 deletions compiler-rt/lib/builtins/CMakeLists.txt
Expand Up @@ -505,13 +505,9 @@ set(hexagon_SOURCES
hexagon/dfsqrt.S
hexagon/divdi3.S
hexagon/divsi3.S
hexagon/fabs_opt.S
hexagon/fastmath2_dlib_asm.S
hexagon/fastmath2_ldlib_asm.S
hexagon/fastmath_dlib_asm.S
hexagon/fma_opt.S
hexagon/fmax_opt.S
hexagon/fmin_opt.S
hexagon/memcpy_forward_vp4cp4n2.S
hexagon/memcpy_likely_aligned.S
hexagon/moddi3.S
Expand Down
8 changes: 3 additions & 5 deletions compiler-rt/lib/builtins/hexagon/dffma.S
Expand Up @@ -104,13 +104,11 @@
.type __hexagon_fmadf4,@function
.global __hexagon_fmadf5
.type __hexagon_fmadf5,@function
.global fma
.type fma,@function
Q6_ALIAS(fmadf5)
.p2align 5
__hexagon_fmadf4:
__hexagon_fmadf5:
fma:
.Lfma_begin:
{
P_TMP = dfclass(A,#2)
P_TMP = dfclass(B,#2)
Expand Down Expand Up @@ -561,15 +559,15 @@ fma:
B = insert(BTMP,#63,#0)
AH -= asl(TMP,#HI_MANTBITS)
}
jump fma
jump .Lfma_begin

.Lfma_ab_tiny:
ATMP = combine(##0x00100000,#0)
{
A = insert(ATMP,#63,#0)
B = insert(ATMP,#63,#0)
}
jump fma
jump .Lfma_begin

.Lab_inf:
{
Expand Down
36 changes: 0 additions & 36 deletions compiler-rt/lib/builtins/hexagon/fabs_opt.S

This file was deleted.

30 changes: 0 additions & 30 deletions compiler-rt/lib/builtins/hexagon/fma_opt.S

This file was deleted.

29 changes: 0 additions & 29 deletions compiler-rt/lib/builtins/hexagon/fmax_opt.S

This file was deleted.

29 changes: 0 additions & 29 deletions compiler-rt/lib/builtins/hexagon/fmin_opt.S

This file was deleted.

0 comments on commit baca8f9

Please sign in to comment.