This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Use of FLAGS_REGNUM clashes with generates insn
- From: Joern Rennecke <amylaar at spamcop dot net>
- To: "Paulo J. Matos" <paulo at matos-sorge dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 23 Sep 2011 03:21:16 -0400
- Subject: Re: Use of FLAGS_REGNUM clashes with generates insn
- References: <j5fv45$ge7$1@dough.gmane.org>
Quoting "Paulo J. Matos" <paulo@matos-sorge.com>:
My addition instruction sets all the flags. So I have:
This is annoying, but can be handled. Been there, done that.
dse.c needs a small patch, which I intend to submit sometime in the future.
And all my (define_insn "*mov..." are tagged with a (clobber (reg:CC
RCC)). This generates all kinds of trouble since GCC generates moves
internally without the clobber that fail to match.
I don't think that can be overcome without cc0. Unless you want to
hide your flags register altogether.