public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/31387] New: Need to check that glibc built with FMA and AVX2 doesn't have SSE instructions
@ 2024-02-15 22:03 hjl.tools at gmail dot com
  2024-02-15 23:07 ` [Bug build/31387] " hjl.tools at gmail dot com
  2024-02-16 16:12 ` hjl.tools at gmail dot com
  0 siblings, 2 replies; 3+ messages in thread
From: hjl.tools at gmail dot com @ 2024-02-15 22:03 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 31387
           Summary: Need to check that glibc built with FMA and AVX2
                    doesn't have SSE instructions
           Product: glibc
           Version: 2.40
            Status: NEW
          Severity: normal
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
                CC: carlos at redhat dot com, skpgkp2 at gmail dot com
  Target Milestone: ---
            Target: x86-64

When glibc is built with FMA and AVX2, there should be no SSE instructions.

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

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

* [Bug build/31387] Need to check that glibc built with FMA and AVX2 doesn't have SSE instructions
  2024-02-15 22:03 [Bug build/31387] New: Need to check that glibc built with FMA and AVX2 doesn't have SSE instructions hjl.tools at gmail dot com
@ 2024-02-15 23:07 ` hjl.tools at gmail dot com
  2024-02-16 16:12 ` hjl.tools at gmail dot com
  1 sibling, 0 replies; 3+ messages in thread
From: hjl.tools at gmail dot com @ 2024-02-15 23:07 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
Pass -msse-check=error to assembler to disallow SSE instructions when glibc
is built with FMA and AVX2.

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

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

* [Bug build/31387] Need to check that glibc built with FMA and AVX2 doesn't have SSE instructions
  2024-02-15 22:03 [Bug build/31387] New: Need to check that glibc built with FMA and AVX2 doesn't have SSE instructions hjl.tools at gmail dot com
  2024-02-15 23:07 ` [Bug build/31387] " hjl.tools at gmail dot com
@ 2024-02-16 16:12 ` hjl.tools at gmail dot com
  1 sibling, 0 replies; 3+ messages in thread
From: hjl.tools at gmail dot com @ 2024-02-16 16:12 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
-Wa,-msse-check=warning reports:

