IBM Support

LI77935: LONG LONG CONSTANT WITH ADDI/ADDIS+RLDIC

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Code generated to build certain 64-bit long long constants is
    not optimal and does not always need to load from the TOC.
    
    
        ===== TEST CASE =====
    
    extern "C" unsigned long long c0x0000ffffffff0000()
    {
      return 0x0000fffffff0000ULL;
    }
    
    
    Code Generated at -O2:
    
     | 000000                   PDEF   c0x0000ffffffff0000
    3|                          PROC
    5| 000000 ld   E8620008  1  L8       gr3=.+CONSTANT_AREA(gr2,0)
    5| 000004 ld   E8630000  1  L8       gr3=+CONSTANT_AREA(gr3,0)
    6| 000008 bclr 4E800020  1  BA       lr
    

Local fix

Problem summary

  • PROBLEM DESCRIPTION:
    To avoid loads from the constant area and to get better
    performance, and a smaller TOC size.
    
    USERS AFFECTED:
    Users who use -q64.
    

Problem conclusion

  • The constants are divided into several pieces and generated
    using ADDI and RLDIC.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI77935

  • Reported component name

    XL C/C++ FOR LI

  • Reported component ID

    5725C7300

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-04-30

  • Closed date

    2014-04-30

  • Last modified date

    2014-04-30

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

    IV52918

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

Fix information

  • Fixed component name

    XL C/C++ FOR LI

  • Fixed component ID

    5725C7300

Applicable component levels

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

Document Information

Modified date:
16 October 2021