mirror of
https://sourceware.org/git/glibc.git
synced 2025-10-17 05:11:21 +03:00
* sysdeps/powerpc/powerpc32/fpu/s_ceil.S (TWO52.0): Delete.
* sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (TWO23.0): Delete. * sysdeps/powerpc/powerpc32/fpu/s_floor.S (TWO52.0): Delete. * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (TWO23.0): Delete. * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Comment typo. (NEGZERO.0, POINTFIVE.0): Delete. * sysdeps/powerpc/powerpc32/fpu/s_rint.S (TWO52.0): Delete. * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (TWO23.0): Delete. * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Code in .text. (TWO52.0, POINTFIVE.0): Delete. * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Code in .text. (TWO23.0, POINTFIVE.0): Delete. * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Code in .text. (TWO52.0): Delete. * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Code in .text. (TWO23.0): Delete. * sysdeps/powerpc/powerpc32/memset.S (memset): Formatting.
This commit is contained in:
20
ChangeLog
20
ChangeLog
@@ -1,3 +1,23 @@
|
||||
2005-05-17 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* sysdeps/powerpc/powerpc32/fpu/s_ceil.S (TWO52.0): Delete.
|
||||
* sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (TWO23.0): Delete.
|
||||
* sysdeps/powerpc/powerpc32/fpu/s_floor.S (TWO52.0): Delete.
|
||||
* sysdeps/powerpc/powerpc32/fpu/s_floorf.S (TWO23.0): Delete.
|
||||
* sysdeps/powerpc/powerpc32/fpu/s_lround.S: Comment typo.
|
||||
(NEGZERO.0, POINTFIVE.0): Delete.
|
||||
* sysdeps/powerpc/powerpc32/fpu/s_rint.S (TWO52.0): Delete.
|
||||
* sysdeps/powerpc/powerpc32/fpu/s_rintf.S (TWO23.0): Delete.
|
||||
* sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Code in .text.
|
||||
(TWO52.0, POINTFIVE.0): Delete.
|
||||
* sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Code in .text.
|
||||
(TWO23.0, POINTFIVE.0): Delete.
|
||||
* sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Code in .text.
|
||||
(TWO52.0): Delete.
|
||||
* sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Code in .text.
|
||||
(TWO23.0): Delete.
|
||||
* sysdeps/powerpc/powerpc32/memset.S (memset): Formatting.
|
||||
|
||||
2005-05-19 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* sysdeps/unix/clock_gettime.c (clock_gettime): Fix typo around
|
||||
|
@@ -1,3 +1,9 @@
|
||||
2005-05-19 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* sysdeps/ia64/pspinlock.c (__pthread_spin_lock): Use
|
||||
__sync_val_compare_and_swap, not explicit _si variant.
|
||||
(__pthread_spin_trylock): Likewise.
|
||||
|
||||
2005-05-05 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Remove explicit
|
||||
|
@@ -1,3 +1,14 @@
|
||||
2005-05-20 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* sysdeps/i386/tls.h (TLS_INIT_TCB_SIZE, TLS_INIT_TCB_ALIGN): Define to
|
||||
size/alignment of struct pthread rather than tcbhead_t.
|
||||
* sysdeps/x86_64/tls.h (TLS_INIT_TCB_SIZE, TLS_INIT_TCB_ALIGN):
|
||||
Likewise.
|
||||
* sysdeps/s390/tls.h (TLS_INIT_TCB_SIZE, TLS_INIT_TCB_ALIGN):
|
||||
Likewise.
|
||||
* sysdeps/sparc/tls.h (TLS_INIT_TCB_SIZE, TLS_INIT_TCB_ALIGN):
|
||||
Likewise.
|
||||
|
||||
2005-05-19 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* sysdeps/ia64/pthread_spin_lock.c (pthread_spin_lock): Use
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/* Definition for thread-local data handling. nptl/i386 version.
|
||||
Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
|
||||
Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -102,11 +102,13 @@ union user_desc_init
|
||||
/* Get the thread descriptor definition. */
|
||||
# include <nptl/descr.h>
|
||||
|
||||
/* This is the size of the initial TCB. */
|
||||
# define TLS_INIT_TCB_SIZE sizeof (tcbhead_t)
|
||||
/* This is the size of the initial TCB. Can't be just sizeof (tcbhead_t),
|
||||
because NPTL getpid, __libc_alloca_cutoff etc. need (almost) the whole
|
||||
struct pthread even when not linked with -lpthread. */
|
||||
# define TLS_INIT_TCB_SIZE sizeof (struct pthread)
|
||||
|
||||
/* Alignment requirements for the initial TCB. */
|
||||
# define TLS_INIT_TCB_ALIGN __alignof__ (tcbhead_t)
|
||||
# define TLS_INIT_TCB_ALIGN __alignof__ (struct pthread)
|
||||
|
||||
/* This is the size of the TCB. */
|
||||
# define TLS_TCB_SIZE sizeof (struct pthread)
|
||||
|
@@ -81,11 +81,13 @@ typedef struct
|
||||
/* Get the thread descriptor definition. */
|
||||
# include <nptl/descr.h>
|
||||
|
||||
/* This is the size of the initial TCB. */
|
||||
# define TLS_INIT_TCB_SIZE sizeof (tcbhead_t)
|
||||
/* This is the size of the initial TCB. Can't be just sizeof (tcbhead_t),
|
||||
because NPTL getpid, __libc_alloca_cutoff etc. need (almost) the whole
|
||||
struct pthread even when not linked with -lpthread. */
|
||||
# define TLS_INIT_TCB_SIZE sizeof (struct pthread)
|
||||
|
||||
/* Alignment requirements for the initial TCB. */
|
||||
# define TLS_INIT_TCB_ALIGN __alignof__ (tcbhead_t)
|
||||
# define TLS_INIT_TCB_ALIGN __alignof__ (struct pthread)
|
||||
|
||||
/* This is the size of the TCB. */
|
||||
# define TLS_TCB_SIZE sizeof (struct pthread)
|
||||
|
@@ -69,11 +69,13 @@ typedef struct
|
||||
|
||||
register struct pthread *__thread_self __asm__("%g7");
|
||||
|
||||
/* This is the size of the initial TCB. */
|
||||
# define TLS_INIT_TCB_SIZE sizeof (tcbhead_t)
|
||||
/* This is the size of the initial TCB. Can't be just sizeof (tcbhead_t),
|
||||
because NPTL getpid, __libc_alloca_cutoff etc. need (almost) the whole
|
||||
struct pthread even when not linked with -lpthread. */
|
||||
# define TLS_INIT_TCB_SIZE sizeof (struct pthread)
|
||||
|
||||
/* Alignment requirements for the initial TCB. */
|
||||
# define TLS_INIT_TCB_ALIGN __alignof__ (tcbhead_t)
|
||||
# define TLS_INIT_TCB_ALIGN __alignof__ (struct pthread)
|
||||
|
||||
/* This is the size of the TCB. */
|
||||
# define TLS_TCB_SIZE sizeof (struct pthread)
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/* Definition for thread-local data handling. nptl/x86_64 version.
|
||||
Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
|
||||
Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -82,11 +82,13 @@ typedef struct
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* This is the size of the initial TCB. */
|
||||
# define TLS_INIT_TCB_SIZE sizeof (tcbhead_t)
|
||||
/* This is the size of the initial TCB. Can't be just sizeof (tcbhead_t),
|
||||
because NPTL getpid, __libc_alloca_cutoff etc. need (almost) the whole
|
||||
struct pthread even when not linked with -lpthread. */
|
||||
# define TLS_INIT_TCB_SIZE sizeof (struct pthread)
|
||||
|
||||
/* Alignment requirements for the initial TCB. */
|
||||
# define TLS_INIT_TCB_ALIGN __alignof__ (tcbhead_t)
|
||||
# define TLS_INIT_TCB_ALIGN __alignof__ (struct pthread)
|
||||
|
||||
/* This is the size of the TCB. */
|
||||
# define TLS_TCB_SIZE sizeof (struct pthread)
|
||||
|
@@ -19,14 +19,6 @@
|
||||
|
||||
#include <sysdep.h>
|
||||
|
||||
.section .rodata
|
||||
.align 3
|
||||
.type TWO52.0,@object
|
||||
.size TWO52.0,8
|
||||
TWO52.0:
|
||||
.long 0x43300000
|
||||
.long 0
|
||||
|
||||
.section .rodata.cst8,"aM",@progbits,8
|
||||
.align 3
|
||||
.LC0: /* 2**52 */
|
||||
|
@@ -19,13 +19,6 @@
|
||||
|
||||
#include <sysdep.h>
|
||||
|
||||
.section .rodata
|
||||
.align 2
|
||||
.type TWO23.0,@object
|
||||
.size TWO23.0,4
|
||||
TWO23.0:
|
||||
.long 0x4b000000
|
||||
|
||||
.section .rodata.cst4,"aM",@progbits,4
|
||||
.align 2
|
||||
.LC0: /* 2**23 */
|
||||
|
@@ -19,14 +19,6 @@
|
||||
|
||||
#include <sysdep.h>
|
||||
|
||||
.section .rodata
|
||||
.align 3
|
||||
.type TWO52.0,@object
|
||||
.size TWO52.0,8
|
||||
TWO52.0:
|
||||
.long 0x43300000
|
||||
.long 0
|
||||
|
||||
.section .rodata.cst8,"aM",@progbits,8
|
||||
.align 3
|
||||
.LC0: /* 2**52 */
|
||||
|
@@ -19,13 +19,6 @@
|
||||
|
||||
#include <sysdep.h>
|
||||
|
||||
.section .rodata
|
||||
.align 2
|
||||
.type TWO23.0,@object
|
||||
.size TWO23.0,4
|
||||
TWO23.0:
|
||||
.long 0x4b000000
|
||||
|
||||
.section .rodata.cst4,"aM",@progbits,4
|
||||
.align 2
|
||||
.LC0: /* 2**23 */
|
||||
|
@@ -19,19 +19,6 @@
|
||||
|
||||
#include <sysdep.h>
|
||||
|
||||
.section .rodata
|
||||
.align 3
|
||||
.type NEGZERO.0,@object
|
||||
.size NEGZERO.0,8
|
||||
NEGZERO.0:
|
||||
.long 0x00000000
|
||||
.long 0
|
||||
.type POINTFIVE.0,@object
|
||||
.size POINTFIVE.0,8
|
||||
POINTFIVE.0:
|
||||
.long 0x3fe00000
|
||||
.long 0
|
||||
|
||||
.section .rodata.cst8,"aM",@progbits,8
|
||||
.align 3
|
||||
.LC0: /* 0.0 */
|
||||
@@ -78,8 +65,8 @@ ENTRY (__lround)
|
||||
.L9:
|
||||
fctiwz fp2,fp1 /* Convert To Integer DW lround toward 0. */
|
||||
stfd fp2,-8(r1)
|
||||
nop /* Insure the following load is in a different dispatch group */
|
||||
nop /* to avoid pipe stall on POWER4&5. */
|
||||
nop /* Ensure the following load is in a different dispatch */
|
||||
nop /* group to avoid pipe stall on POWER4&5. */
|
||||
nop
|
||||
lwz r3,-4(r1)
|
||||
blr
|
||||
|
@@ -22,14 +22,6 @@
|
||||
|
||||
#include <sysdep.h>
|
||||
|
||||
.section .rodata
|
||||
.align 3
|
||||
.type TWO52.0,@object
|
||||
.size TWO52.0,8
|
||||
TWO52.0:
|
||||
.long 0x43300000
|
||||
.long 0
|
||||
|
||||
.section .rodata.cst8,"aM",@progbits,8
|
||||
.align 3
|
||||
.LC0: /* 2**52 */
|
||||
|
@@ -19,14 +19,6 @@
|
||||
|
||||
#include <sysdep.h>
|
||||
|
||||
|
||||
.section .rodata
|
||||
.align 2
|
||||
.type TWO23.0,@object
|
||||
.size TWO23.0,4
|
||||
TWO23.0:
|
||||
.long 0x4b000000
|
||||
|
||||
.section .rodata.cst4,"aM",@progbits,4
|
||||
.align 2
|
||||
.LC0: /* 2**23 */
|
||||
|
@@ -19,19 +19,6 @@
|
||||
|
||||
#include <sysdep.h>
|
||||
|
||||
.section .rodata
|
||||
.align 3
|
||||
.type TWO52.0,@object
|
||||
.size TWO52.0,8
|
||||
TWO52.0:
|
||||
.long 0x43300000
|
||||
.long 0
|
||||
.type POINTFIVE.0,@object
|
||||
.size POINTFIVE.0,8
|
||||
POINTFIVE.0:
|
||||
.long 0x3fe00000
|
||||
.long 0
|
||||
|
||||
.section .rodata.cst8,"aM",@progbits,8
|
||||
.align 3
|
||||
.LC0: /* 2**52 */
|
||||
@@ -51,6 +38,7 @@ POINTFIVE.0:
|
||||
"Round toward Zero" mode and round by adding +-0.5 before rounding
|
||||
to the integer value. */
|
||||
|
||||
.section ".text"
|
||||
ENTRY (__round)
|
||||
mffs fp11 /* Save current FPU rounding mode. */
|
||||
#ifdef SHARED
|
||||
|
@@ -19,17 +19,6 @@
|
||||
|
||||
#include <sysdep.h>
|
||||
|
||||
.section .rodata
|
||||
.align 2
|
||||
.type TWO23.0,@object
|
||||
.size TWO23.0,4
|
||||
TWO23.0:
|
||||
.long 0x4b000000
|
||||
.type POINTFIVE.0,@object
|
||||
.size POINTFIVE.0,4
|
||||
POINTFIVE.0:
|
||||
.long 0x3f000000
|
||||
|
||||
.section .rodata.cst4,"aM",@progbits,4
|
||||
.align 2
|
||||
.LC0: /* 2**23 */
|
||||
@@ -47,6 +36,7 @@ POINTFIVE.0:
|
||||
"Round toward Zero" mode and round by adding +-0.5 before rounding
|
||||
to the integer value. */
|
||||
|
||||
.section ".text"
|
||||
ENTRY (__roundf )
|
||||
mffs fp11 /* Save current FPU rounding mode. */
|
||||
#ifdef SHARED
|
||||
|
@@ -19,14 +19,6 @@
|
||||
|
||||
#include <sysdep.h>
|
||||
|
||||
.section .rodata
|
||||
.align 3
|
||||
.type TWO52.0,@object
|
||||
.size TWO52.0,8
|
||||
TWO52.0:
|
||||
.long 0x43300000
|
||||
.long 0
|
||||
|
||||
.section .rodata.cst8,"aM",@progbits,8
|
||||
.align 3
|
||||
.LC0: /* 2**52 */
|
||||
@@ -40,6 +32,7 @@ TWO52.0:
|
||||
We set "round toward Zero" mode and trunc by adding +-2**52 then
|
||||
subtracting +-2**52. */
|
||||
|
||||
.section ".text"
|
||||
ENTRY (__trunc)
|
||||
mffs fp11 /* Save current FPU rounding mode. */
|
||||
#ifdef SHARED
|
||||
|
@@ -19,13 +19,6 @@
|
||||
|
||||
#include <sysdep.h>
|
||||
|
||||
.section .rodata
|
||||
.align 2
|
||||
.type TWO23.0,@object
|
||||
.size TWO23.0,2
|
||||
TWO23.0:
|
||||
.long 0x4b000000
|
||||
|
||||
.section .rodata.cst4,"aM",@progbits,4
|
||||
.align 2
|
||||
.LC0: /* 2**23 */
|
||||
@@ -38,6 +31,7 @@ TWO23.0:
|
||||
We set "round toward Zero" mode and trunc by adding +-2**23 then
|
||||
subtracting +-2**23. */
|
||||
|
||||
.section ".text"
|
||||
ENTRY (__truncf)
|
||||
mffs fp11 /* Save current FPU rounding mode. */
|
||||
#ifdef SHARED
|
||||
|
Reference in New Issue
Block a user