On 10/28/2014 03:56 PM, Bernd Schmidt wrote:
> +nvptx_ptx_type_from_mode (enum machine_mode mode, bool promote)
> +{
> +  switch (mode)
> +    {
> +    case BLKmode:
> +      return ".b8";
> +    case BImode:
> +      return ".pred";
> +    case QImode:
> +      if (promote)
> +     return ".u32";
> +      else
> +     return ".u8";
> +    case HImode:
> +      return ".u16";

Promote here too?  Or does this have nothing to do with

> +static enum machine_mode
> +arg_promotion (enum machine_mode mode)
> +{
> +  if (mode == QImode || mode == HImode)
> +    return SImode;
> +  return mode;
> +}


r~

Reply via email to