[valgrind] [Bug 339596] AMD64 xop instructions unsupported. vex amd64->IR: unhandled instruction bytes: 0x8F 0xE8 0x78 0xCD 0xC1 0x4 0xC5 0xF9

2022-08-22 Thread Leandro Nini
https://bugs.kde.org/show_bug.cgi?id=339596

Leandro Nini  changed:

   What|Removed |Added

 CC||drfiem...@email.it

--- Comment #28 from Leandro Nini  ---
Been hit by another unhandled instruction using valgrind-3.19.0 with the bextr
patch from bug #381819 applied:

vex amd64->IR: unhandled instruction bytes: 0x8F 0xC8 0x70 0xA3 0xCD 0x30 0xC4
0x41 0x79 0xD4
vex amd64->IR:   REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=1
vex amd64->IR:   VEX=0 VEX.L=0 VEX.n=0x1 ESC=0F
vex amd64->IR:   PFX.66=0 PFX.F2=0 PFX.F3=0

-- 
You are receiving this mail because:
You are watching all bug changes.

[valgrind] [Bug 339596] AMD64 xop instructions unsupported. vex amd64->IR: unhandled instruction bytes: 0x8F 0xE8 0x78 0xCD 0xC1 0x4 0xC5 0xF9

2021-12-07 Thread Tom Hughes
https://bugs.kde.org/show_bug.cgi?id=339596

Tom Hughes  changed:

   What|Removed |Added

 CC||k...@tastytea.de

--- Comment #27 from Tom Hughes  ---
*** Bug 446669 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[valgrind] [Bug 339596] AMD64 xop instructions unsupported. vex amd64->IR: unhandled instruction bytes: 0x8F 0xE8 0x78 0xCD 0xC1 0x4 0xC5 0xF9

2021-02-28 Thread Mark Wielaard
https://bugs.kde.org/show_bug.cgi?id=339596

Mark Wielaard  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED

