This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, AArch64] Add/Sub and set flags instructions in extend and shift_extend mode
- 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
- Date: Tue, 16 Apr 2013 14:28:28 +0100
- Subject: Re: [PATCH, AArch64] Add/Sub and set flags instructions in extend and shift_extend mode
- References: <dc27d0b988e74f338fa2b5244d8eb9fa at SN2PR07MB029 dot namprd07 dot prod dot outlook dot com>
On 12/04/13 12:38, Hurugalawadi, Naveen wrote:
--- gcc/testsuite/gcc.target/aarch64/adds3.c 1970-01-01 05:30:00.000000000 +0530
+++ gcc/testsuite/gcc.target/aarch64/adds3.c 2013-04-12 16:18:29.472945730 +0530
@@ -0,0 +1,61 @@
+/* { dg-do run } */
+/* { dg-options "-O2 --save-temps" } */
+
Same comment as previous patch:
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.
Thankyou
/Marcus