Bug 405734

Summary: PPC64, vrlwnm, vrlwmi, vrldrm, vrldmi do not work properly when me < mb
Product: [Developer tools] valgrind Reporter: Carl Love <cel>
Component: vexAssignee: Julian Seward <jseward>
Status: CLOSED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 3.15 SVN   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Fix for vrlwnm, vrlwmi, vrldrm, vrldmi instructions

Description Carl Love 2019-03-21 21:15:53 UTC
The result is all zeros if the value of me < mb.  The mask should wrap around from MSB back to LSB.
Comment 1 Carl Love 2019-03-22 17:54:17 UTC
Created attachment 118977 [details]
Fix for vrlwnm, vrlwmi, vrldrm, vrldmi instructions

The attached patch was committed to fix the issue.

commit ed80ebfa1704682de3a9a5ddfe3ce4ffef1878da
Author: Carl Love <carll@us.ibm.com>
Date:   Fri Mar 22 12:50:52 2019 -0500
Comment 2 Carl Love 2019-03-25 14:47:56 UTC
No regressions found by automated regression testing.  Closing.