diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2016-05-11 21:16:58 +0200 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2016-05-11 21:16:58 +0200 |
commit | 51e67ea376b70fd41542c1540d809a32f10ed9ca (patch) | |
tree | 407ead17104e99e86462a6440408318773fb566a | |
parent | a730a6d92529a93f10fdced532e9064a39cd57c9 (diff) | |
download | gcc-51e67ea376b70fd41542c1540d809a32f10ed9ca.zip gcc-51e67ea376b70fd41542c1540d809a32f10ed9ca.tar.gz gcc-51e67ea376b70fd41542c1540d809a32f10ed9ca.tar.bz2 |
sse-13.c: Add dg-add-options bind_pic_locally directive.
* gcc.target/i386/sse-13.c: Add dg-add-options bind_pic_locally
directive.
* gcc.target/i386/pr66746.c: Ditto.
From-SVN: r236140
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/mmx-2.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/pr66746.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/sse-13.c | 1 |
4 files changed, 9 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 77b1856..9addbee 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2016-05-11 Uros Bizjak <ubizjak@gmail.com> + + * gcc.target/i386/sse-13.c: Add dg-add-options bind_pic_locally + directive. + * gcc.target/i386/pr66746.c: Ditto. + 2016-05-11 Michael Meissner <meissner@linux.vnet.ibm.com> * gcc.target/powerpc/dform-3.c: New test for ISA 3.0 vector d-form diff --git a/gcc/testsuite/gcc.target/i386/mmx-2.c b/gcc/testsuite/gcc.target/i386/mmx-2.c index 2bb5488..4d016c7 100644 --- a/gcc/testsuite/gcc.target/i386/mmx-2.c +++ b/gcc/testsuite/gcc.target/i386/mmx-2.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-options "-O0 -Werror-implicit-function-declaration -mmmx" } */ - /* { dg-add-options bind_pic_locally } */ + /* Test that the intrinsics compile without optimization. All of them are defined as inline functions in mmintrin.h that reference the proper builtin functions. Defining away "extern" and "__inline" results in diff --git a/gcc/testsuite/gcc.target/i386/pr66746.c b/gcc/testsuite/gcc.target/i386/pr66746.c index 3ef77bf..d7f6699 100644 --- a/gcc/testsuite/gcc.target/i386/pr66746.c +++ b/gcc/testsuite/gcc.target/i386/pr66746.c @@ -1,5 +1,6 @@ /* { dg-do compile { target ia32 } } */ /* { dg-options "-O2 -miamcu" } */ +/* { dg-add-options bind_pic_locally } */ /* Defining away "extern" and "__inline" results in all of them being compiled as proper functions. */ diff --git a/gcc/testsuite/gcc.target/i386/sse-13.c b/gcc/testsuite/gcc.target/i386/sse-13.c index 1144e5d..5562fbc 100644 --- a/gcc/testsuite/gcc.target/i386/sse-13.c +++ b/gcc/testsuite/gcc.target/i386/sse-13.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O2 -Werror-implicit-function-declaration -march=k8 -msse4a -m3dnow -mavx -mavx2 -mfma4 -mxop -maes -mpclmul -mpopcnt -mabm -mlzcnt -mbmi -mbmi2 -mtbm -mlwp -mfsgsbase -mrdrnd -mf16c -mfma -mrtm -mrdseed -mprfchw -madx -mfxsr -mxsaveopt -mavx512f -mavx512er -mavx512cd -mavx512pf -msha -mprefetchwt1 -mxsavec -mxsaves -mclflushopt -mavx512vl -mavx512dq -mavx512bw -mavx512vbmi -mavx512ifma -mclwb -mpcommit -mmwaitx -mclzero -mpku" } */ +/* { dg-add-options bind_pic_locally } */ #include <mm_malloc.h> |