Bug 395709 - PPC64 is missing support for the xvnegsp instruction
Summary: PPC64 is missing support for the xvnegsp instruction
Status: CLOSED FIXED
Alias: None
Product: valgrind
Classification: Developer tools
Component: vex (show other bugs)
Version: 3.14 SVN
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-21 22:15 UTC by Carl Love
Modified: 2019-03-25 14:56 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Add support for the xvnegsp instruction (5.12 KB, patch)
2018-06-21 22:22 UTC, Carl Love
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carl Love 2018-06-21 22:15:19 UTC
The ISA 2.6 instruction xvnegsp is not supported.
Comment 1 Carl Love 2018-06-21 22:22:26 UTC
Created attachment 113492 [details]
Add support for the xvnegsp instruction

Create attachment with the patch to add support.
Comment 2 Carl Love 2018-06-21 22:31:20 UTC
Fix in attached patch committed.

commit 9c5d762904862db0d90fb0142ac1b12d5647f607
Author: Carl Love <carll@us.ibm.com>
Date:   Thu Jun 21 17:27:40 2018 -0500

    PPC64, add support for the xvnegsp instruction. Add test case for the instruction.
    
    https://bugs.kde.org/show_bug.cgi?id=395709
    
    Signed-off-by: Carl Love <carll@us.ibm.com>
Comment 3 Carl Love 2018-06-26 17:27:27 UTC
Missed updating the ppc32 expected results.

commit 3df8d81f000a47c02a289ac9f4ba64fc4df9077e
Author: Carl Love <carll@us.ibm.com>
Date:   Tue Jun 26 09:51:11 2018 -0500

    PPC32, update expected results for jm_vec_isa_2_07.c.
    
    Add missing mtvsrwa, mtfprd, mtvrwa, mtvrd results.
    
    Signed-off-by: Carl Love <carll@us.ibm.com>
Comment 4 Carl Love 2018-06-26 17:29:25 UTC
Argh.  Comment 3 was the wrong commit.  Should have been 

commit 1f69ed86e994ee152a0e6e3ee7031d0105f02a7e
Author: Carl Love <carll@us.ibm.com>
Date:   Mon Jun 25 16:24:14 2018 -0500

    Fix ppc32 results for test_isa_2_06_part3.c.
    
    The ppc32 results were not updated when the xvnegsp instruction support
    was added.  Add the xvnegsp 32-bit results to
    ppc/test_isa_2_06_part3.stdout.exp.
    
    Signed-off-by: Carl Love <carll@us.ibm.com>