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] Fix PR49715, (float)unsigned -> (float)signed


On 07/21/2011 01:16 PM, Joseph S. Myers wrote:
> On Thu, 21 Jul 2011, Richard Guenther wrote:
> 
>> Patch also handling wider modes and not starting with SImode but
>> the mode of int:
> 
> Use of target int for anything not about C ABIs is certainly wrong.  This 
> might be about what operations the target does efficiently, or what 
> functions are present in libgcc (both of which would be functions of 
> machine modes), but it's not about the choice of C int.
> 

Given that we've leaked other uses of the contents of optabs into the
gimple optimizers, would it be too gross to simply look at all of the
integer modes and ignore all those for which can_float_p is false?


r~


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