Commit 31f06cac by Steve Ellcey Committed by Steve Ellcey

re PR rtl-optimization/87763 (aarch64 target testcases fail after r265398)

2018-04-10  Steve Ellcey  <sellcey@marvell.com>

	PR rtl-optimization/87763
	* gcc.target/aarch64/combine_bfxil.c: Change some bfxil checks
	to bfi.
	* gcc.target/aarch64/combine_bfi_2.c: New test.

From-SVN: r270267
parent 6a0d3939
2018-04-10 Steve Ellcey <sellcey@marvell.com>
PR rtl-optimization/87763
* gcc.target/aarch64/combine_bfxil.c: Change some bfxil checks
to bfi.
* gcc.target/aarch64/combine_bfi_2.c: New test.
2019-04-10 Jakub Jelinek <jakub@redhat.com>
PR middle-end/90025
......
/* { dg-do compile } */
/* { dg-options "-O2" } */
int f1(int x, int y)
{
return (y & 0xfffffff) | (((x <<28) & 0xf0000000));
}
int f2(int x, int y)
{
return (((x <<28) & 0xf0000000)) | (y & 0xfffffff);
}
/* { dg-final { scan-assembler-times {\tbfi\t} 2 } } */
......@@ -114,4 +114,5 @@ main (void)
return 0;
}
/* { dg-final { scan-assembler-times "bfxil\\t" 18 } } */
/* { dg-final { scan-assembler-times "bfxil\\t" 7 } } */
/* { dg-final { scan-assembler-times "bfi\\t" 11 } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment