Bug 405734 - PPC64, vrlwnm, vrlwmi, vrldrm, vrldmi do not work properly when me < mb
Summary: PPC64, vrlwnm, vrlwmi, vrldrm, vrldmi do not work properly when me < mb
Status: CLOSED FIXED
Alias: None
Product: valgrind
Classification: Developer tools
Component: vex (other bugs)
Version First Reported In: 3.15 SVN
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-21 21:15 UTC by Carl Love
Modified: 2019-03-25 14:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Fix for vrlwnm, vrlwmi, vrldrm, vrldmi instructions (8.70 KB, patch)
2019-03-22 17:54 UTC, Carl Love
Details

Note You need to log in before you can comment on or make changes to this bug.
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.