Fixes are available
XL C/C++ for Linux Fix Pack 8 (October 2015 Update) for 12.1
XL C/C++ for Linux Fix Pack 4 (October 2013 Update) for 12.1
XL C/C++ for Linux Fix Pack 5 (December 2013 Update) for 12.1
XL C/C++ for Linux Fix Pack 6 (February 2014 Update) for 12.1
XL C/C++ for Linux Fix Pack 7 (May 2014 Update) for 12.1
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:
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
RC10 PSN IV46292
UP06/09/13
[{"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:
14 October 2021