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: some cdda/xa reverb support
[pcsx_rearmed.git]
/
deps
/
lightning
/
lib
/
jit_aarch64-fpu.c
diff --git
a/deps/lightning/lib/jit_aarch64-fpu.c
b/deps/lightning/lib/jit_aarch64-fpu.c
index
7c40539
..
3d17e32
100644
(file)
--- a/
deps/lightning/lib/jit_aarch64-fpu.c
+++ b/
deps/lightning/lib/jit_aarch64-fpu.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 2013-202
2
Free Software Foundation, Inc.
+ * Copyright (C) 2013-202
3
Free Software Foundation, Inc.
*
* This file is part of GNU lightning.
*
*
* This file is part of GNU lightning.
*
@@
-862,6
+862,7
@@
dbopi(ltgt)
static void
_vaarg_d(jit_state_t *_jit, jit_int32_t r0, jit_int32_t r1)
{
static void
_vaarg_d(jit_state_t *_jit, jit_int32_t r0, jit_int32_t r1)
{
+#if !__APPLE__
jit_word_t ge_code;
jit_word_t lt_code;
jit_int32_t rg0, rg1;
jit_word_t ge_code;
jit_word_t lt_code;
jit_int32_t rg0, rg1;
@@
-891,7
+892,7
@@
_vaarg_d(jit_state_t *_jit, jit_int32_t r0, jit_int32_t r1)
jit_unget_reg(rg1);
/* Jump over overflow code. */
jit_unget_reg(rg1);
/* Jump over overflow code. */
- lt_code = jmpi
_p
(_jit->pc.w);
+ lt_code = jmpi(_jit->pc.w);
/* Where to land if argument is in overflow area. */
patch_at(ge_code, _jit->pc.w);
/* Where to land if argument is in overflow area. */
patch_at(ge_code, _jit->pc.w);
@@
-910,5
+911,10
@@
_vaarg_d(jit_state_t *_jit, jit_int32_t r0, jit_int32_t r1)
patch_at(lt_code, _jit->pc.w);
jit_unget_reg(rg0);
patch_at(lt_code, _jit->pc.w);
jit_unget_reg(rg0);
+#else
+ assert(_jitc->function->self.call & jit_call_varargs);
+ ldr_d(r0, r1);
+ addi(r1, r1, sizeof(jit_float64_t));
+#endif
}
#endif
}
#endif