Re: Illegal instruction error in some versions of valgrind
Steve Edmonds <[email protected]> Wed, 25 Feb 2026 08:53:51 +1300
| Newsgroups | gmane.comp.debugging.valgrind |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--===============1874727134733634350==
Content-Type: multipart/alternative;
boundary="------------ggGPDm75WBBKOGrAHRH2tBQS"
Content-Language: en-GB
This is a multi-part message in MIME format.
--------------ggGPDm75WBBKOGrAHRH2tBQS
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Thanks.
On 25/02/26 1:43 am, Paul Floyd via Valgrind-users wrote:
>
> Hi
>
> On 24/02/2026 04:22, Steve Edmonds wrote:
>>
>> vex x86->IR: unhandled instruction bytes: 0x66 0xF 0x38 0x39
>>
> That ought to work
>
> case 0x39:
> case 0x3D:
> /* 66 0F 38 39 /r = PMINSD xmm1, xmm2/m128
> Minimum of Packed Signed Double Word Integers (XMM)
> 66 0F 38 3D /r = PMAXSD xmm1, xmm2/m128
> Maximum of Packed Signed Double Word Integers (XMM)
> */
> if (have66noF2noF3(pfx) && sz == 2) {
> /* FIXME: this needs an alignment check */
> Bool isMAX = opc == 0x3D;
> delta = dis_SSEint_E_to_G(
> vbi, pfx, delta,
> isMAX ? "pmaxsd" : "pminsd",
> isMAX ? Iop_Max32Sx4 : Iop_Min32Sx4,
> False
> );
> goto decode_success;
> }
> break;
>
> It was also fairly recently added to x86 by Alexandra Hajkova. You
> will need to build Valgrind from source or wait for version 3.27 for that.
>
> Would it be possible for me to build 'quasar'? Is it this
> https://quasar.dev/start/quasar-cli/ ?
>
This is the quasar (https://quasaraccounting.com/) and I have an old
non-deb version with decades of data.
I might look at building Valgrind and see what happens.
Steve
--------------ggGPDm75WBBKOGrAHRH2tBQS
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Thanks.<br>
<br>
<div class="moz-cite-prefix">On 25/02/26 1:43 am, Paul Floyd via
Valgrind-users wrote:<br>
</div>
<blockquote type="cite"
cite="mid:[email protected]">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>Hi</p>
<div class="moz-cite-prefix">On 24/02/2026 04:22, Steve Edmonds
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:[email protected]"><span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"> </span><br>
<span style="color:#000000;background-color:#ffffff;">vex
x86->IR: unhandled instruction bytes: 0x66 0xF 0x38 0x39</span><span
style="color:#000000;background-color:#ffffff;"></span><br>
</span><br>
</blockquote>
<p>That ought to work</p>
<p> case 0x39:<br>
case 0x3D:<br>
/* 66 0F 38 39 /r = PMINSD xmm1, xmm2/m128<br>
Minimum of Packed Signed Double Word Integers (XMM)<br>
66 0F 38 3D /r = PMAXSD xmm1, xmm2/m128<br>
Maximum of Packed Signed Double Word Integers (XMM) <br>
*/<br>
if (have66noF2noF3(pfx) && sz == 2) {<br>
/* FIXME: this needs an alignment check */<br>
Bool isMAX = opc == 0x3D;<br>
delta = dis_SSEint_E_to_G(<br>
vbi, pfx, delta, <br>
isMAX ? "pmaxsd" : "pminsd",<br>
isMAX ? Iop_Max32Sx4 : Iop_Min32Sx4,<br>
False<br>
);<br>
goto decode_success;<br>
}<br>
break;<br>
</p>
<p>It was also fairly recently added to x86 by Alexandra Hajkova.
You will need to build Valgrind from source or wait for version
3.27 for that.<br>
<br>
Would it be possible for me to build 'quasar'? Is it this <a
class="moz-txt-link-freetext"
href="https://quasar.dev/start/quasar-cli/"
moz-do-not-send="true">https://quasar.dev/start/quasar-cli/</a>
?</p>
</blockquote>
This is the quasar (<a class="moz-txt-link-freetext" href="https://quasaraccounting.com/">https://quasaraccounting.com/</a>) and I have an old
non-deb version with decades of data.<br>
I might look at building Valgrind and see what happens.<br>
Steve<br>
<br>
</body>
</html>
--------------ggGPDm75WBBKOGrAHRH2tBQS--
--===============1874727134733634350==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--===============1874727134733634350==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users
--===============1874727134733634350==--