CPC G06F 9/30025 (2013.01) [G06F 9/30014 (2013.01); G06F 9/30018 (2013.01); G06F 9/30036 (2013.01); G06F 9/30038 (2023.08); G06F 9/30105 (2013.01); G06F 9/3802 (2013.01); G06F 9/3818 (2013.01); G06F 9/384 (2013.01); G06F 9/3887 (2013.01); G06F 9/3888 (2023.08)] | 24 Claims |
1. A processor comprising:
fetch circuitry to fetch a vector conversion instruction having fields to specify an opcode and locations of a first source vector comprising a first plurality of single-precision elements that are each a 32-bit floating point format of a sign bit, an 8-bit exponent, and a 24-bit significand, a second source vector comprising a second plurality of single-precision elements that are each the 32-bit floating point format of the sign bit, the 8-bit exponent, and the 24-bit significand, and a single destination vector comprising a number of 16-bit floating-point elements that is at least a number of the first plurality and the second plurality, the opcode to indicate execution circuitry is to convert each of the 32-bit floating point format elements of the first source vector and the second source vector to a half-precision 16-bit floating-point format of a sign bit, a 5-bit exponent, and an 11-bit significand, and to store each converted element into a corresponding location of the single destination vector as a resultant of the vector conversion instruction;
decode circuitry to decode the fetched instruction; and
the execution circuitry to respond to the decoded instruction as specified by the opcode.
|