Home > Backend Development > C++ > How Do C and C Standards Address Exotic Architectures Like the Unisys ClearPath Dorado?

How Do C and C Standards Address Exotic Architectures Like the Unisys ClearPath Dorado?

DDD
Release: 2024-12-30 13:22:13
Original
767 people have browsed it

How Do C and C   Standards Address Exotic Architectures Like the Unisys ClearPath Dorado?

Exotic Architectures Considered by Standard Committees

Despite the significant evolution in computer hardware, certain architectures with unique characteristics have persisted, prompting the C and C standards committees to account for their existence. These architectures deviate from the prevailing norms in several fundamental aspects.

One example is the Unisys ClearPath Dorado Servers, which offer backward compatibility for older Univac software. Key features of this architecture include:

  • 36-bit words
  • CHAR_BIT of 9
  • One's complement representation of signed values
  • 72-bit non-IEEE floating-point arithmetic
  • Separate address spaces for code and data
  • Word-addressed memory
  • Lack of a dedicated stack pointer

These features significantly alter the implementation of basic data types and operations in C or C compilers targeting this architecture. For instance, the implementation of floating-point operations requires specialized handling since it deviates from the IEEE 754 standard.

Although the availability of C compilers for these exotic architectures is uncertain, the standards committees recognize their existence and provide flexibility to accommodate their distinct characteristics without compromising the portability of code.

The above is the detailed content of How Do C and C Standards Address Exotic Architectures Like the Unisys ClearPath Dorado?. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template