This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [AArch64] Bitwise adds and subs instructions with shift
- From: Marcus Shawcroft <marcus dot shawcroft at arm dot com>
- To: "Hurugalawadi, Naveen" <Naveen dot Hurugalawadi at caviumnetworks dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 16 Apr 2013 13:55:12 +0100
- Subject: Re: [AArch64] Bitwise adds and subs instructions with shift
- References: <F3068DEED1A463459E0887A091B15493123546F4 at BY2PRD0710MB364 dot namprd07 dot prod dot outlook dot com>,<51548DBF dot 3080607 at arm dot com> <F3068DEED1A463459E0887A091B154931235E2ED at SN2PRD0710MB372 dot namprd07 dot prod dot outlook dot com>
On 02/04/13 08:10, Hurugalawadi, Naveen wrote:
(compare:CC_NZ
--- gcc/testsuite/gcc.target/aarch64/adds1.c 1970-01-01 05:30:00.000000000 +0530
+++ gcc/testsuite/gcc.target/aarch64/adds1.c 2013-04-01 13:40:48.189390503 +0530
@@ -0,0 +1,149 @@
+/* { dg-do run } */
+/* { dg-options "-O2 --save-temps" } */
+
dg-options will need to include -fno-inline, otherwise main gets
optimized down to { return 0; } and the execution aspect of these test
cases has no value.
With that change, OK.
/Marcus