Accelerating performance with inline assembly using IBM XL C/C++ compiler on IBM z Systems
Anh Tuyen Tran 2700009ET3 Visits (10835)
IBM's new XL C/C++ compiler for Linux on z Systems Version 1.1, released in 2015, enables support for incorporating user's assembler codes directly into C/C++ programs (inline assembly). Besides the ability to generate highly optimized codes, maximizing hardware utilization, the new compiler provides advanced users with greater flexibility to access instructions at chip level. With inline assembly, software engineers are able to handcraft assembler codes for the most perf
I have just started a series to discuss this feature on z Systems. There are multiple parts in this series, covering the following topics: assembler instructions for Linux on z Systems, inline assembly statements with general registers, the performance gain, operations involving other registers such as floating-point registers, vector registers, and so on. This article, being the first part of the series, will highlight the assembler instructions used for inline assembly on z Systems. It consists of high-level introductions to general registers, condition-code, and general instructions on mainframe computers.
For detail, please visit the article published on developerWorks Acce