search for: fixmul

Displaying 2 results from an estimated 2 matches for "fixmul".

Did you mean: fixsmul
2018 Aug 22
2
Fixed Point Support in LLVM
...necessary with an argument that these ought to be >>> portable intrinsics, though. :) >> Can you clarify what you mean by portable? Portable from a target standpoint or from a language standpoint, or both? > I just mean that I want there to be intrinsics called llvm.fixadd or llvm.fixmul or whatever with well-specified, target-independent semantics instead of a million target-specific intrinsics called something like llvm.supermips37.addfixvlq_16. Okay, then we're pretty much on the same page. In our implementation we have llvm.sat, llvm.fixsmul, llvm.add.sat, llvm.fixsmul.sat...
2018 Aug 22
2
Fixed Point Support in LLVM
On 2018-08-22 05:56, John McCall via llvm-dev wrote: >> On Aug 21, 2018, at 6:20 PM, Leonard Chan <leonardchan at google.com> wrote: >> If we were to create a new type down the line, I think the main >> features that would distinguish them from other types are the >> arbitrary width and scale. Saturation can be handled through >> instructions since saturation