Hello,
this patch adds support for generating usat/ssat instructions to match code
along the lines of:
if (a amin) return amin;
else if (a amax) return amax;
else return a;
for appropriate values of amin/amax. This type code actually occurs in
real-life code (e.g.
(SAT, SATrev): New code iterators.
(SATlo, SAThi): New code iterator attributes.
(*satsi_SAT:code): New pattern.
(*satsi_SAT:code_shift): Likewise.
Iterators must go into iterators.md.
Ok with that change for 4.8 if no regressions.
Ramana
Ramana Radhakrishnan wrote:
(SAT, SATrev): New code iterators.
(SATlo, SAThi): New code iterator attributes.
(*satsi_SAT:code): New pattern.
(*satsi_SAT:code_shift): Likewise.
Iterators must go into iterators.md.
Hmm, I left them in arm.md deliberately, because they apply
On 29 February 2012 13:25, Ulrich Weigand uweig...@de.ibm.com wrote:
Ramana Radhakrishnan wrote:
(SAT, SATrev): New code iterators.
(SATlo, SAThi): New code iterator attributes.
(*satsi_SAT:code): New pattern.
(*satsi_SAT:code_shift): Likewise.
Iterators must go into