lightning.git - Portable just-in-time compiler library

index : lightning.git
Portable just-in-time compiler library
summary refs log tree commit diff
path: root/lib/jit_hppa.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/jit_hppa.c')
-rw-r--r--lib/jit_hppa.c 7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/jit_hppa.c b/lib/jit_hppa.c
index 289542f..636f364 100644
--- a/lib/jit_hppa.c
+++ b/lib/jit_hppa.c
@@ -722,6 +722,13 @@ _emit_code(jit_state_t *_jit)
value = jit_classify(node->code);
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));
+ if (node->u.w == sizeof(jit_word_t) &&
+ (word = _jit->pc.w & (sizeof(jit_word_t) - 1)))
+ nop(sizeof(jit_word_t) - word);
+ break;
case jit_code_note: case jit_code_name:
node->u.w = _jit->pc.w;
break;
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月17日 12:45:40 +0000

AltStyle によって変換されたページ (->オリジナル) /