public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug dynamic-link/15402] Run AVX audit tests for 32-bit x86
       [not found] <bug-15402-131@http.sourceware.org/bugzilla/>
@ 2014-01-25  3:45 ` hjl.tools at gmail dot com
  2014-01-25 18:29 ` joseph at codesourcery dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2014-01-25  3:45 UTC (permalink / raw)
  To: glibc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hjl.tools at gmail dot com

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
i386 audit doesn't support SSE.  That is why I didn't add
AVX support to i386 when I extended x86-64 audit from SSE
to AVX.

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug dynamic-link/15402] Run AVX audit tests for 32-bit x86
       [not found] <bug-15402-131@http.sourceware.org/bugzilla/>
  2014-01-25  3:45 ` [Bug dynamic-link/15402] Run AVX audit tests for 32-bit x86 hjl.tools at gmail dot com
@ 2014-01-25 18:29 ` joseph at codesourcery dot com
  2014-01-25 18:43 ` hjl.tools at gmail dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: joseph at codesourcery dot com @ 2014-01-25 18:29 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #2 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
But what does "doesn't support SSE" mean?

If it means that the interface to audit functions doesn't provide 
information about SSE register contents, then indeed any parts of the 
tests that rely on the interface providing such information can't be run 
for i386.  But it should still be the case that audit functions for i386 
can be ordinary C functions making use of SSE and AVX, and so clobbering 
any registers that are call-clobbered, without this interfering with 
function arguments or return values that are passed in such registers 
(where the i386 ABI involves use of SSE registers for argument passing or 
return, this should still work when the function being called is in a 
shared library).  And so to the extent that the tests verify that such 
audit functions with incidental use of SSE or AVX work, they should be run 
for i386 - for example, I see nothing in tst-audit3 that should be 
inapplicable to i386.  (If in fact such functions don't work, that's a 
separate bug.)

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug dynamic-link/15402] Run AVX audit tests for 32-bit x86
       [not found] <bug-15402-131@http.sourceware.org/bugzilla/>
  2014-01-25  3:45 ` [Bug dynamic-link/15402] Run AVX audit tests for 32-bit x86 hjl.tools at gmail dot com
  2014-01-25 18:29 ` joseph at codesourcery dot com
@ 2014-01-25 18:43 ` hjl.tools at gmail dot com
  2014-02-06 18:22 ` [Bug dynamic-link/15402] [i386] " jsm28 at gcc dot gnu.org
  2014-06-13 18:16 ` fweimer at redhat dot com
  4 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2014-01-25 18:43 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to joseph@codesourcery.com from comment #2)
> But what does "doesn't support SSE" mean?
> 

There are

/* Registers for entry into PLT on IA-32.  */
typedef struct La_i86_regs
{
  uint32_t lr_edx;
  uint32_t lr_ecx;
  uint32_t lr_eax;
  uint32_t lr_ebp;
  uint32_t lr_esp;
} La_i86_regs;

/* Return values for calls from PLT on IA-32.  */
typedef struct La_i86_retval
{
  uint32_t lrv_eax;
  uint32_t lrv_edx;
  long double lrv_st0;
  long double lrv_st1;
} La_i86_retval;

They don't support SSE.  Support AVX audit, we need to add
SSE audit support first.

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug dynamic-link/15402] [i386] Run AVX audit tests for 32-bit x86
       [not found] <bug-15402-131@http.sourceware.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2014-01-25 18:43 ` hjl.tools at gmail dot com
@ 2014-02-06 18:22 ` jsm28 at gcc dot gnu.org
  2014-06-13 18:16 ` fweimer at redhat dot com
  4 siblings, 0 replies; 5+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2014-02-06 18:22 UTC (permalink / raw)
  To: glibc-bugs

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Run AVX audit tests for     |[i386] Run AVX audit tests
                   |32-bit x86                  |for 32-bit x86

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug dynamic-link/15402] [i386] Run AVX audit tests for 32-bit x86
       [not found] <bug-15402-131@http.sourceware.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2014-02-06 18:22 ` [Bug dynamic-link/15402] [i386] " jsm28 at gcc dot gnu.org
@ 2014-06-13 18:16 ` fweimer at redhat dot com
  4 siblings, 0 replies; 5+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13 18:16 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-06-13 18:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-15402-131@http.sourceware.org/bugzilla/>
2014-01-25  3:45 ` [Bug dynamic-link/15402] Run AVX audit tests for 32-bit x86 hjl.tools at gmail dot com
2014-01-25 18:29 ` joseph at codesourcery dot com
2014-01-25 18:43 ` hjl.tools at gmail dot com
2014-02-06 18:22 ` [Bug dynamic-link/15402] [i386] " jsm28 at gcc dot gnu.org
2014-06-13 18:16 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).