IBM Support

IV77660: __FMADD BUILT-IN NO LONGER ACCEPTED BY -QARCH=PWR4

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • The floating multiply-add built-in __fmadd is no longer accepted
    with the XL C/C++ compiler at -qarch=pwr4.
    
    
       === TEST CASE ===
    
    #include <builtins.h>
    
    double test()
    {
       return __fmadd(0, 0, 0);
    }
    
    
    $ xlC -c -qarch=pwr4 test.C
    "test.C", line 5.18: 1540-2878 (S) The built-in function
    "__fmadd" is not valid for this architecture.
    $
    

Local fix

  • Use higher -qarch level
    

Problem summary

  • PROBLEM DESCRIPTION:
    For POWER4 architecture level the compiler will not recognize
    floating point built-in functions, resulting in a 1540-2878
    error.
    
    USERS AFFECTED:
    Users of floating point built-in functions like fmadd and fmsub
    using -qarch=pwr4 arch level.
    
    WORKAROUND/CIRCUMVENTION:
    Avoid calling affected built-in functions or increase arch
    level.
    
    CONCLUSION:
    The following built-in functions were affected and will be
    corrected: fmadd, fmadds, fmsub, fmsubs.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IV77660

  • Reported component name

    XL C/C++ FOR AI

  • Reported component ID

    5725C7200

  • Reported release

    D12

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-10-05

  • Closed date

    2015-10-05

  • Last modified date

    2015-10-05

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

  • RD12 PSN

       UP

[{"Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGH3R","label":"XL C\/C++ for AIX"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"D12"}]

Document Information

Modified date:
01 October 2021