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
/
lib
/
jit_ia64.c
diff --git
a/deps/lightning/lib/jit_ia64.c
b/deps/lightning/lib/jit_ia64.c
index
5664762
..
1c35fb1
100644
(file)
--- a/
deps/lightning/lib/jit_ia64.c
+++ b/
deps/lightning/lib/jit_ia64.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 2013-20
19
Free Software Foundation, Inc.
+ * Copyright (C) 2013-20
22
Free Software Foundation, Inc.
*
* This file is part of GNU lightning.
*
*
* This file is part of GNU lightning.
*
@@
-1117,9
+1117,10
@@
_emit_code(jit_state_t *_jit)
jit_regarg_set(node, value);
switch (node->code) {
case jit_code_align:
jit_regarg_set(node, value);
switch (node->code) {
case jit_code_align:
- assert(!(node->u.w & (node->u.w - 1)) &&
- node->u.w <= sizeof(jit_word_t));
- /* nothing done */
+ assert(!(node->u.w & (node->u.w - 1)));
+ sync();
+ if (node->u.w > 8)
+ nop(node->u.w - 8);
break;
case jit_code_note: case jit_code_name:
sync();
break;
case jit_code_note: case jit_code_name:
sync();