This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Relax AltiVec integral parameter/literal type checking
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: Ziemowit Laski <zlaski at apple dot com>
- Cc: "gcc-patches at gcc dot gnu dot org Patches" <gcc-patches at gcc dot gnu dot org>, aldyh at redhat dot com, fjahanian at apple dot com
- Date: Thu, 20 May 2004 14:46:55 -0700
- Subject: Re: PATCH: Relax AltiVec integral parameter/literal type checking
- References: <48E5FF7D-A3A5-11D8-B762-000393673036@apple.com>
On Tue, May 11, 2004 at 04:45:29PM -0700, Ziemowit Laski wrote:
> Continuing on my path to redemption...
>
> This builds on Janis' discovery that AltiVec is now too strict (in the C
> case, anyway) about requiring integral type parameters to have exactly
> type 'int', which the AltiVec standard does not require; similar for
> literal arguments. The solution is to _remove_ the type checks for
> these integral parameters/literals, esp. since they don't add any
> value in the overload resolution we're implementing.
>
> As you can see, this simplifies the C portion of altivec.h quite bit;
> for intrinsics that accept only integral parameters, the ..._args_eq
> tests have been removed completely.
>
> OK to commit if there are no regressions (tests presently running)?
What's the status of this patch?
I'd like to try it but it showed up in my mailer with line breaks,
and also has line breaks if I get it from the mailing list archives.
Janis