IBM Support

LI77617: DISASSEMBLER DOES NOT SHOW BPERMD INSTRUCTION

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • he disassembler is failing to show the bpermd mnemonic
    instruction in the disassembled output; whereas the -S output
    shows it.
    
    ===== COMPILE COMMAND:
    1) Compile with:
     xlC -qarch=pwr7 -c -O2 test.cpp -q64
    
    2) Disassemble with:
    /usr/vac/exe/dis test.o
    
    ===== TESTCASE:
    $ cat test.cpp
    #include <builtins.h>
    
    unsigned long long bperm(unsigned long long a, unsigned long
    long b)
    {
       return __bpermd(a,b);
    }
    $
    
    
    ===== ACTUAL OUTPUT:
    Output contains:
    .bperm__FULT1:                          # 0x0000000000000000
    (H.4.
    NO_SYMBOL)
            .long   0x7c6321f8              # "|c!\370"
            .long   0x4e800020              # "N\200\0 "
    
    Output should show bpermd mnemonic
    
    
    
    ===== EXPECTED OUTPUT:
    Output should show bpermd mnemonic instruction as seen in the -S
    output.
    

Local fix

  • N/A
    

Problem summary

  • USERS AFFECTED:
    Users who use the disassembler to dump the mnemonic
    instructions without specified arch mode are affected by this
    issue.
    
    PROBLEM DESCRIPTION:
    The disassembler is failing to decode some mnemonic
    instructions such as bpermd when the arch mode is not
    specified.
    

Problem conclusion

  • The compiler has been modified to account for the missing arch
    mode and provide the correct disassembled output.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI77617

  • 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

    2013-10-28

  • Closed date

    2013-10-28

  • Last modified date

    2013-10-28

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

    IV46292

  • 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



Document information

More support for: XL C/C++ for Linux
Compiler

Software version: 12.1

Reference #: LI77617

Modified date: 28 October 2013