Interaction between optimizer and inline asm in gcc?

Christopher Brian Colohan <colohan+@cs.cmu.edu>
17 May 2002 00:27:03 -0400

          From comp.compilers

Related articles
Interaction between optimizer and inline asm in gcc? colohan+@cs.cmu.edu (Christopher Brian Colohan) (2002-05-17)
Re: Interaction between optimizer and inline asm in gcc? loewis@informatik.hu-berlin.de (2002-05-23)
Re: Interaction between optimizer and inline asm in gcc? sam@zoy.org (2002-05-23)
Re: Interaction between optimizer and inline asm in gcc? journeyman@compilerguru.com (2002-05-23)
Re: Interaction between optimizer and inline asm in gcc? kg_russell@yahoo.co.uk (2002-05-23)
| List of all articles for this month |
From: Christopher Brian Colohan <colohan+@cs.cmu.edu>
Newsgroups: comp.compilers
Date: 17 May 2002 00:27:03 -0400
Organization: Carnegie Mellon Univ. -- Computer Science Dept.
Keywords: GCC, question
Posted-Date: 17 May 2002 00:27:03 EDT

I am working on an architecture research project where we are using
inline assembly instructions to instrument and change the behaviour of
loops.


I was wondering if anyone has looked into the impact of doing this on
gcc's optimizer: in other words, how conservatively does gcc treat
inline asm statements? For example, would inserting such a statement
inhibit loop unrolling?


Thanks!


Chris
--
Chris Colohan Email: chris@colohan.ca PGP: finger colohan@cs.cmu.edu
Web: www.cs.cmu.edu/~colohan Phone: (412)268-4751


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.