This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: passing information to back-end from source code?
- To: Michael Poole <poole at troilus dot org>
- Subject: Re: passing information to back-end from source code?
- From: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Date: Tue, 15 Aug 2000 18:03:44 +0100 (BST)
- CC: gcc at gcc dot gnu dot org
> and then write to a C variable given that register number. However,
> the regmove pass is moving the constant 0 or 1 into another register
> and then trying to assign to R33 from that register (and so it loses
> the information I wanted to pass). I cannot see why it does that (or
> even which macros tell GCC that the sequence of loads/moves it
> generates while not generating the obvious "move R33, 0") -- in
> particular, R33 is in its own register class.
This sounds like regmove has misunderstood your move pattern and thinks
the source needs to be a register. How does the definition of the
move pattern in the *.md file look like?