First, the authors describe basic usage syntax for inline
assembly (inline asm) embedded within C and C++ programs. Then they
explain intermediate concepts, such as addressing modes, the
clobbers list, and branching stanzas, as well as more advanced
topics, such as memory clobbers, the volatile attribute, and locks
are discussed for those who want to use inline asm in multithreaded
applications. See the article here.
Just a quick note to let you know that these C/C++ PTFs are available! October 2011 Update for XL C/C++ for Linux, V11.1 Compiler: http://www-01.ibm.com/support/docview.wss?uid=swg24031169 October 2011 Update for XL C/C++ for Linux, V11.1 Runtime: http://www-01.ibm.com/support/docview.wss?uid=swg24031170 Can't find the updates for your compilers? Check out our C/C++ compilers latest updates page: http://www.ibm.com/support/docview.wss?rs=2239&uid=swg21110831
FREE newsletter - get IBM Software news, special #PowerSystems features - subscribe: http://bit.ly/rs1rZn #POWER7 We just published a special Power Systems Edition of the newsletter, which you can see here - http://www-148.ibm.com/tela/webmail/NlDynamicPage/9540/32113/cosmetic?web_page_id=546427&pre=0 - and we're also including Power Systems-related content in each monthly issue.
Check-out this tutorial to learn how to use the interoperability features of the IBM XL Fortran and the IBM XL C/C++ compiler to integrate Fortran, C and Java source code into an application. The demonstration shows how to call Java source routines from Fortran and vice versa. Interoperability is useful for integrating parts written in different languages into an application. This enables developers to take advantage of language best situated for the job or easily integrate legacy assets into a new application.
Interoperability of IBM... [More]
This demo explains how to use the MASS high-performance mathematical libraries via the auto-vectorization features supported by XL compilers. The demo is built upon the examples given in a developerWorks article titled “ How to improve the performance of programs calling mathematical functions -- Taking advantage of IBM XL C/C++ or XL Fortran compiler auto-vectorization ”. Please refer to the article for detailed explanations on MASS libraries, auto-vectorization, and the Fortran and C source code.
Check out all the information about the latest release of XL C/C++ for z/VM.
You can get a summary of the release as well as all the announcement
details. See What's new in XL C/C++ for z/VM V1.3 including enhancements to help with productivity and porting to z/VM. For all the details about the XL C/C++ for z/VM V1.3 announcement, see IBM XL C/C++ for z/VM, V1.3 delivers performance improvements and additional C++ standards support .
Subscribe to the IBM Software Newsletter - or update your
subscription Interested in software for IBM Power Systems? Now you can receive
Power-related software news and features in every issue of the IBM Software
Newsletter, PLUS special Power Systems Editions of the newsletter twice per
year! Subscribe to receive the Power Systems Edition
C++11 (which was codenamed C++0x until ratification) is the new C++ programming language standard that has just been ratified and published . It supersedes the C++ 2003 (which was a bug fix on the C++ 1998) Standard and is called officially ISO/IEC 14882: 2011
IBM's xlC (C++) compiler has started supporting C++11 since 2008 in V10.1 with an extensive list of C++11 features. Our current release is now at V12.1 on AIX and Linux and V2R1 for z/OS. Most other compilers have similar plans phasing in the large number of features over... [More]
C++ 11 is official and published! It is now possible to purchase the new C++ 11 Standard from the INCITS/ANSI website: http://webstore.ansi.org/ RecordDetail.aspx?sku=ISO% 2FIEC+14882%3A2011 or direct from the ISO website: http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=50372 You can still get C++03: http://webstore.ansi.org/ RecordDetail.aspx?sku=INCITS/ ISO/IEC%2014882-2003 If you find the price a bit high, it is also possible to wait a bit until the British Standard Institute publish a hard-copy book... [More]
After almost two years of work, OpenMP 3.1 has been released. Here is the announcement on it and the new specification in pdf online. As I mentioned in the previous note on the public comment draft , and in this trip report and Steven Perron's posting about the new content, 3.1 offers something for everyone. The main purpose of OpenMP 3.1 was to redefine and extend existing specification, and maintain backward compatibility. This was also a bug-fix release in that it clarified a number of examples in OpenMP 3.0 and fixed about 20 minor... [More]
This Standard meeting is earlier then the usual C++ Standard meeting to accommodate the period of time after the approval of the C++0x draft when National Body balloting has to be done to approve the draft and ratify it. The new C++0x Standard has been ratified and will be called C++11. As an additional note, the C standard is also undergoing ratification vote and will also likely be approved. So there is now a quiet period when we cannot issue new papers. As it happens, the defect reports for core language and library are also issued as... [More]
The star is born. Recall that in this C++0x Mardid Standard meeting blog posting , I mentioned that the C++ Standard has been approved at the Madrid Standard meeting to be shipped. What
we were waiting for were final integration of Standard text,
proof-reading, ballot by all the National Bodies and then some ISO
bureaucratic process to release the document. These
last few steps have been done. In fact two weeks ago, on Aug 8, I voted
to approve the Standard for the Canadian National Body. It seems other
National Bodies also... [More]
Programmers put effort into optimizing
their applications for performance. Still, performance gain could also be
achieved by simply switching to a newer version of IBM compiler. Although improvement
might vary depending on the design and intent of each application, performance
difference becomes more visible for programs that handle large amount of data.
The following simple program
was designed to require a lot of data: multiplication of two matrices with
large dimensions. (It was not written to multiply the matrices faster). Due... [More]
Over the past five decades, SHARE an independent, volunteer run association has been providing enterprise technology
professionals with continuous education and training, valuable
professional networking and effective industry influence. SHARE looks to the future of IT technology and real-world uses of technology, from both near and longer-term perspectives. I was at the most recent session, August 7-12, in Orlando presenting the latest features in z/OS V1R13 compiler, check out the announce page . It has been a great... [More]
Recently I came across a whitepaper regarding new METAL C features for the latest release for the compiler on z/OS (z/OS V1.13 XL C/C++) posted here . The whitepaper provides a broad general overview of the new features for METAL C with a lot of examples sprinkled throughout to make it easy to understand. It is a handy guide for new and existing METAL C developers or people interested in METAL C in general, even though the focus is on new features added in V1.13.
METAL C was originally introduced in the z/OS V1R9 XL C/C++ compiler... [More]