public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/104169] New: GDB unable to set $xmm2-7 register but able to set $xmm0-1 on non-AVX machines
@ 2022-01-21 20:01 contact at lsferreira dot net
  2022-01-21 20:12 ` [Bug debug/104169] " pinskia at gcc dot gnu.org
  2022-01-21 20:25 ` contact at lsferreira dot net
  0 siblings, 2 replies; 3+ messages in thread
From: contact at lsferreira dot net @ 2022-01-21 20:01 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104169

            Bug ID: 104169
           Summary: GDB unable to set $xmm2-7 register but able to set
                    $xmm0-1 on non-AVX machines
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: contact at lsferreira dot net
  Target Milestone: ---

When running on my "Intel(R) Xeon(R) CPU E7-4860", I can't set xmm2 to xmm7
registers on GDB. On a more recent CPU "Intel(R) Core(TM) m3-7Y30" this seems
to set just fine. I also tested this on a libvirt clean environment with an
Intel Core 2 Duo and Intel Ivy Bridge family CPU (emulated settings), and the
one without AVX did fail to set.

To reproduce the issue, you can run any process on a non-AVX machine:

$ gdb /usr/bin/bash
> r -c 'kill -SIGILL $$'
> p $xmm7.uint128
> set $xmm7.uint128 = 35322350018591
> p $xmm7.uint128

If you try with $xmm0 or $xmm1 it works just fine.

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

* [Bug debug/104169] GDB unable to set $xmm2-7 register but able to set $xmm0-1 on non-AVX machines
  2022-01-21 20:01 [Bug debug/104169] New: GDB unable to set $xmm2-7 register but able to set $xmm0-1 on non-AVX machines contact at lsferreira dot net
@ 2022-01-21 20:12 ` pinskia at gcc dot gnu.org
  2022-01-21 20:25 ` contact at lsferreira dot net
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-01-21 20:12 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104169

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |MOVED

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Please file this to the gdb bugzilla which is located at
https://sourceware.org/bugzilla/ .

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

* [Bug debug/104169] GDB unable to set $xmm2-7 register but able to set $xmm0-1 on non-AVX machines
  2022-01-21 20:01 [Bug debug/104169] New: GDB unable to set $xmm2-7 register but able to set $xmm0-1 on non-AVX machines contact at lsferreira dot net
  2022-01-21 20:12 ` [Bug debug/104169] " pinskia at gcc dot gnu.org
@ 2022-01-21 20:25 ` contact at lsferreira dot net
  1 sibling, 0 replies; 3+ messages in thread
From: contact at lsferreira dot net @ 2022-01-21 20:25 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104169

--- Comment #2 from Luís Ferreira <contact at lsferreira dot net> ---
Thanks for the information. Just cross-referencing here:
https://sourceware.org/bugzilla/show_bug.cgi?id=28803 .

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

end of thread, other threads:[~2022-01-21 20:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-21 20:01 [Bug debug/104169] New: GDB unable to set $xmm2-7 register but able to set $xmm0-1 on non-AVX machines contact at lsferreira dot net
2022-01-21 20:12 ` [Bug debug/104169] " pinskia at gcc dot gnu.org
2022-01-21 20:25 ` contact at lsferreira dot net

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).