Zhinx Extension
Synopsis
The Zhinx extension provides analogous half-precision floating-point instructions. The Zhinx extension depends upon the Zfinx extension. The Zhinx extension adds all of the instructions that the Zfh extension adds, except for the transfer instructions FLH, FSH, FMV.H.X, and FMV.X.H. The Zhinx variants of these Zfh-extension instructions have the same semantics, except that whenever such an instruction would have accessed an f register, it instead accesses the x register with the same number.
Instructions
The following instructions are affected by this extension:
Floating-Point Add Half-Precision |
|
Floating-Point Classify Half-Precision |
|
Floating-point Convert Word to Half-precision |
|
Floating-point Convert Unsigned Word to Half-precision |
|
Floating-point Convert Half-precision to Word |
|
Floating-point Convert Half-precision to Unsigned Word |
|
Floating-Point Divide Half-Precision |
|
Floating-Point Equal Half-Precision |
|
Floating-Point Less Than or Equal Half-Precision |
|
Floating-Point Less Than Half-Precision |
|
Floating-Point Multiply-Add Half-Precision |
|
Floating-Point Maximum-Number Half-Precision |
|
Floating-Point Minimum-Number Half-Precision |
|
Floating-Point Multiply-Subtract Half-Precision |
|
Floating-Point Multiply Half-Precision |
|
Floating-Point Negate-Multiply-Add Half-Precision |
|
Floating-Point Negate-Multiply-Subtract Half-Precision |
|
Floating-Point Sign-Inject Half-Precision |
|
Floating-Point Sign-Inject Negate Half-Precision |
|
Floating-Point Sign-Inject XOR Half-Precision |
|
Floating-Point Square Root Half-Precision |
|
Floating-Point Subtract Half-Precision |