tcg-opc.h revision 88cc6bfb70dbd23172f00ed679d5f1df8e9d7f53
/*
* Tiny Code Generator for QEMU
*
* Copyright (c) 2008 Fabrice Bellard
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#ifdef CONFIG_DYNGEN_OP
#include "dyngen-opc.h"
#endif
#ifndef DEF2
#endif
/* predefined ops */
/* arith */
#ifdef TCG_TARGET_HAS_div_i32
#else
#endif
/* shifts */
#if TCG_TARGET_REG_BITS == 32
#endif
#ifdef TCG_TARGET_HAS_ext8s_i32
#endif
#ifdef TCG_TARGET_HAS_ext16s_i32
#endif
#ifdef TCG_TARGET_HAS_bswap_i32
#endif
#if TCG_TARGET_REG_BITS == 64
/* arith */
#ifdef TCG_TARGET_HAS_div_i64
#else
#endif
/* shifts */
#ifdef TCG_TARGET_HAS_ext8s_i64
#endif
#ifdef TCG_TARGET_HAS_ext16s_i64
#endif
#ifdef TCG_TARGET_HAS_ext32s_i64
#endif
#ifdef TCG_TARGET_HAS_bswap_i64
#endif
#endif
#ifdef TCG_TARGET_HAS_neg_i32
#endif
#ifdef TCG_TARGET_HAS_neg_i64
#endif
/* QEMU specific */
#else
#endif
/* Note: even if TARGET_LONG_BITS is not defined, the INDEX_op
constants must be defined */
#if TCG_TARGET_REG_BITS == 32
#if TARGET_LONG_BITS == 32
#else
#endif
#if TARGET_LONG_BITS == 32
#else
#endif
#if TARGET_LONG_BITS == 32
#else
#endif
#if TARGET_LONG_BITS == 32
#else
#endif
#if TARGET_LONG_BITS == 32
#else
#endif
#if TARGET_LONG_BITS == 32
#else
#endif
#if TARGET_LONG_BITS == 32
#else
#endif
#if TARGET_LONG_BITS == 32
#else
#endif
#if TARGET_LONG_BITS == 32
#else
#endif
#if TARGET_LONG_BITS == 32
#else
#endif
#if TARGET_LONG_BITS == 32
#else
#endif
#else /* TCG_TARGET_REG_BITS == 32 */
#endif /* TCG_TARGET_REG_BITS != 32 */