Fix hipe_rtl_binary_construct:floorlog2/1
Fix hipe_rtl_binary_construct:floorlog2/1

Relying on double-precision floating-point arithmetic to compute the
log2 of an integer up to 64 bits long leads to rounding errors.

johanclaesson/otp,emacsmirror/erlang,kvakvs/otp,potatosalad/otp,vinoski/otp,dumbbell/otp,matwey/otp,release-project/otp,release-project/otp,dgud/otp,massemanet/otp,emile/otp,getong/otp,basho/otp,potatosalad/otp,getong/otp,uabboli/otp,bugs-erlang-org/otp,msantos/otp,tuncer/otp,lemenkov/otp,rlipscombe/otp,fenollp/otp,dumbbell/otp,bernardd/otp,jj1bdx/otp,g-andrade/otp,tuncer/otp,dgud/otp,massemanet/otp,weisslj/otp,fenollp/otp,electricimp/otp,massemanet/otp,basho/otp,bernardd/otp,lightcyphers/otp,saleyn/otp,mikpe/otp,kvakvs/otp,isvilen/otp,hairyhum/otp,mikpe/otp,vinoski/otp,saleyn/otp,weisslj/otp,dumbbell/otp,legoscia/otp,electricimp/otp,bsmr-erlang/otp,rlipscombe/otp,isvilen/otp,dgud/otp,johanclaesson/otp,emile/otp,weisslj/otp,matwey/otp,RoadRunnr/otp,dumbbell/otp,RoadRunnr/otp,goertzenator/otp,isvilen/otp,lemenkov/otp,cobusc/otp,falkevik/otp,legoscia/otp,emile/otp,vladdu/otp,uabboli/otp,mikpe/otp,falkevik/otp,goertzenator/otp,johanclaesson/otp,g-andrade/otp,lightcyphers/otp,weisslj/otp,fenollp/otp,cobusc/otp,matwey/otp,potatosalad/otp,falkevik/otp,RaimoNiskanen/otp,basho/otp,emile/otp,fenollp/otp,emacsmirror/erlang,neeraj9/otp,hairyhum/otp,goertzenator/otp,aboroska/otp,neeraj9/otp,uabboli/otp,rlipscombe/otp,isvilen/otp,erlang/otp,aboroska/otp,dumbbell/otp,RaimoNiskanen/otp,vinoski/otp,psyeugenic/otp,bjorng/otp,kvakvs/otp,emacsmirror/erlang,uabboli/otp,vinoski/otp,ferd/otp,release-project/otp,msantos/otp,isvilen/otp,matwey/otp,tuncer/otp,bjorng/otp,rlipscombe/otp,psyeugenic/otp,emile/otp,goertzenator/otp,getong/otp,emacsmirror/erlang,bugs-erlang-org/otp,matwey/otp,RoadRunnr/otp,basho/otp,aboroska/otp,ahmedshafeeq/otp,vinoski/otp,electricimp/otp,kvakvs/otp,basho/otp,mikpe/otp,erlang/otp,hairyhum/otp,ahmedshafeeq/otp,bjorng/otp,dumbbell/otp,lrascao/otp,falkevik/otp,potatosalad/otp,emile/otp,derek121/otp,ahmedshafeeq/otp,falkevik/otp,lightcyphers/otp,tuncer/otp,g-andrade/otp,electricimp/otp,matwey/otp,getong/otp,rlipscombe/otp,erlang/otp,legoscia/otp,RaimoNiskanen/otp,lrascao/otp,potatosalad/otp,neeraj9/otp,bjorng/otp,jj1bdx/otp,derek121/otp,lemenkov/otp,isvilen/otp,jj1bdx/otp,dumbbell/otp,lemenkov/otp,tuncer/otp,vladdu/otp,derek121/otp,bsmr-erlang/otp,aboroska/otp,johanclaesson/otp,msantos/otp,bugs-erlang-org/otp,falkevik/otp,fenollp/otp,uabboli/otp,cobusc/otp,matwey/otp,jj1bdx/otp,bjorng/otp,kvakvs/otp,saleyn/otp,electricimp/otp,neeraj9/otp,derek121/otp,RoadRunnr/otp,tuncer/otp,RoadRunnr/otp,vladdu/otp,kvakvs/otp,vladdu/otp,isvilen/otp,dgud/otp,dgud/otp,getong/otp,ahmedshafeeq/otp,legoscia/otp,mikpe/otp,vladdu/otp,matwey/otp,emacsmirror/erlang,msantos/otp,release-project/otp,potatosalad/otp,bjorng/otp,bsmr-erlang/otp,bernardd/otp,vinoski/otp,hairyhum/otp,goertzenator/otp,saleyn/otp,RaimoNiskanen/otp,johanclaesson/otp,uabboli/otp,bernardd/otp,erlang/otp,fenollp/otp,msantos/otp,ahmedshafeeq/otp,potatosalad/otp,falkevik/otp,goertzenator/otp,bjorng/otp,legoscia/otp,ferd/otp,RaimoNiskanen/otp,rlipscombe/otp,emacsmirror/erlang,potatosalad/otp,dumbbell/otp,kvakvs/otp,lemenkov/otp,RaimoNiskanen/otp,lrascao/otp,uabboli/otp,release-project/otp,dgud/otp,basho/otp,getong/otp,getong/otp,bugs-erlang-org/otp,tuncer/otp,cobusc/otp,rlipscombe/otp,mikpe/otp,getong/otp,vladdu/otp,neeraj9/otp,hairyhum/otp,jj1bdx/otp,cobusc/otp,ahmedshafeeq/otp,aboroska/otp,goertzenator/otp,vladdu/otp,release-project/otp,goertzenator/otp,weisslj/otp,msantos/otp,erlang/otp,massemanet/otp,mikpe/otp,lightcyphers/otp,basho/otp,bsmr-erlang/otp,psyeugenic/otp,bernardd/otp,erlang/otp,derek121/otp,lightcyphers/otp,isvilen/otp,release-project/otp,ferd/otp,getong/otp,kvakvs/otp,vladdu/otp,potatosalad/otp,isvilen/otp,psyeugenic/otp,g-andrade/otp,johanclaesson/otp,legoscia/otp,bernardd/otp,emile/otp,RoadRunnr/otp,dgud/otp,erlang/otp,uabboli/otp,msantos/otp,neeraj9/otp,electricimp/otp,bsmr-erlang/otp,erlang/otp,g-andrade/otp,dumbbell/otp,lightcyphers/otp,psyeugenic/otp,saleyn/otp,emile/otp,bjorng/otp,bsmr-erlang/otp,legoscia/otp,mikpe/otp,dgud/otp,emacsmirror/erlang,falkevik/otp,hairyhum/otp,massemanet/otp,lemenkov/otp,bugs-erlang-org/otp,vladdu/otp,isvilen/otp,RoadRunnr/otp,tuncer/otp,lemenkov/otp,bjorng/otp,emacsmirror/erlang,RaimoNiskanen/otp,vinoski/otp,ahmedshafeeq/otp,g-andrade/otp,jj1bdx/otp,neeraj9/otp,weisslj/otp,uabboli/otp,aboroska/otp,RoadRunnr/otp,saleyn/otp,lrascao/otp,bernardd/otp,electricimp/otp,cobusc/otp,rlipscombe/otp,aboroska/otp,aboroska/otp,vinoski/otp,massemanet/otp,lrascao/otp,tuncer/otp,lemenkov/otp,hairyhum/otp,bsmr-erlang/otp,RaimoNiskanen/otp,massemanet/otp,emacsmirror/erlang,legoscia/otp,weisslj/otp,release-project/otp,bernardd/otp,neeraj9/otp,RaimoNiskanen/otp,weisslj/otp,johanclaesson/otp,ferd/otp,erlang/otp,jj1bdx/otp,jj1bdx/otp,massemanet/otp,g-andrade/otp,goertzenator/otp,aboroska/otp,lrascao/otp,psyeugenic/otp,lrascao/otp,ferd/otp,dgud/otp,hairyhum/otp,weisslj/otp,mikpe/otp,bjorng/otp,derek121/otp,bugs-erlang-org/otp,dumbbell/otp,RoadRunnr/otp,ferd/otp,lightcyphers/otp,ahmedshafeeq/otp,rlipscombe/otp,ferd/otp,getong/otp,falkevik/otp,erlang/otp,kvakvs/otp,g-andrade/otp,ferd/otp,potatosalad/otp,basho/otp,bugs-erlang-org/otp,mikpe/otp,electricimp/otp,psyeugenic/otp,emile/otp,bsmr-erlang/otp,jj1bdx/otp,lrascao/otp,bsmr-erlang/otp,legoscia/otp,lrascao/otp,johanclaesson/otp,fenollp/otp,derek121/otp,msantos/otp,jj1bdx/otp,bugs-erlang-org/otp,matwey/otp,fenollp/otp,electricimp/otp,psyeugenic/otp,derek121/otp,saleyn/otp,dgud/otp,release-project/otp,fenollp/otp,basho/otp,vinoski/otp,saleyn/otp,cobusc/otp,lightcyphers/otp,ahmedshafeeq/otp,emacsmirror/erlang,massemanet/otp,bernardd/otp,g-andrade/otp,vinoski/otp,ferd/otp,g-andrade/otp,rlipscombe/otp,saleyn/otp,cobusc/otp