F.1. HP-UX C Compilers

The C compilers for HP-UX support inline assembly for Itanium program development with intrinsic functions in the form of _Asm_ opcode (...). This extension to the C language has the syntax:

					result = _Asm_ opcode(  completers,  operands,  constraints );

where result and operands are expressed as unsigned 64-bit integers in the places where the corresponding Itanium assembly language statement would use general registers. A header file provides the definitions necessary to use inline assembly in a C program.

Markstein illustrates the usefulness of inline assembly extensions for producing and maintaining optimized floating-point libraries. Inline assembly allows retention of the full precision of the Itanium register format ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.