Mill Computing, Inc. › Forums › The Mill › Architecture › Pipelining › Reply To: Pipelining
August 25, 2014 at 5:56 am
Post count: 98
That’s a perfectly reasonable implementation path for C++.
The compiler will still have to recognise it for what it is in order to know to use the Mill’s saturating opcodes in the emitted binary.
More generally, many uses of saturating arithmetic is in DSP and graphics programs which are often written in C.