HARDWARE FOR FLOATING-POINT ARITHMETIC IN MULTIPLE FORMATS

    公开(公告)号:US20210255830A1

    公开(公告)日:2021-08-19

    申请号:US16795097

    申请日:2020-02-19

    Applicant: Facebook, Inc.

    Abstract: A floating-point number in a first format representation is received. Based on an identification of a floating-point format type of the floating-point number, different components of the first format representation are identified. The different components of the first format representation are placed in corresponding components of a second format representation of the floating-point number, wherein a total number of bits of the second format representation is larger than a total number of bits of the first format representation. At least one of the components of the second format representation is padded with one or more zero bits. The floating-point number in the second format representation is stored in a register. A multiplication using the second format representation of the floating-point number is performed.

    BYPASSING ZERO-VALUE MULTIPLICATIONS IN A HARDWARE MULTIPLIER

    公开(公告)号:US20210349694A1

    公开(公告)日:2021-11-11

    申请号:US16869288

    申请日:2020-05-07

    Applicant: Facebook, Inc.

    Abstract: A device (e.g., integrated circuit chip) includes a first operand register, a second operand register, a multiplication unit, and a hardware logic component. The first operand register is configured to store a first operand value. The second operand register is configured to store a second operand value. The multiplication unit is configured to at least multiply the first operand value with the second operand value. The hardware logic component is configured to detect whether a zero value is provided and in response to a detection that the zero value is being provided: cause an update of at least the first operand register to be disabled, and cause a result of a multiplication of the first operand value with the second operand value to be a zero-value result.

Patent Agency Ranking