Bug 463606

Summary: [LTC 6.0 FEAT] 201177:Decimal floating point support in gcc backend (SW support)
Product: Red Hat Enterprise Linux 6 Reporter: IBM Bug Proxy <bugproxy>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED CURRENTRELEASE QA Contact: qe-baseos-tools-bugs
Severity: high Docs Contact:
Priority: high    
Version: 6.0CC: cward, ejratl, jjarvis, mnowak, notting, snagar, syeghiay
Target Milestone: alphaKeywords: FutureFeature, OtherQA
Target Release: 6.0   
Hardware: s390x   
OS: All   
Whiteboard:
Fixed In Version: gcc-4.4.1-22.el6 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-15 13:58:03 UTC Type: ---
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: 356741, 554559    

Description IBM Bug Proxy 2008-09-24 03:10:56 UTC
=Comment: #0=================================================
Emily J. Ratliff <emilyr.com> - 2008-09-16 18:05 EDT
1. Feature Overview:
Feature Id:	[201177]
a. Name of Feature:	Decimal floating point support in gcc backend (SW support)
b. Feature Description
This item is to enable the s390 GCC back to allow DFP type values to reside in integer and floating
point registers and to provide the respective patterns to move such values. Together with the
decnumber software layer this already provides full DFP support without using any new hardware
instructions.

Additional Comments:	This feature is satisfied with gcc 4.2 included in distro

2. Feature Details:
Sponsor:	zSeries
Architectures:
s390x

Arch Specificity: Purely Arch Specific Code
Affects Toolchain: Yes
Delivery Mechanism: Backport
Category:	Toolchain
Request Type:	Toolchain - Enhancement from IBM
d. Upstream Acceptance:	Accepted
Sponsor Priority	1
f. Severity: High
IBM Confidential:	no
Code Contribution:	IBM code
g. Component Version Target:	gcc 4.2 or later

3. Business Case
Make use of new hardware instructions and thus Improve Performance of Applications Applications
running operations on DFP type values.

4. Primary contact at Red Hat: 
John Jarvis
jjarvis

5. Primary contacts at Partner:
Project Management Contact:
Hans-Georg Markgraf, mgrf.com, Boeblingen 49-7031-16-3978

Technical contact(s):
Gonzalo Muelas Serrano, gmuelas.com

IBM Manager:
Thomas Schwarz, t.schwarz.com

Comment 1 Bill Nottingham 2008-10-02 20:22:31 UTC
RHEL 6 will include at least gcc-4.3, so this should not be a problem.

The feature requested has already been accepted into the upstream code base
planned for the next major release of Red Hat Enterprise Linux.

When the next milestone release of Red Hat Enterprise Linux 6 is available,
please verify that the feature requested is present and functioning as
desired.

Comment 2 releng-rhel@redhat.com 2009-10-29 13:43:59 UTC
Fixed in 'gcc-4.4.1-22.el6', included in compose 'RHEL6.0-20091028.0'.
Moving to ON_QA.

Comment 4 John Jarvis 2010-04-12 17:33:50 UTC
IBM is signed up to test and provide feedback

Comment 6 IBM Bug Proxy 2010-07-07 09:21:55 UTC
------- Comment From mgrf.com 2010-07-07 05:14 EDT-------
The verification of this feature is impacted by
LTC 65833 ??? RIT1108473   -Rebase Libdfp to version 1.0.3 revision 10907

Comment 7 IBM Bug Proxy 2010-08-24 15:13:18 UTC
------- Comment From mgrf.com 2010-08-24 11:06 EDT-------
Decimal Floating Point support will be technical preview until additional fixes are provided via z.stream

=> This need to be documented in R6 release notes

Snap11 includes the rebase build on August 6th
66187 ??-?? RIT1200773-'Rebase Libdfp'

Additional fixes required as per 2010-08-24
66195 ??-?? RIT1234083- DFP: strtod32/64/128 loses first decimal digit when converting numbers between 0 and 1
66196 ??-?? RIT1264143- DFP: strtod32 maps 0E+100 to inf instead to zero
66559 ??-?? RIT1281593- DFP: odd behavior of printf with DFP numbers

This feature is tested 90%
-> tests to be completed based on z.stream fixes

Set feature to verified for R6 with the limitation raised above

Comment 8 releng-rhel@redhat.com 2010-11-15 13:58:03 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.