Fixed-point arithmetic

Hi all,

Is there any ongoing work in LLVM/Clang to support fixed-point arithmetic as described in ISO/IEC TR 18037 ?
It seems that gcc has support for it since 2007 and it would be useful for us to add such support.
Just to get an idea if we decide to work on this, how long would it take to get it implemented ?

Regards,
Ivan

Hi all,

Is there any ongoing work in LLVM/Clang to support fixed-point
arithmetic as described in ISO/IEC TR 18037 ?

No.

It seems that gcc has support for it since 2007 and it would be useful
for us to add such support.
Just to get an idea if we decide to work on this, how long would it take
to get it implemented ?

It's probably pretty; I don't know precisely what is involved, though.

-Eli

Hi all,

Were there any further discussion or progress with the fixed point support (ISO/IEC TR 18037) in the meantime?
http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1275.pdf

Particularly:

  1. named address space type qualifiers (can be nested)
  2. fract/accum data types
  3. sat (saturation) type specifier

Regards,
Sergey Yakushkin