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 ...

Get Itanium® Architecture for Programmers: Understanding 64-Bit Processors and EPIC Principles now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.