IBM Support

LI77578: IMPROVEMENTS TO MEMSET GENERATED CODE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Compiler adds improvements to memset generated code.
    

Local fix

  • N/A
    

Problem summary

  • inefficient code being generated for memset.  There are several
    issues 1) The constant area is used to hold the splatted value
    of the character 2) we don't always widen the stores to 8 bytes
    3) there are unnecessary multiply instructions generated by
    widening
    

Problem conclusion

  • The test in macro expansion to decide whether to use 4 byte or
    8 byte stores was incorrect.   Having macro expansion generate
    8 byte stores means that widening is no longer involved.  Also,
    instead of putting the constant into the constant area, let the
    normal macro expansion code decide how to manifest the
    constant.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI77578

  • Reported component name

    XL C/C++ FOR BG

  • Reported component ID

    5799AG100

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2013-09-11

  • Closed date

    2013-09-11

  • Last modified date

    2013-09-11

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

    IV48060

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

Fix information

  • Fixed component name

    XL C/C++ FOR BG

  • Fixed component ID

    5799AG100

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS2LWA","label":"XL C\/C++ for Blue Gene\/Q"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.1","Edition":"","Line of Business":{"code":"LOB73","label":"Power TPS"}}]

Document Information

Modified date:
05 September 2024