Commit c7fd2176 by Wilco Dijkstra Committed by Wilco Dijkstra

[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
parent a72a7e39
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> 2017-08-14 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR target/79845 PR target/79845
......
...@@ -54,10 +54,6 @@ test_and_branch (int selector, int addend, int cond) ...@@ -54,10 +54,6 @@ test_and_branch (int selector, int addend, int cond)
{ {
start0: start0:
return sum - 1; return sum - 1;
start1:
return sum + 1;
start2:
return sum;
start3: start3:
return sum - 2; return sum - 2;
} }
...@@ -65,6 +61,8 @@ start3: ...@@ -65,6 +61,8 @@ start3:
{ {
switch (selector) switch (selector)
{ {
start1:
start2:
CASE_ENTRY128 (1) CASE_ENTRY128 (1)
CASE_ENTRY64 (129) CASE_ENTRY64 (129)
CASE_ENTRY16 (193) CASE_ENTRY16 (193)
......
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