Floating point atomics using integer hardware
AssigneeQUALCOMM Incorporated
InventorsAndrew Evan GRUBER, Alexei Vladimirovich BOURD
Life of this patent
Estimating the term…
Abstract
This disclosure provides systems, devices, apparatus, and methods, including computer programs encoded on storage media, for floating point min/max atomics using integer hardware. A data processor may obtain a first indication of a floating point number associated with a floating point operation. The data processor may select a signed atomic integer operation or an unsigned atomic integer operation based on at least one of the floating point number or the floating point operation, where the signed atomic integer operation is associated with a condition being met and the unsigned atomic integer operation is associated with a failure of the condition to be met.
Claims30
An apparatus for data processing, comprising:
- a memory;
- and
- at least one processor coupled to the memory and, based at least in part on information stored in the memory, the at least one processor is configured to:
- obtain a first indication of a floating point number associated with a floating point operation;
- and
- select a signed atomic integer operation or an unsigned atomic integer operation based on at least one of the floating point number or the floating point operation, wherein the signed atomic integer operation is associated with a condition being met and the unsigned atomic integer operation is associated with a failure of the condition to be met.
A method of data processing, comprising:
- obtaining a first indication of a floating point number associated with a floating point operation;
- and
- selecting a signed atomic integer operation or an unsigned atomic integer operation based on at least one of the floating point number or the floating point operation, wherein the signed atomic integer operation is associated with meeting a condition and the unsigned atomic integer operation is associated with failing to meet the condition.
A computer-readable medium storing computer executable code, the computer executable code when executed by at least one processor causes the at least one processor to:
- obtain a first indication of a floating point number associated with a floating point operation;
- and
- select a signed atomic integer operation or an unsigned atomic integer operation based on at least one of the floating point number or the floating point operation, wherein the signed atomic integer operation is associated with a condition being met and the unsigned atomic integer operation is associated with a failure of the condition to be met.
Dependencies are inferred from the claim text.