This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, spu] fix wrong parameter type in spu intrinsics


On 2/5/08, Sa Liu <SALIU@de.ibm.com> wrote:
> The spu intrinsics spu_convtf, spu_convts and spu_convtu have parameter
> scale of type unsigned int (7-bit literal). Values outside  the range of
> [0, 127] should be flagged as an error and compilation is terminated.
> Currently the compiler doesn't output the error message, but terminates
> with an internal compiler error. This has been fixed by specifying proper
> argument type in the built-in defination.
>
> Ok for mainline?

This is ok with testcases and a changelog entry.

Thanks,
Andrew Pinski


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]