HomePhabricator

[Intrinsic] Signed Fixed Point Multiplication Intrinsic

Authored by leonardchan on Dec 11 2018, 10:29 PM.

Description

[Intrinsic] Signed Fixed Point Multiplication Intrinsic

Add an intrinsic that takes 2 signed integers with the scale of them provided
as the third argument and performs fixed point multiplication on them.

This is a part of implementing fixed point arithmetic in clang where some of
the more complex operations will be implemented as intrinsics.

Differential Revision: https://reviews.llvm.org/D54719

llvm-svn: 348912

Details