notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
git subrepo pull (merge) --force deps/lightning
[pcsx_rearmed.git]
/
deps
/
lightning
/
include
/
lightning
/
jit_mips.h
diff --git
a/deps/lightning/include/lightning/jit_mips.h
b/deps/lightning/include/lightning/jit_mips.h
index
eb7d783
..
52aebcc
100644
(file)
--- a/
deps/lightning/include/lightning/jit_mips.h
+++ b/
deps/lightning/include/lightning/jit_mips.h
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 2012-20
19
Free Software Foundation, Inc.
+ * Copyright (C) 2012-20
23
Free Software Foundation, Inc.
*
* This file is part of GNU lightning.
*
*
* This file is part of GNU lightning.
*
@@
-25,6
+25,8
@@
#if _MIPS_SIM != _ABIO32
# define NEW_ABI 1
#if _MIPS_SIM != _ABIO32
# define NEW_ABI 1
+#else
+# define NEW_ABI 0
#endif
/*
#endif
/*
@@
-34,9
+36,9
@@
typedef enum {
#define jit_r(i) (_V0 + (i))
#if NEW_ABI
typedef enum {
#define jit_r(i) (_V0 + (i))
#if NEW_ABI
-# define jit_r_num()
7
+# define jit_r_num()
8
#else
#else
-# define jit_r_num() 1
1
+# define jit_r_num() 1
2
#endif
#define jit_v(i) (_S0 + (i))
#define jit_v_num() 8
#endif
#define jit_v(i) (_S0 + (i))
#define jit_v_num() 8
@@
-55,6
+57,7
@@
typedef enum {
# define JIT_R4 _T6
# define JIT_R5 _T7
# define JIT_R6 _T8
# define JIT_R4 _T6
# define JIT_R5 _T7
# define JIT_R6 _T8
+# define JIT_R7 _T9
#else
# define JIT_R2 _T0
# define JIT_R3 _T1
#else
# define JIT_R2 _T0
# define JIT_R3 _T1
@@
-65,6
+68,7
@@
typedef enum {
# define JIT_R8 _T6
# define JIT_R9 _T7
# define JIT_R10 _T8
# define JIT_R8 _T6
# define JIT_R9 _T7
# define JIT_R10 _T8
+# define JIT_R11 _T9
#endif
_V0, _V1,
#if !NEW_ABI
#endif
_V0, _V1,
#if !NEW_ABI
@@
-112,4
+116,13
@@
typedef enum {
_NOREG,
} jit_reg_t;
_NOREG,
} jit_reg_t;
+typedef struct {
+ jit_uint32_t release : 4;
+} jit_cpu_t;
+
+/*
+ * Initialization
+ */
+extern jit_cpu_t jit_cpu;
+
#endif /* _jit_mips_h */
#endif /* _jit_mips_h */