Mill Computing, Inc. › Forums › The Mill › Architecture › Pipelining › Reply To: Pipelining
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.