x86: Replace getDoubleBits with floatToBits64.
authorGabe Black <gabeblack@google.com>
Wed, 19 Aug 2020 09:46:49 +0000 (02:46 -0700)
committerGabe Black <gabeblack@google.com>
Thu, 20 Aug 2020 05:02:47 +0000 (05:02 +0000)
commit7f7f2f04888248471e7fe19415dfdf6e0ae301ef
tree49a059a9e38df65aec8f23587a9214f170fe0b9b
parent1f7cc16a700daccce3f6a12df4e81c52460511c0
x86: Replace getDoubleBits with floatToBits64.

The getDoubleBits function was used exactly once to find the bit
representation of a double floating point value, which is the same thing
the common floatToBits64 function does. Eliminate x86's one off version,
and use the common one instead.

Change-Id: Icb0cec5a55d81a6eacf1bb5a3c2b8f16c414d0d9
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/32927
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/x86/isa/microops/limmop.isa
src/arch/x86/utility.hh