This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RFA: patch solving PR/15653 for itanium1
- From: Vladimir Makarov <vmakarov at redhat dot com>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 15 Jun 2004 12:14:45 -0400
- Subject: RFA: patch solving PR/15653 for itanium1
The following patch solves PR 15653 (test lock.c). The details are
in bugzilla.
Is it ok to commit to the main line and gcc-3.4 branch?
Vlad
2004-06-15 Vladimir Makarov <vmakarov@redhat.com>
PR target/15653
* config/ia64/ia64.c (ia64_dfa_new_cycle): Do not insert nops
after shifts before asm.
Index: config/ia64/ia64.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/ia64/ia64.c,v
retrieving revision 1.265.2.8
diff -u -p -r1.265.2.8 ia64.c
--- config/ia64/ia64.c 8 Jun 2004 15:56:52 -0000 1.265.2.8
+++ config/ia64/ia64.c 15 Jun 2004 16:03:16 -0000
@@ -6275,7 +6275,9 @@ ia64_dfa_new_cycle (FILE *dump, int verb
}
else if (reload_completed)
setup_clocks_p = TRUE;
- if (setup_clocks_p && ia64_tune == PROCESSOR_ITANIUM)
+ if (setup_clocks_p && ia64_tune == PROCESSOR_ITANIUM
+ && GET_CODE (PATTERN (insn)) != ASM_INPUT
+ && asm_noperands (PATTERN (insn)) == 0)
{
enum attr_itanium_class c = ia64_safe_itanium_class (insn);