Binary floating point translation method aiming at SSE2 instructions
A binary and floating-point technology, applied to concurrent instruction execution, program control design, instruments, etc., can solve problems such as poor efficiency, high overhead, and inconvenient floating-point registers, and achieve allocation and replacement, reduce memory access overhead, and reduce coupling effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment
[0020] This embodiment is used to translate the single-precision floating-point instruction ADD.S fd under the MIPS architecture, fs, and ft into the SSE2 instruction ADDSD (xmm1, xmm2) under the X86 architecture, and the steps are as follows:
[0021] The first step is to build an intermediate floating-point instruction set for SSE2 instructions.
[0022] The intermediate floating-point instruction set includes: memory access instructions, data operation instructions, data movement instructions and register state mapping instructions, wherein: memory access instructions include: loading data from memory to register FLD and storing data from registers to memory FST; data operation instructions include: single-precision floating-point addition FSADDS, double-precision floating-point addition FSADDD, single-precision floating-point subtraction FSSUBS, double-precision floating-point subtraction FSSUBD, single-precision floating-point multiplication FSMULS, double-precision floati...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More