This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
call_value pattern
- To: gcc at gcc dot gnu dot org
- Subject: call_value pattern
- From: James Montgomerie <jrmg at dcs dot ed dot ac dot uk>
- Date: Wed, 24 Jan 2001 11:18:05 +0000 (GMT)
I am in the process of porting GCC to an architecture on which I need to
know the machine mode of the return value of a call inside the code
generated by the call_value instruction pattern. Testing the mode of the
register passed as operand 0 does not seem to work (it returns the wrong
mode, presumably because it hasn't actually been used yet), and I'm at a
loss to think of another way. Can anyone point me in the correct
direction?
Thanks,
Jamie.