Skip to content

Commit

Permalink
* gcc.target/i386/force-indirect-call-1.c: Merge scan strings.
Browse files Browse the repository at this point in the history
	* gcc.target/i386/force-indirect-call-2.c: Ditto.
	Require fpic effective target.
	* gcc.target/i386/force-indirect-call-3.c: Ditto.
	Require lp64 effective target.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@254635 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
uros committed Nov 10, 2017
1 parent 3b9c531 commit 8e6ad9b
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 16 deletions.
28 changes: 18 additions & 10 deletions gcc/testsuite/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
2017-11-10 Uros Bizjak <ubizjak@gmail.com>

* gcc.target/i386/force-indirect-call-1.c: Merge scan strings.
* gcc.target/i386/force-indirect-call-2.c: Ditto.
Require fpic effective target.
* gcc.target/i386/force-indirect-call-3.c: Ditto.
Require lp64 effective target.

2017-11-10 Julia Koval <julia.koval@intel.com>

* gcc.target/i386/avx-1.c: Handle new intrinsics.
* gcc.target/i386/avx512f-gf2p8affineqb-2.c: New runtime tests.
* gcc.target/i386/avx512vl-gf2p8affineqb-2.c: Ditto.
* gcc.target/i386/gfni-1.c: Add tests for GF2P8AFFINE.
* gcc.target/i386/gfni-2.c: Ditto.
* gcc.target/i386/gfni-3.c: Ditto.
* gcc.target/i386/gfni-4.c: Ditto.
* gcc.target/i386/sse-13.c: Handle new tests.
* gcc.target/i386/sse-14.c: Handle new tests.
* gcc.target/i386/sse-23.c: Handle new tests.
* gcc.target/i386/avx-1.c: Handle new intrinsics.
* gcc.target/i386/avx512f-gf2p8affineqb-2.c: New runtime tests.
* gcc.target/i386/avx512vl-gf2p8affineqb-2.c: Ditto.
* gcc.target/i386/gfni-1.c: Add tests for GF2P8AFFINE.
* gcc.target/i386/gfni-2.c: Ditto.
* gcc.target/i386/gfni-3.c: Ditto.
* gcc.target/i386/gfni-4.c: Ditto.
* gcc.target/i386/sse-13.c: Handle new tests.
* gcc.target/i386/sse-14.c: Handle new tests.
* gcc.target/i386/sse-23.c: Handle new tests.

2017-11-10 Thomas Preud'homme <thomas.preudhomme@arm.com>

Expand Down
4 changes: 2 additions & 2 deletions gcc/testsuite/gcc.target/i386/force-indirect-call-1.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* { dg-do compile } */
/* { dg-options "-O2 -mforce-indirect-call" } */
/* { dg-final { scan-assembler-times "call\[ \\t\]+\\*%" 2 } } */
/* { dg-final { scan-assembler-times "jmp\[ \\t\]+\\*%" 1 } } */
/* { dg-final { scan-assembler-times "(?:call|jmp)\[ \\t\]+\\*%" 3 } } */

int x;
int y;

Expand Down
5 changes: 3 additions & 2 deletions gcc/testsuite/gcc.target/i386/force-indirect-call-2.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-O2 -mforce-indirect-call -fPIC" } */
/* { dg-final { scan-assembler-times "call\[ \\t\]+\\*%" 2 } } */
/* { dg-final { scan-assembler-times "jmp\[ \\t\]+\\*%" 1 } } */
/* { dg-require-effective-target fpic } */
/* { dg-final { scan-assembler-times "(?:call|jmp)\[ \\t\]+\\*%" 3 } } */

#include "force-indirect-call-1.c"
5 changes: 3 additions & 2 deletions gcc/testsuite/gcc.target/i386/force-indirect-call-3.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-O2 -mforce-indirect-call -mcmodel=medium" } */
/* { dg-final { scan-assembler-times "call\[ \\t\]+\\*%" 2 } } */
/* { dg-final { scan-assembler-times "jmp\[ \\t\]+\\*%" 1 } } */
/* { dg-require-effective-target lp64 } */
/* { dg-final { scan-assembler-times "(?:call|jmp)\[ \\t\]+\\*%" 3 } } */

#include "force-indirect-call-1.c"

0 comments on commit 8e6ad9b

Please sign in to comment.