[Ada] Do not use 128-bit division for 64-bit fixed-point types
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 4 Nov 2020 16:27:17 +0000 (17:27 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 27 Nov 2020 09:15:58 +0000 (04:15 -0500)
commit9884fc7e79e0753299169a5045ba054520896ac6
tree700ea05e06eb8c75aac2379d41aa6f0d4b61eeb3
parent7d4ee5f8e2ab894fdeaa67824eb32103cda947f8
[Ada] Do not use 128-bit division for 64-bit fixed-point types

gcc/ada/

* exp_fixd.adb (Build_Double_Divide): Only use a 128-bit
division if one of the operands is larger than 64 bits.
(Build_Double_Divide_Code): Likewise.
(Build_Scaled_Divide): Likewise.
(Build_Scaled_Divide_Code): Likewise.
gcc/ada/exp_fixd.adb