github.com/goccy/go-jit@v0.0.0-20200514131505-ff78d45cf6af/internal/ccall/include/jit/jit-opcode-compat.h (about) 1 /* 2 * jit-opcode-compat.h - Definition of obsolete opcodes for compatibility 3 * reasons. 4 * 5 * Copyright (C) 2011 Southern Storm Software, Pty Ltd. 6 * 7 * The libjit library is free software: you can redistribute it and/or 8 * modify it under the terms of the GNU Lesser General Public License 9 * as published by the Free Software Foundation, either version 2.1 of 10 * the License, or (at your option) any later version. 11 * 12 * The libjit library is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * Lesser General Public License for more details. 16 * 17 * You should have received a copy of the GNU Lesser General Public 18 * License along with the libjit library. If not, see 19 * <http://www.gnu.org/licenses/>. 20 */ 21 22 #ifndef _JIT_OPCODE_COMPAT_H 23 #define _JIT_OPCODE_COMPAT_H 24 25 #ifdef __cplusplus 26 extern "C" { 27 #endif 28 29 /* 30 * Some obsolete opcodes that have been removed because they are duplicates 31 * of other opcodes. 32 */ 33 #define JIT_OP_FEQ_INV JIT_OP_FEQ 34 #define JIT_OP_FNE_INV JIT_OP_FNE 35 #define JIT_OP_DEQ_INV JIT_OP_DEQ 36 #define JIT_OP_DNE_INV JIT_OP_DNE 37 #define JIT_OP_NFEQ_INV JIT_OP_NFEQ 38 #define JIT_OP_NFNE_INV JIT_OP_NFNE 39 #define JIT_OP_BR_FEQ_INV JIT_OP_BR_FEQ 40 #define JIT_OP_BR_FNE_INV JIT_OP_BR_FNE 41 #define JIT_OP_BR_DEQ_INV JIT_OP_BR_DEQ 42 #define JIT_OP_BR_DNE_INV JIT_OP_BR_DNE 43 #define JIT_OP_BR_NFEQ_INV JIT_OP_BR_NFEQ 44 #define JIT_OP_BR_NFNE_INV JIT_OP_BR_NFNE 45 46 #ifdef __cplusplus 47 } 48 #endif 49 50 #endif /* _JIT_VMEM_H */