This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ia32: regmove
- To: rth at cygnus dot com (Richard Henderson)
- Subject: Re: ia32: regmove
- From: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Date: Thu, 26 Aug 1999 22:26:38 +0100 (BST)
- Cc: gcc-patches at gcc dot gnu dot org, amylaar at cygnus dot com
> We currently only check for live flags if we're planning on adding
> a new insn, which is clearly not correct. Whether or not the flags
> are disturbed by `insn' is not readily available, but whether the
> flags are live for `p' is. My proposed solution appended.
The flags register won't be clobbered if GET_CODE (PATTERN (p)) == SET .
For most machines, that is the common case.