Searched hist:9889 (Results 1 - 2 of 2) sorted by relevance
/gem5/src/arch/x86/ | ||
H A D | utility.hh | diff 9889:2dbc34e3b922 Mon Sep 30 03:42:00 EDT 2013 Andreas Sandberg <andreas@sandberg.pp.se> 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. |
H A D | utility.cc | diff 9889:2dbc34e3b922 Mon Sep 30 03:42:00 EDT 2013 Andreas Sandberg <andreas@sandberg.pp.se> 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. |
Completed in 23 milliseconds