<p>On 26 May 2011 02:11, "Bruno Cardoso Lopes" <<a href="mailto:bruno.cardoso@gmail.com">bruno.cardoso@gmail.com</a>> wrote:<br>
><br>
> I would be fine with this too. The only problem is that I would have<br>
> to manually select the strexd instead of using a simple pattern for<br>
> it, but it's always a tradeoff anyway. Let me know which approach is<br>
> preferred then.</p>
<p>We used custom isel lowering for memset (swapping arguments) and divmod (for srem).</p>
<p>Cheers,<br>
Renato<br>
</p>