Zhinx Extension

Versions

1.0.0
State

ratified

Ratification date

2021-11

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 defined by this extension:

flh

Half-precision floating-point load

fmv.x.h

Move half-precision value from floating-point to integer register

fsh

Half-precision floating-point store