Itanium® Architecture for Programmers: Understanding 64-Bit Processors and EPIC Principles
by James S. Evans - Lawrence University, Gregory L. Trimper - viika
11.2. Compiling a Simple Program
Comparing the output from several compilers for high-level languages can usefully reveal both similarities and differences. The extremely rudimentary programs shown in Figure 11-1 are written in a fashion as parallel from one language to another as the syntax rules of FORTRAN and C will allow. We knowingly ignore the initialization issue with regard to array B, since filling that array's elements with dummy values would require more lines in the program without amplifying the main points we want to discuss.
Each program contains floating-point variables and constants in addition to integer quantities. In order to understand this current material, if you skipped over Chapter 8, you need to know that Itanium instructions ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access