diff options
author | Andreas Sandberg <andreas@sandberg.pp.se> | 2013-09-30 09:42:30 +0200 |
---|---|---|
committer | Andreas Sandberg <andreas@sandberg.pp.se> | 2013-09-30 09:42:30 +0200 |
commit | cccca70149d585d03ea5613c672ceebf00ec36f7 (patch) | |
tree | c23dbb8931078f59bc7669f518b2c2afaded37c4 /src/cpu/intr_control_noisa.cc | |
parent | d3937f3b373ee9b1af09176d8a7d86eb6fcf790f (diff) | |
download | gem5-cccca70149d585d03ea5613c672ceebf00ec36f7.tar.xz |
x86: Add support routines to load and store 80-bit floats
The x87 FPU on x86 supports extended floating point. We currently
handle all floating point on x86 as double and don't support 80-bit
loads/stores. This changeset add a utility function to load and
convert 80-bit floats to doubles (loadFloat80) and another function to
store doubles as 80-bit floats (storeFloat80). Both functions use
libfputils to do the conversion in software. The functions are
currently not used, but are required to handle floating point in KVM
and to properly support all x87 loads/stores.
Diffstat (limited to 'src/cpu/intr_control_noisa.cc')
0 files changed, 0 insertions, 0 deletions