cpu_fp_operate.h File Reference
Detailed Description
Contains code macros for the processor floating-point operate instructions.
Based on ARM chapter 4.10.
- Id
- cpu_fp_operate.h,v 1.21 2008/03/14 15:30:52 iamcamiel Exp
X-1.20 Camiel Vanderhoeven 14-MAR-2008 1. More meaningful exceptions replace throwing (int) 1. 2. U64 macro replaces X64 macro.
X-1.19 Brian Wheeler 27-FEB-2008 Avoid compiler warnings.
X-1.18 Camiel Vanderhoeven 06-FEB-2008 Check for FPEN in old floating point code.
X-1.17 Camiel Vanderhoeven 05-FEB-2008 Only use new floating-point code when HAVE_NEW_FP has been defined.
X-1.16 Camiel Vanderhoeven 05-feb-2008 Put X64 around 64-bit constants in DO_CVTQL.
X-1.15 Camiel Vanderhoeven 28-JAN-2008 Better floating-point exception handling.
X-1.14 Camiel Vanderhoeven 27-JAN-2008 Minor floating-point improvements.
X-1.13 Camiel Vanderhoeven 22-JAN-2008 Completed new floating-point code.
X-1.12 Camiel Vanderhoeven 21-JAN-2008 Implement new floating-point code for most operations.
X-1.11 Camiel Vanderhoeven 18-JAN-2008 Replaced sext_64 inlines with sext_u64_<bits> inlines for performance reasons (thanks to David Hittner for spotting this!);
X-1.10 Camiel Vanderhoeven 2-DEC-2007 Use sext_64 inline.
X-1.9 Camiel Vanderhoeven 16-NOV-2007 Avoid more compiler warnings.
X-1.8 Camiel Vanderhoeven 08-NOV-2007 Added ITOFS, ITOFF.
X-1.7 Camiel Vanderhoeven 08-NOV-2007 Restructured conversion routines.
X-1.6 Camiel Vanderhoeven 02-NOV-2007 Added missing floating point instructions.
X-1.5 Marcelo Eduardo Serrat 31-OCT-2007 Added CVTDG, CVTGD, CVTGF, MULG instructions.
X-1.4 Camiel Vanderhoeven 11-APR-2007 Moved all data that should be saved to a state file to a structure "state".
X-1.3 Camiel Vanderhoeven 30-MAR-2007 Added old changelog comments.
X-1.2 Camiel Vanderhoeven 13-MAR-2007 Basic floating point support added.
X-1.1 Camiel Vanderhoeven 18-FEB-2007 File created. Contains code previously found in AlphaCPU.h
- Author:
- Camiel Vanderhoeven (camiel@camicom.com / http://www.camicom.com)
Definition in file cpu_fp_operate.h.
Go to the source code of this file.
Define Documentation
Value:
FPSTART; \
temp_64 = state.f[FREG_1]; \
state.r[REG_3] = (temp_64 & U64(0x000000003fffffff)) | \
((temp_64 & U64(0xc000000000000000)) >> 32) | \
(((temp_64 & U64(0x8000000000000000)) >> 31) * U64(0xffffffff));
Definition at line 401 of file cpu_fp_operate.h.