Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2008-09-11 04:33:58 +0400
committerJeff Johnston <jjohnstn@redhat.com>2008-09-11 04:33:58 +0400
commit0b840b0009b72fe7f4bb0eb8c185fdb779d560bd (patch)
tree33abae87d83aa5e0cca93f445afed1986f0e7144 /newlib/libm/machine/spu
parent9ecc83a3f7a3d4c2ee93bf3da38dbd90826fe84c (diff)
2008-09-10 Ken Werner <ken.werner@de.ibm.com>
* libc/machine/spu/strcpy.h: Add missing header. * libc/machine/spu/spu_timer_slih.c: Remove unused Variable. * libm/machine/spu/headers/lgammaf4.h: Add type cast.
Diffstat (limited to 'newlib/libm/machine/spu')
-rw-r--r--newlib/libm/machine/spu/headers/lgammaf4.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libm/machine/spu/headers/lgammaf4.h b/newlib/libm/machine/spu/headers/lgammaf4.h
index 3142c7755..36aea5b16 100644
--- a/newlib/libm/machine/spu/headers/lgammaf4.h
+++ b/newlib/libm/machine/spu/headers/lgammaf4.h
@@ -426,7 +426,7 @@ static __inline vector float _lgammaf4(vector float x)
vec_float4 xappr = spu_sub(xabs, xoffset);
/* If in Stirling partition, do some setup before the madds */
- xappr = spu_sel(xappr, inv_xsqu, gt_r7start);
+ xappr = spu_sel(xappr, inv_xsqu, (vector unsigned int)gt_r7start);
@@ -463,13 +463,13 @@ static __inline vector float _lgammaf4(vector float x)
*/
/* Finish the Near 0 formula */
- result = spu_sel(spu_sub(result, ln_x), result, gt_r1start);
+ result = spu_sel(spu_sub(result, ln_x), result, (vector unsigned int)gt_r1start);
/* Finish Stirling's Approximation */
vec_float4 resultstirling = spu_madd(spu_sub(xabs, spu_splats(0.5f)), ln_x, halflog2pi);
resultstirling = spu_sub(resultstirling, xabs);
resultstirling = spu_add(spu_mul(result,inv_x), resultstirling);
- result = spu_sel(result, resultstirling, gt_r7start);
+ result = spu_sel(result, resultstirling, (vector unsigned int)gt_r7start);
/* Adjust due to systematic truncation */