Itanium Architecture for Software Developers

FLOATING-POINT LOGIC INSTRUCTIONS

The floating-point logic instructions perform functions similar to those of the integer logic instructions that were introduced in Chapter 6; however, they process data organized in floating-point register format. Table 9.21 shows that the basic logic functions supported for integer data AND, OR, exclusive-OR, and AND complement are also implemented with floating-point instructions. Moreover, one new function called floating-point select is available.

Table 9.21: Floating-point Logic Instructions

Mnemonic

Operation

Format

Description

fand

Floating-point
logical AND

(qp) fand f1=f2,f3

The bit-wise logical AND of the significand fields of f2 and f3 is computed. The resulting value is stored in the significand field of f1.

1003EH exponent field of f1
0 (positive) sign field of f1

for

Floating-point
logical OR

(qp) for f1=f2,f3

The bit-wise logical OR of the significand fields of f2 and f3 is computed. The resulting value is stored in the significand field of f1.

1003EH exponent field of f1
0 (positive) sign field of f1

fxor

Floating-point
exclusive OR

(qp) fxor f1=f2,f3

The bit-wise logical exclusive-OR of the significand fields of f2 and f3 is computed. The resulting value is stored in the signifcand field of f1.

1003EH exponent field of f1
0 (positive) sign field of f1

fandcm

Floating-point
AND
complement

(qp) fandcm f1=f2,f3

The bit-wise logical AND of the significand field of f2 with the bit-wise complemented significand field of f3 is computed. The resulting value is stored in the significand field of f1.

1003EH exponent...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Arithmetic Logic Units (ALU)
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.