Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Aug 2015 13:19:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 202766] devel/valgrind: unhandled sysarch cmd 132 (AMD64_GET_XFPUSTATE)
Message-ID:  <bug-202766-13-eRbc6nFM7P@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-202766-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-202766-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202766

Julien Nadeau <vedge@hypertriton.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #160513|0                           |1
        is obsolete|                            |
                 CC|                            |vedge@hypertriton.com

--- Comment #3 from Julien Nadeau <vedge@hypertriton.com> ---
Created attachment 160559
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=160559&action=edit
Proposed fix

Proposed patch implements AMD64_GET_XFPUSTATE in valgrind. Compared to a native
sysarch() call, emulation is not perfect. More specifically, the XMM registers,
past the first 160 bytes, are not returned.

However, this appears to be sufficient for libthr's purposes (getcontextx()
only requests the first 129 bytes of the state).

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202766-13-eRbc6nFM7P>