2 * Copyright (C) 2013-2019 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 2
31 #define jit_r(i) (_R12 + ((i) << 1))
33 #define jit_v(i) (_R11 + ((i) << 1))
35 #define jit_f(i) (_F8 + (i))
43 _R0, _R1, /* Volatile */
44 _R12, /* Saved, GOT */
45 _R11, _R10, _R9, _R8, /* Saved */
47 _R6, /* Saved, parameter */
48 _R5, _R4, _R3, /* Parameter passing */
49 _R2, /* Volatile, parameter and return value */
50 _R13, /* Saved, literal pool pointer */
51 _R14, /* Volatile, return address */
52 _R15, /* Saved, stack pointer */
59 _F1, _F3, _F5, _F7, /* Volatile */
60 _F14, _F15, _F8, _F9, /* Saved */
61 _F10, _F11, _F12, _F13, /* Saved */
62 _F6, _F4, _F2, /* Volatile, parameter */
63 _F0, /* Volatile, parameter and return value */
65 #define JIT_NOREG _NOREG
68 #endif /* _jit_s390_h */