--- Comment #26 from Mark Wielaard  ---
(In reply to p4plus2 from comment #25)
> Truth be told I had forgotten about this patch and bug, sorry for that, I
> should have checked back long ago.

We haven't been very good at following up ourselves and had several somewhat
related bug for this. The main issue is that the XOP encodings used for these
issues seem AMD specific and are not supported on all AMD processors to begin
with. So it is somewhat hard to test these things unless you happen to have the
right hardware.

> That said, my understanding is FMA4
> support is now committed and XOP is remaining?

FMA4 (128 bit only as you note below) has been added based on your patch from
this bug. Which was split into a FMA4 128bit patch/bug #369000 and a 256bit
FMA4 bug #369053.

Generic XOP instruction parsing and support for certain subsets like BMI
(bextr) and vpcmov is spread over some other bugs (this one, bug #323431 and
bug #381819)

>  I can work on fixing up some
> of the remaining bits and making sure it patches against the current
> valgrind assuming nobody else had plans to do so.  It also seems 256 bit
> support was not yet added to FMA4, I'll take some time and fix that up as
> well (I'll toss progress on that into #369053 once ready).

Thanks. That would be awesome.

-- 
You are receiving this mail because:
You are watching all bug changes.

[valgrind] [Bug 339596] AMD64 xop instructions unsupported. vex amd64->IR: unhandled instruction bytes: 0x8F 0xE8 0x78 0xCD 0xC1 0x4 0xC5 0xF9

2021-02-25 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=339596

--- Comment #25 from p4pl...@gmail.com ---
Truth be told I had forgotten about this patch and bug, sorry for that, I
should have checked back long ago. That said, my understanding is FMA4 support
is now committed and XOP is remaining?  I can work on fixing up some of the
remaining bits and making sure it patches against the current valgrind assuming
nobody else had plans to do so.  It also seems 256 bit support was not yet
added to FMA4, I'll take some time and fix that up as well (I'll toss progress
on that into #369053 once ready).

-- 
You are receiving this mail because:
You are watching all bug changes.

[valgrind] [Bug 339596] AMD64 xop instructions unsupported. vex amd64->IR: unhandled instruction bytes: 0x8F 0xE8 0x78 0xCD 0xC1 0x4 0xC5 0xF9

2021-02-20 Thread Mark Wielaard
https://bugs.kde.org/show_bug.cgi?id=339596

Mark Wielaard  changed:

   What|Removed |Added

 Depends on||323431, 381819

--- Comment #24 from Mark Wielaard  ---
Note there is also a bug (with patch) for XOP vpcmov here:
https://bugs.kde.org/show_bug.cgi?id=323431

And a TBM bextr (which also uses the XOP prefix) bug (with patch) here:
https://bugs.kde.org/show_bug.cgi?id=381819


Referenced Bugs:

https://bugs.kde.org/show_bug.cgi?id=323431
[Bug 323431] Unhandled AMD XOP instruction vpcmov VEX: unhandled instruction
bytevex amd64->IR:  0x8F 0xE8 0x78 0xA2 0xC1 0x40 0xC5 0xFB
https://bugs.kde.org/show_bug.cgi?id=381819
[Bug 381819] amd64: unhandled instruction bextr (0x8F 0xEA 0x78 0x10 0xD0 0x8
0x4) from BMI1
-- 
You are receiving this mail because:
You are watching all bug changes.

[valgrind] [Bug 339596] AMD64 xop instructions unsupported. vex amd64->IR: unhandled instruction bytes: 0x8F 0xE8 0x78 0xCD 0xC1 0x4 0xC5 0xF9

2021-02-20 Thread Mark Wielaard
https://bugs.kde.org/show_bug.cgi?id=339596

Mark Wielaard  changed:

   What|Removed |Added

 CC||joseph.jenn...@gmail.com

--- Comment #23 from Mark Wielaard  ---
*** Bug 424034 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[valgrind] [Bug 339596] AMD64 xop instructions unsupported. vex amd64->IR: unhandled instruction bytes: 0x8F 0xE8 0x78 0xCD 0xC1 0x4 0xC5 0xF9

2016-09-19 Thread Mark Wielaard via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=339596
Bug 339596 depends on bug 369000, which changed state.

Bug 369000 Summary: AMD64 fma4 instructions unsupported. vex amd64->IR: 
unhandled instruction bytes: 0x8F 0xE8 0x78 0xCD 0xC1 0x4 0xC5 0xF9
https://bugs.kde.org/show_bug.cgi?id=369000

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are watching all bug changes.


[valgrind] [Bug 339596] AMD64 xop instructions unsupported. vex amd64->IR: unhandled instruction bytes: 0x8F 0xE8 0x78 0xCD 0xC1 0x4 0xC5 0xF9

2016-09-19 Thread Mark Wielaard via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=339596

Mark Wielaard  changed:

   What|Removed |Added

 Depends on||369053

-- 
You are receiving this mail because:
You are watching all bug changes.


[valgrind] [Bug 339596] AMD64 xop instructions unsupported. vex amd64->IR: unhandled instruction bytes: 0x8F 0xE8 0x78 0xCD 0xC1 0x4 0xC5 0xF9

2016-09-19 Thread Mark Wielaard via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=339596

Mark Wielaard  changed:

   What|Removed |Added

 Blocks|369000  |
 Depends on||369000

-- 
You are receiving this mail because:
You are watching all bug changes.


[valgrind] [Bug 339596] AMD64 xop instructions unsupported. vex amd64->IR: unhandled instruction bytes: 0x8F 0xE8 0x78 0xCD 0xC1 0x4 0xC5 0xF9

2016-09-18 Thread Mark Wielaard via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=339596

Mark Wielaard  changed:

   What|Removed |Added

Summary|AMD64 fma4 and xop  |AMD64 xop instructions
   |instructions unsupported.   |unsupported. vex amd64->IR:
   |vex amd64->IR: unhandled|unhandled instruction
   |instruction bytes: 0x8F |bytes: 0x8F 0xE8 0x78 0xCD
   |0xE8 0x78 0xCD 0xC1 0x4 |0xC1 0x4 0xC5 0xF9
   |0xC5 0xF9   |

--- Comment #22 from Mark Wielaard  ---
I split this bug into a xop (this) one and fma4 (bug #369000) one.
I had some time to look at the fma4 instructions, but not yet at the xop one.
So I split the patch in two.

-- 
You are receiving this mail because:
You are watching all bug changes.