This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
promoting function arguments - GCC 4.1.1
- From: "Rohit Arul Raj" <rohitarulraj at gmail dot com>
- To: gcc <gcc at gcc dot gnu dot org>
- Date: Tue, 12 Jun 2007 18:36:34 +0530
- Subject: promoting function arguments - GCC 4.1.1
Hi all,
I have added two new data types for GCC 4.1.1 (for private target).
They are fixed and accum.
Variants of fixed are,
short fixed (1 byte)
fixed (4 byte)
long fixed (8 byte).
While passing short fixed as a function argument, i want to promote it
to fixed type. I tried using PROMOTE_FUNCTION_MODE. But it is not
getting invoked.
Is there any other target hook used for doing this?
Regards,
Rohit