[AArch64] Fix longbranch test

Fix longbranch test so it still generates long tbz branches.

    gcc/testsuite/
	PR target/81643
	* gcc.target/aarch64/long_branch_1.c: Improve testcase.

From-SVN: r251094
This commit is contained in:
Wilco Dijkstra 2017-08-14 16:18:37 +00:00 committed by Wilco Dijkstra
parent a72a7e3972
commit c7fd21762d
2 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2017-08-14 Wilco Dijkstra <wdijkstr@arm.com>
PR target/81643
* gcc.target/aarch64/long_branch_1.c: Improve testcase.
2017-08-14 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR target/79845

View File

@ -54,10 +54,6 @@ test_and_branch (int selector, int addend, int cond)
{
start0:
return sum - 1;
start1:
return sum + 1;
start2:
return sum;
start3:
return sum - 2;
}
@ -65,6 +61,8 @@ start3:
{
switch (selector)
{
start1:
start2:
CASE_ENTRY128 (1)
CASE_ENTRY64 (129)
CASE_ENTRY16 (193)