2 * Copyright (C) 2013-2023 Free Software Foundation, Inc.
4 * This file is part of GNU lightning.
6 * GNU lightning is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU Lesser General Public License as published
8 * by the Free Software Foundation; either version 3, or (at your option)
11 * GNU lightning is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
14 * License for more details.
17 * Paulo Cesar Pereira de Andrade
23 #define JIT_HASH_CONSTS 1
24 #define JIT_NUM_OPERANDS 3
30 _R0, /* Always zero */
31 _R1, /* ADDIL implicit target */
32 _R2, /* B,L implicit target */
34 #define jit_r(n) ((n) < 3 ? _R4 + (n) : _R10 + (n) - 3)
35 #define jit_v_num() 11
36 #define jit_v(n) ((n) < 3 ? _R7 + (n) : _R11 + (n) - 3)
38 #define jit_f(n) (_F12 - (n))
81 _R27, /* Data Pointer */
82 _R30, /* Stack Pointer */
83 _R31, /* Link register */
125 /* Floating-Pointer Status and Exception */
130 #define JIT_NOREG _NOREG
134 #endif /* _jit_hppa */