This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH ARM]Fix memset-inline-* failures on cortex-a9 tune by checking tune information.


Hi,
This patch is the second part fixing memset-inline-{4,5,6,8,9}.c failures on
cortex-a9.  It adds a function checking CPU tuning information in dejagnu,
it also uses that function to skip related testcase when we are compiling
for cortex-a9 tune.

Build and test on arm-none-eabi.  Is it OK?

gcc/testsuite/ChangeLog
2015-03-06  Bin Cheng  <bin.cheng@arm.com>

	* lib/target-supports.exp (arm_tune_string_ops_prefer_neon): New.
	* gcc.target/arm/memset-inline-4.c: Skip for
	arm_tune_string_ops_prefer_neon.
	* gcc.target/arm/memset-inline-5.c: Ditto.
	* gcc.target/arm/memset-inline-6.c: Ditto.
	* gcc.target/arm/memset-inline-8.c: Ditto.
	* gcc.target/arm/memset-inline-9.c: Ditto.

Attachment: fix-memset-inline-failures-20150306.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]