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 math/20142] New: Add SSE4.1 trunc, truncf


https://sourceware.org/bugzilla/show_bug.cgi?id=20142

            Bug ID: 20142
           Summary: Add SSE4.1 trunc, truncf
           Product: glibc
           Version: 2.23
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-*-*

sysdeps/x86_64/fpu/multiarch has SSE4.1 versions of ceil, floor, rint and
nearbyint functions, using the roundss and roundsd instructions.  Subject of
course to the usual benchmarking for any performance patch (including adding
benchmarks for these functions to the benchtests included with glibc), there
should be such versions of trunc and truncf, using immediate operand 11 to
those instructions to get the desired rounding direction.

-- 
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]