../sysdeps/x86_64/dl-trampoline.h:226: Warning: SSE instruction `movaps' is
used
../sysdeps/x86_64/dl-trampoline.h:227: Warning: SSE instruction `movaps' is
used
../sysdeps/x86_64/dl-trampoline.h:228: Warning: SSE instruction `movaps' is
used
../sysdeps/x86_64/dl-trampoline.h:229: Warning: SSE instruction `movaps' is
used
../sysdeps/x86_64/dl-trampoline.h:230: Warning: SSE instruction `movaps' is
used
../sysdeps/x86_64/dl-trampoline.h:231: Warning: SSE instruction `movaps' is
used
../sysdeps/x86_64/dl-trampoline.h:232: Warning: SSE instruction `movaps' is
used
../sysdeps/x86_64/dl-trampoline.h:233: Warning: SSE instruction `movaps' is
used
../sysdeps/x86_64/dl-trampoline.h:272: Warning: SSE instruction `movaps' is
used
../sysdeps/x86_64/dl-trampoline.h:273: Warning: SSE instruction `movaps' is
used
../sysdeps/x86_64/dl-trampoline.h:274: Warning: SSE instruction `movaps' is
used
../sysdeps/x86_64/dl-trampoline.h:275: Warning: SSE instruction `movaps' is
used
../sysdeps/x86_64/dl-trampoline.h:276: Warning: SSE instruction `movaps' is
used
../sysdeps/x86_64/dl-trampoline.h:277: Warning: SSE instruction `movaps' is
used
../sysdeps/x86_64/dl-trampoline.h:278: Warning: SSE instruction `movaps' is
used
../sysdeps/x86_64/dl-trampoline.h:279: Warning: SSE instruction `movaps' is
used
../sysdeps/x86_64/dl-trampoline.h:432: Warning: SSE instruction `movaps' is
used
../sysdeps/x86_64/dl-trampoline.h:433: Warning: SSE instruction `movaps' is
used
../sysdeps/x86_64/dl-trampoline.h:458: Warning: SSE instruction `movaps' is
used
../sysdeps/x86_64/dl-trampoline.h:459: Warning: SSE instruction `movaps' is
used
../sysdeps/x86_64/fpu/fraiseexcpt.c:36: Warning: SSE instruction `divss' is
used
../sysdeps/x86_64/fpu/fraiseexcpt.c:46: Warning: SSE instruction `divss' is
used
../sysdeps/x86_64/fpu/s_fmaxf.S:24: Warning: SSE instruction `ucomiss' is used
../sysdeps/x86_64/fpu/s_fmaxf.S:26: Warning: SSE instruction `maxss' is used
../sysdeps/x86_64/fpu/s_fmaxf.S:29: Warning: SSE instruction `ucomiss' is used
../sysdeps/x86_64/fpu/s_fmaxf.S:32: Warning: SSE instruction `movss' is used
../sysdeps/x86_64/fpu/s_fmaxf.S:35: Warning: SSE instruction `movss' is used
../sysdeps/x86_64/fpu/s_fmaxf.S:39: Warning: SSE instruction `ucomiss' is used
../sysdeps/x86_64/fpu/s_fmaxf.S:42: Warning: SSE instruction `movss' is used
../sysdeps/x86_64/fpu/s_fmaxf.S:48: Warning: SSE instruction `addss' is used
../sysdeps/x86_64/fpu/s_fmax.S:24: Warning: SSE instruction `ucomisd' is used
../sysdeps/x86_64/fpu/s_fmax.S:26: Warning: SSE instruction `maxsd' is used
../sysdeps/x86_64/fpu/s_fmax.S:29: Warning: SSE instruction `ucomisd' is used
../sysdeps/x86_64/fpu/s_fmax.S:32: Warning: SSE instruction `movsd' is used
../sysdeps/x86_64/fpu/s_fmax.S:35: Warning: SSE instruction `movsd' is used
../sysdeps/x86_64/fpu/s_fmax.S:39: Warning: SSE instruction `ucomisd' is used
../sysdeps/x86_64/fpu/s_fmax.S:42: Warning: SSE instruction `movsd' is used
../sysdeps/x86_64/fpu/s_fmax.S:48: Warning: SSE instruction `addsd' is used
../sysdeps/x86_64/fpu/s_fminf.S:24: Warning: SSE instruction `ucomiss' is used
../sysdeps/x86_64/fpu/s_fminf.S:26: Warning: SSE instruction `minss' is used
../sysdeps/x86_64/fpu/s_fminf.S:29: Warning: SSE instruction `ucomiss' is used
../sysdeps/x86_64/fpu/s_fminf.S:32: Warning: SSE instruction `movss' is used
../sysdeps/x86_64/fpu/s_fminf.S:35: Warning: SSE instruction `movss' is used
../sysdeps/x86_64/fpu/s_fminf.S:39: Warning: SSE instruction `ucomiss' is used
../sysdeps/x86_64/fpu/s_fminf.S:42: Warning: SSE instruction `movss' is used
../sysdeps/x86_64/fpu/s_fminf.S:48: Warning: SSE instruction `addss' is used
../sysdeps/x86_64/fpu/s_fmin.S:24: Warning: SSE instruction `ucomisd' is used
../sysdeps/x86_64/fpu/s_fmin.S:26: Warning: SSE instruction `minsd' is used
../sysdeps/x86_64/fpu/s_fmin.S:29: Warning: SSE instruction `ucomisd' is used
../sysdeps/x86_64/fpu/s_fmin.S:32: Warning: SSE instruction `movsd' is used
../sysdeps/x86_64/fpu/s_fmin.S:35: Warning: SSE instruction `movsd' is used
../sysdeps/x86_64/fpu/s_fmin.S:39: Warning: SSE instruction `ucomisd' is used
../sysdeps/x86_64/fpu/s_fmin.S:42: Warning: SSE instruction `movsd' is used
../sysdeps/x86_64/fpu/s_fmin.S:48: Warning: SSE instruction `addsd' is used
../sysdeps/x86_64/fpu/s_llrintf.S:25: Warning: SSE instruction `cvtss2si' is
used
../sysdeps/x86_64/fpu/s_llrint.S:25: Warning: SSE instruction `cvtsd2si' is
used
../sysdeps/x86_64/fpu/s_signbitf.S:22: Warning: SSE instruction `pmovmskb' is
used
../sysdeps/x86_64/fpu/s_signbit.S:22: Warning: SSE instruction `pmovmskb' is
used

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

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

end of thread, other threads:[~2024-02-16 16:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-15 22:03 [Bug build/31387] New: Need to check that glibc built with FMA and AVX2 doesn't have SSE instructions hjl.tools at gmail dot com
2024-02-15 23:07 ` [Bug build/31387] " hjl.tools at gmail dot com
2024-02-16 16:12 ` hjl.tools at gmail 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).