Bug 1610048

Summary: VSX f64->i32 loses bits in f32 intermediate
Product: DevTools Reporter: Josh Stone <jistone>
Component: llvmAssignee: Tom Stellard <tstellar>
Status: CLOSED ERRATA QA Contact: Miloš Prchlík <mprchlik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: llvm-toolset-7CC: jistone, law, mcermak, tborcin
Target Milestone: rc   
Target Release: 2018.4   
Hardware: ppc64le   
OS: Unspecified   
Whiteboard:
Fixed In Version: llvm-toolset-6.0-llvm-6.0.1-3.el7 Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-13 15:19:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1562196    

Description Josh Stone 2018-07-30 23:08:52 UTC
In Rust bug 1562196, we found that LLVM codegen is using an f32 intermediate value for fptosi f64 to i32 when PowerPC VSX is enabled.

Filed upstream: https://bugs.llvm.org/show_bug.cgi?id=38342

Comment 1 Tom Stellard 2018-08-07 04:44:06 UTC
Fixed in llvm-toolset-6.0-llvm-6.0.1-3.el7.

Comment 3 Miloš Prchlík 2018-11-08 14:14:44 UTC
Verified with llvm-toolset-6.0-llvm-6.0.1-5.el7.

Comment 5 errata-xmlrpc 2018-11-13 15:19:35 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:3583