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
spu: fix a wrong assumption
[pcsx_rearmed.git]
/
deps
/
lightning
/
include
/
lightning.h.in
diff --git
a/deps/lightning/include/lightning.h.in
b/deps/lightning/include/lightning.h.in
index
887a951
..
67c6af1
100644
(file)
--- a/
deps/lightning/include/lightning.h.in
+++ b/
deps/lightning/include/lightning.h.in
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 2012-20
19
Free Software Foundation, Inc.
+ * Copyright (C) 2012-20
22
Free Software Foundation, Inc.
*
* This file is part of GNU lightning.
*
*
* This file is part of GNU lightning.
*
@@
-24,6
+24,7
@@
#include <stdlib.h>
@MAYBE_INCLUDE_STDINT_H@
#include <string.h>
#include <stdlib.h>
@MAYBE_INCLUDE_STDINT_H@
#include <string.h>
+#include <pthread.h>
#if defined(__hpux) && defined(__hppa__)
# include <machine/param.h>
#if defined(__hpux) && defined(__hppa__)
# include <machine/param.h>
@@
-150,6
+151,8
@@
typedef jit_int32_t jit_fpr_t;
# include <lightning/jit_alpha.h>
#elif defined(__riscv)
# include <lightning/jit_riscv.h>
# include <lightning/jit_alpha.h>
#elif defined(__riscv)
# include <lightning/jit_riscv.h>
+#elif defined(__loongarch__)
+# include <lightning/jit_loongarch.h>
#endif
#define jit_flag_node 0x0001 /* patch node not absolute */
#endif
#define jit_flag_node 0x0001 /* patch node not absolute */
@@
-913,6
+916,10
@@
typedef enum {
#define jit_bswapr(u,v) jit_new_node_ww(jit_code_bswapr_ul,u,v)
#endif
#define jit_bswapr(u,v) jit_new_node_ww(jit_code_bswapr_ul,u,v)
#endif
+ jit_code_casr, jit_code_casi,
+#define jit_casr(u, v, w, x) jit_new_node_wwq(jit_code_casr, u, v, w, x)
+#define jit_casi(u, v, w, x) jit_new_node_wwq(jit_code_casi, u, v, w, x)
+
jit_code_last_code
} jit_code_t;
jit_code_last_code
} jit_code_t;
@@
-1081,6
+1088,10
@@
extern jit_node_t *_jit_new_node_www(jit_state_t*, jit_code_t,
extern jit_node_t *_jit_new_node_qww(jit_state_t*, jit_code_t,
jit_int32_t, jit_int32_t,
jit_word_t, jit_word_t);
extern jit_node_t *_jit_new_node_qww(jit_state_t*, jit_code_t,
jit_int32_t, jit_int32_t,
jit_word_t, jit_word_t);
+#define jit_new_node_wwq(c,u,v,l,h) _jit_new_node_wwq(_jit,c,u,v,l,h)
+extern jit_node_t *_jit_new_node_wwq(jit_state_t*, jit_code_t,
+ jit_word_t, jit_word_t,
+ jit_int32_t, jit_int32_t);
#define jit_new_node_wwf(c,u,v,w) _jit_new_node_wwf(_jit,c,u,v,w)
extern jit_node_t *_jit_new_node_wwf(jit_state_t*, jit_code_t,
jit_word_t, jit_word_t, jit_float32_t);
#define jit_new_node_wwf(c,u,v,w) _jit_new_node_wwf(_jit,c,u,v,w)
extern jit_node_t *_jit_new_node_wwf(jit_state_t*, jit_code_t,
jit_word_t, jit_word_t, jit_float32_t);