public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Viewing xmm registers on x86-64
@ 2005-05-09 16:43 Tres Melton
  0 siblings, 0 replies; only message in thread
From: Tres Melton @ 2005-05-09 16:43 UTC (permalink / raw)
  To: gdb

My apologies if this matter is covered in the manuals or somewhere else
but I have spent hours googling for the solution.  I have found many
compliants but no solutions.

I am trying to port an application that uses MMX/SSE to the AMD64
platform and I cannot look at the xmm registers in any way that makes
sense.  gdb insists on displaying the values as floats.  I know that the
registers that AMD64 uses for x87 and MMX/SSE instructions are the same
but nothing in my program uses floating point math.  When looking I get:

(gdb) p /x $xmm4
$9 = {f = {0x0, 0x0, 0x0, 0x0}}
(gdb) p  $xmm4
$10 = {f = {4.48415509e-44, 0, 0, 0}}

Is there some way to get the hexi-decimal values of these registers?

Thanks much,
-- 
Tres

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-05-09 16:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-09 16:43 Viewing xmm registers on x86-64 Tres Melton

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