This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ports/15632] New: MIPS sqrt implementations not being used


http://sourceware.org/bugzilla/show_bug.cgi?id=15632

            Bug ID: 15632
           Summary: MIPS sqrt implementations not being used
           Product: glibc
           Version: 2.17
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ports
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
                CC: carlos at redhat dot com, roland at gnu dot org
              Host: mips*-linux*

The sysdeps directory ordering for mips*-linux* is such that the MIPS sqrt
implementations in ports/sysdeps/mips/fpu/ don't get used because the flt-32
and dbl-64 directories come first.  For n32 I see:

ports/sysdeps/unix/sysv/linux/mips/mips64/n32/nptl
ports/sysdeps/unix/sysv/linux/mips/mips64/n32
ports/sysdeps/unix/sysv/linux/mips/mips64/nptl
ports/sysdeps/unix/sysv/linux/mips/mips64
ports/sysdeps/unix/sysv/linux/mips/nptl ports/sysdeps/unix/sysv/linux/mips
nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread
ports/sysdeps/unix/sysv/linux sysdeps/unix/sysv/linux sysdeps/gnu
sysdeps/unix/inet nptl/sysdeps/unix/sysv ports/sysdeps/unix/sysv
sysdeps/unix/sysv ports/sysdeps/unix/mips/mips64/n32
ports/sysdeps/unix/mips/mips64 ports/sysdeps/unix/mips nptl/sysdeps/unix
ports/sysdeps/unix sysdeps/unix sysdeps/posix ports/sysdeps/mips/mips64/n32
ports/sysdeps/mips/ieee754 sysdeps/ieee754/ldbl-128
ports/sysdeps/mips/mips64/soft-fp ports/sysdeps/mips/mips64
sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 ports/sysdeps/mips
sysdeps/wordsize-32 ports/sysdeps/mips/fpu ports/sysdeps/mips/nptl
sysdeps/ieee754 sysdeps/generic

For o32 I see:

ports/sysdeps/unix/sysv/linux/mips/mips32/nptl
ports/sysdeps/unix/sysv/linux/mips/mips32
ports/sysdeps/unix/sysv/linux/mips/nptl ports/sysdeps/unix/sysv/linux/mips
nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread
ports/sysdeps/unix/sysv/linux sysdeps/unix/sysv/linux sysdeps/gnu
sysdeps/unix/inet nptl/sysdeps/unix/sysv ports/sysdeps/unix/sysv
sysdeps/unix/sysv ports/sysdeps/unix/mips/mips32 ports/sysdeps/unix/mips
nptl/sysdeps/unix ports/sysdeps/unix sysdeps/unix sysdeps/posix
ports/sysdeps/mips/mips32/fpu ports/sysdeps/mips/mips32
ports/sysdeps/mips/ieee754 ports/sysdeps/mips sysdeps/ieee754/flt-32
sysdeps/ieee754/dbl-64 sysdeps/wordsize-32 ports/sysdeps/mips/fpu
ports/sysdeps/mips/nptl sysdeps/ieee754 sysdeps/generic

For n64 I see:

ports/sysdeps/unix/sysv/linux/mips/mips64/n64/nptl
ports/sysdeps/unix/sysv/linux/mips/mips64/n64
ports/sysdeps/unix/sysv/linux/mips/mips64/nptl
ports/sysdeps/unix/sysv/linux/mips/mips64
ports/sysdeps/unix/sysv/linux/mips/nptl ports/sysdeps/unix/sysv/linux/mips
nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread
ports/sysdeps/unix/sysv/linux sysdeps/unix/sysv/linux sysdeps/gnu
sysdeps/unix/inet nptl/sysdeps/unix/sysv ports/sysdeps/unix/sysv
sysdeps/unix/sysv ports/sysdeps/unix/mips/mips64/n64
ports/sysdeps/unix/mips/mips64 ports/sysdeps/unix/mips nptl/sysdeps/unix
ports/sysdeps/unix sysdeps/unix sysdeps/posix ports/sysdeps/mips/mips64/n64
ports/sysdeps/mips/ieee754 sysdeps/ieee754/ldbl-128
ports/sysdeps/mips/mips64/soft-fp ports/sysdeps/mips/mips64
sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 ports/sysdeps/mips
sysdeps/wordsize-64 ports/sysdeps/mips/fpu ports/sysdeps/mips/nptl
sysdeps/ieee754 sysdeps/generic

The simple fix probably is wrapping these files in more specific directories
such as mips/mips32/fpu that come early enough in the sysdeps ordering; I don't
know if there's a better approach.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]