On Fri, Oct 02, 2015 at 10:17:11AM +0100, Renlin Li wrote:
> Hi all,
>
> This is a simple patch to add a new cmovdi_insn_uxtw rtx pattern to
> aarch64 backend.
>
> For the following simple test case:
>
> unsigned long long
> foo (unsigned int a, unsigned int b, unsigned int c)
> {
>return a
Hi all,
This is a simple patch to add a new cmovdi_insn_uxtw rtx pattern to
aarch64 backend.
For the following simple test case:
unsigned long long
foo (unsigned int a, unsigned int b, unsigned int c)
{
return a ? b : c;
}
With this new pattern, the new code-generation will be:
cmp
Hi Pinski,
On 06/08/15 10:48, pins...@gmail.com wrote:
On Aug 6, 2015, at 11:40 AM, Renlin Li wrote:
Hi all,
This is a simple patch to add a new cmovdi_insn_uxtw rtx pattern to aarch64
backend.
For the following simple test case:
unsigned long
foo (unsigned int a, unsigned int b, unsig
> On Aug 6, 2015, at 11:40 AM, Renlin Li wrote:
>
> Hi all,
>
> This is a simple patch to add a new cmovdi_insn_uxtw rtx pattern to aarch64
> backend.
>
> For the following simple test case:
>
> unsigned long
> foo (unsigned int a, unsigned int b, unsigned int c)
> {
> return a ? b : c;
Hi all,
This is a simple patch to add a new cmovdi_insn_uxtw rtx pattern to
aarch64 backend.
For the following simple test case:
unsigned long
foo (unsigned int a, unsigned int b, unsigned int c)
{
return a ? b : c;
}
With this new pattern, the new code-generation will be:
cmpw0,