| CPC G06F 9/30145 (2013.01) [G06F 7/49947 (2013.01); G06F 9/30025 (2013.01); G06F 9/30036 (2013.01); G06F 9/30038 (2023.08); H03M 7/24 (2013.01)] | 16 Claims |

|
1. An apparatus comprising:
a plurality of memory controllers;
a level-two (L2) cache memory coupled to the plurality of memory controllers;
a processor coupled to the plurality of memory controllers, and coupled to the L2 cache memory, the processor having a plurality of cores and a plurality of levels of cache memory, the cores including circuitry to perform operations corresponding to an instance of an instruction, the instance of the instruction to identify a source register that is to include a plurality of half-precision floating-point data elements and to identify a destination register, wherein the half-precision floating-point data elements are 16-bit data elements, the operations including to:
convert to a plurality of corresponding 8-bit floating-point data elements, when one or more of the half-precision floating-point data elements are normal numbers, conversion of the one or more normal numbers to one or more corresponding 8-bit floating-point data elements is to be performed according to a round to nearest even rounding mode, and the one or more corresponding 8-bit floating-point data elements are to each include a sign bit, a 5-bit exponent value, and a 2-bit mantissa value, wherein, when one or more of the half-precision floating-point data elements are not-a-number (NaN) data elements, conversion of the one or more NaN data elements is to include setting a most significant bit of a mantissa of each of one or more corresponding 8-bit floating-point data elements; and
store the plurality of 8-bit floating-point data elements in the destination register;
an interconnect interface coupled to the processor; and
a bus controller interface coupled to the processor.
|