[PATCH] MIPS: mark DSP intrinsics as side-effect free.

Daniel Sanders daniel.sanders at imgtec.com
Tue Jan 21 01:51:03 PST 2014


  Hi Tim,

  Those instructions have a side-effect in that they may raise a flag in the DSPControl register to indicate that saturation, overflow, or underflow occurred. However, I don't think that contradicts the addition of IntrNoMem since it's the same kind of flag as the floating point exception flags and those don't seem to be modelled as side-effects either.

  On that basis it LGTM.

http://llvm-reviews.chandlerc.com/D2581



More information about the llvm-commits mailing list