[PATCH] Allow code generation of ARM usat/ssat instructions

James Molloy james.molloy at arm.com
Wed Apr 1 06:53:05 PDT 2015


Hi Weiming,

I've been looking at clamp() too, specifically when we don't have the right bounds for a saturation, so we need to emit a sequence of min + max instructions.

I think your patch is a good basis for this, but please do bear in mind the other use case when designing your helper functions so it is possible to add this behaviour in the future!

Cheers,

James


http://reviews.llvm.org/D8371

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list