diff options
Diffstat (limited to 'sysdeps/hppa')
-rw-r--r-- | sysdeps/hppa/configure | 7 | ||||
-rw-r--r-- | sysdeps/hppa/dl-fptr.h | 23 | ||||
-rw-r--r-- | sysdeps/hppa/fpu/libm-test-ulps | 84 |
3 files changed, 94 insertions, 20 deletions
diff --git a/sysdeps/hppa/configure b/sysdeps/hppa/configure index cf5f9e5d7e..0390946d88 100644 --- a/sysdeps/hppa/configure +++ b/sysdeps/hppa/configure @@ -5,8 +5,8 @@ printf %s "checking for assembler line separator... " >&6; } if test ${libc_cv_asm_line_sep+y} then : printf %s "(cached) " >&6 -else $as_nop - cat > conftest.s <<EOF +else case e in #( + e) cat > conftest.s <<EOF nop ; is_old_puffin EOF if { ac_try='${CC-cc} -c $ASFLAGS conftest.s 1>&5' @@ -24,7 +24,8 @@ else fi libc_cv_asm_line_sep=';' fi -rm -f conftest* +rm -f conftest* ;; +esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_line_sep" >&5 printf "%s\n" "$libc_cv_asm_line_sep" >&6; } diff --git a/sysdeps/hppa/dl-fptr.h b/sysdeps/hppa/dl-fptr.h index 7c5eb0bd30..b7fd9cf71a 100644 --- a/sysdeps/hppa/dl-fptr.h +++ b/sysdeps/hppa/dl-fptr.h @@ -19,7 +19,28 @@ #ifndef dl_hppa_fptr_h #define dl_hppa_fptr_h 1 -#include <sysdeps/generic/dl-fptr.h> +/* An FDESC is a function descriptor. */ + +struct fdesc + { + ElfW(Addr) ip; /* code entry point */ + ElfW(Addr) gp; /* global pointer */ + }; + +struct fdesc_table + { + struct fdesc_table *next; + unsigned int len; /* # of entries in fdesc table */ + volatile unsigned int first_unused; /* index of first available entry */ + struct fdesc fdesc[0]; + }; + +struct link_map; + +extern ElfW(Addr) _dl_boot_fptr_table []; + +extern ElfW(Addr) _dl_make_fptr (struct link_map *, const ElfW(Sym) *, + ElfW(Addr)); /* Initialize function pointer code. Call before relocation processing. */ extern void _dl_fptr_init (void); diff --git a/sysdeps/hppa/fpu/libm-test-ulps b/sysdeps/hppa/fpu/libm-test-ulps index 3d60fc25a1..0af5b61362 100644 --- a/sysdeps/hppa/fpu/libm-test-ulps +++ b/sysdeps/hppa/fpu/libm-test-ulps @@ -587,6 +587,9 @@ Function: Real part of "csin": double: 1 float: 1 +Function: Imaginary part of "csin": +float: 1 + Function: Real part of "csin_downward": double: 3 float: 3 @@ -796,6 +799,18 @@ Function: "exp10_upward": double: 2 float: 1 +Function: "exp10m1": +double: 4 + +Function: "exp10m1_downward": +double: 3 + +Function: "exp10m1_towardzero": +double: 2 + +Function: "exp10m1_upward": +double: 5 + Function: "exp2": double: 1 float: 1 @@ -812,6 +827,18 @@ Function: "exp2_upward": double: 1 float: 1 +Function: "exp2m1": +double: 2 + +Function: "exp2m1_downward": +double: 3 + +Function: "exp2m1_towardzero": +double: 3 + +Function: "exp2m1_upward": +double: 3 + Function: "exp_downward": double: 1 float: 1 @@ -826,20 +853,16 @@ float: 1 Function: "expm1": double: 1 -float: 1 ldouble: 1 Function: "expm1_downward": double: 1 -float: 1 Function: "expm1_towardzero": double: 1 -float: 2 Function: "expm1_upward": double: 1 -float: 1 Function: "gamma": double: 4 @@ -871,12 +894,12 @@ Function: "hypot_upward": double: 1 Function: "j0": -double: 2 +double: 4 float: 9 ldouble: 2 Function: "j0_downward": -double: 5 +double: 6 float: 9 Function: "j0_towardzero": @@ -893,11 +916,11 @@ float: 9 ldouble: 1 Function: "j1_downward": -double: 5 +double: 9 float: 8 Function: "j1_towardzero": -double: 4 +double: 5 float: 8 Function: "j1_upward": @@ -939,6 +962,7 @@ double: 5 float: 6 Function: "log": +double: 1 float: 1 Function: "log10": @@ -958,21 +982,29 @@ Function: "log10_upward": double: 2 float: 2 +Function: "log10p1": +double: 2 + +Function: "log10p1_downward": +double: 2 + +Function: "log10p1_towardzero": +double: 3 + +Function: "log10p1_upward": +double: 2 + Function: "log1p": double: 1 -float: 1 Function: "log1p_downward": double: 2 -float: 2 Function: "log1p_towardzero": double: 2 -float: 2 Function: "log1p_upward": double: 2 -float: 2 Function: "log2": double: 2 @@ -990,6 +1022,18 @@ Function: "log2_upward": double: 3 float: 3 +Function: "log2p1": +double: 2 + +Function: "log2p1_downward": +double: 2 + +Function: "log2p1_towardzero": +double: 2 + +Function: "log2p1_upward": +double: 2 + Function: "log_downward": float: 2 @@ -1000,6 +1044,18 @@ Function: "log_upward": double: 1 float: 2 +Function: "logp1": +double: 1 + +Function: "logp1_downward": +double: 2 + +Function: "logp1_towardzero": +double: 2 + +Function: "logp1_upward": +double: 2 + Function: "pow": double: 1 float: 1 @@ -1100,20 +1156,16 @@ float: 3 Function: "tgamma": double: 9 -float: 8 ldouble: 1 Function: "tgamma_downward": double: 9 -float: 7 Function: "tgamma_towardzero": double: 9 -float: 7 Function: "tgamma_upward": double: 9 -float: 8 Function: "y0": double: 3 |