This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: fixunssfsi fix for h8300
- To: 'Jason Merrill' <jason_merrill at redhat dot com>, Joern Rennecke <amylaar at redhat dot com>, Jakub Jelinek <jakub at redhat dot com>
- Subject: RE: fixunssfsi fix for h8300
- From: Kazu Hirata <kazu at hxi dot com>
- Date: Thu, 30 Aug 2001 10:42:34 -0400
- Cc: gcc-patches at gcc dot gnu dot org, law at redhat dot com
Hi Jason,
> It seems to me that a function named, say, __foodi2 should never
> operate on anything other than DImode operands, and that all the
> Wtype stuff is ill-conceived. Does anyone disagree?
I agree. For example, consider
UWtype
__fixunssfSI (SFtype a)
{
if (a >= - (SFtype) Wtype_MIN)
return (Wtype) (a + Wtype_MIN) - Wtype_MIN;
return (Wtype) a;
}
Is there anything wrong with s/Wtype/SItype/? Or is the problem much
deeper than this?
Kazu Hirata