diff options
Diffstat (limited to 'sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S')
-rw-r--r-- | sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S | 40 |
1 files changed, 3 insertions, 37 deletions
diff --git a/sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S b/sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S index c188f8e568..daa91579c4 100644 --- a/sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S +++ b/sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S @@ -1,41 +1,7 @@ -#include <sysdep.h> +#include <sparc-ifunc.h> + +SPARC_ASM_VIS3_IFUNC(fmaxf) - .text -ENTRY(__fmaxf) - .type __fmaxf, @gnu_indirect_function -# ifdef SHARED - SETUP_PIC_REG_LEAF(o3, o5) -# endif -# ifdef HAVE_AS_VIS3_SUPPORT - set HWCAP_SPARC_VIS3, %o1 - andcc %o0, %o1, %g0 - be 9f - nop -# ifdef SHARED - sethi %gdop_hix22(__fmaxf_vis3), %o1 - xor %o1, %gdop_lox10(__fmaxf_vis3), %o1 -# else - set __fmaxf_vis3, %o1 -# endif - ba 10f - nop -9: -# endif -# ifdef SHARED - sethi %gdop_hix22(__fmaxf_generic), %o1 - xor %o1, %gdop_lox10(__fmaxf_generic), %o1 -# else - set __fmaxf_generic, %o1 -# endif -# ifdef HAVE_AS_VIS3_SUPPORT -10: -# endif -# ifdef SHARED - add %o3, %o1, %o1 -# endif - retl - mov %o1, %o0 -END(__fmaxf) weak_alias (__fmaxf, fmaxf) # undef weak_alias |