On Thu, Sep 20, 2012 at 1:59 AM, Richard Henderson wrote:
> On 09/18/2012 05:23 PM, Max Filippov wrote:
>> +uint32_t HELPER(ftoi)(float32 v, uint32_t rounding_mode, uint32_t scale)
>> +{
>> +float_status fp_status = {0};
>> +
>> +set_float_rounding_mode(rounding_mode, &fp_status);
>> +
On 09/18/2012 05:23 PM, Max Filippov wrote:
> +uint32_t HELPER(ftoi)(float32 v, uint32_t rounding_mode, uint32_t scale)
> +{
> +float_status fp_status = {0};
> +
> +set_float_rounding_mode(rounding_mode, &fp_status);
> +return float32_to_int32(
> +float32_scalbn(v, scale, &f