mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-07 18:30:25 +02:00
Define extra SSE2 xmmN registers and set JIT_FPTMP to the topmost one.
This commit is contained in:
parent
fb86d498a4
commit
adc42ad2ad
2 changed files with 11 additions and 3 deletions
|
@ -103,6 +103,14 @@ typedef _uc jit_insn;
|
|||
#define _XMM5 0x75
|
||||
#define _XMM6 0x76
|
||||
#define _XMM7 0x77
|
||||
#define _XMM8 0x78
|
||||
#define _XMM9 0x79
|
||||
#define _XMM10 0x7a
|
||||
#define _XMM11 0x7b
|
||||
#define _XMM12 0x7c
|
||||
#define _XMM13 0x7d
|
||||
#define _XMM14 0x7e
|
||||
#define _XMM15 0x7f
|
||||
|
||||
#define _ST0 0
|
||||
#define _ST1 1
|
||||
|
|
|
@ -35,10 +35,10 @@
|
|||
|
||||
#include <float.h>
|
||||
|
||||
#define JIT_FPR_NUM 9
|
||||
#define JIT_FPR_NUM 8
|
||||
#define JIT_FPRET _XMM0
|
||||
#define JIT_FPR(i) (_XMM7 + (i))
|
||||
#define JIT_FPTMP _XMM6
|
||||
#define JIT_FPR(i) (_XMM8 + (i))
|
||||
#define JIT_FPTMP _XMM15
|
||||
|
||||
/* Either use a temporary register that is finally AND/OR/XORed with RS = RD,
|
||||
or use RD as the temporary register and to the AND/OR/XOR with RS. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue