Mill Computing, Inc. Forums The Mill Architecture Pipelining Reply To: Pipelining

c3d
Member
Post count: 5

Answering one of the last questions, you explain a proposal for saturated arithmetic that requires adding a keyword and treating it specially. What would be wrong with using a C++ class with overloaded arithmetic operators that encapsulates the intrinsics you need? That would solve issues such as integer + saturated, since the C++ language already has rules for that (that you might not like, but at least they exist).