INSTRUCTIONS TO CONVERT FROM FP16 TO FP8
    3.
    发明公开

    公开(公告)号:US20240045677A1

    公开(公告)日:2024-02-08

    申请号:US17958378

    申请日:2022-10-01

    申请人: Intel Corporation

    IPC分类号: G06F9/30

    CPC分类号: G06F9/30025 G06F9/3016

    摘要: Techniques for converting FP16 or FP32 data elements to FP8 data elements using a single instruction are described. An exemplary apparatus includes decoder circuitry to decode a single instruction, the single instruction to include a one or more fields to identify a source operand, one or more fields to identify a destination operand, and one or more fields for an opcode, the opcode to indicate that execution circuitry is to convert packed half-precision floating-point data or single-precision floating point data from the identified source to packed FP8 data and store the packed bfloat8 data into corresponding data element positions of the identified destination operand; and execution circuitry to execute the decoded instruction according to the opcode to convert packed half-precision floating-point data or single-precision floating point data from the identified source to packed bfloat8 data and store the packed bfloat8 data into corresponding data element positions.