github.com/goccy/go-jit@v0.0.0-20200514131505-ff78d45cf6af/internal/ccall/jit-interp-opcode.c (about)

     1  /* Automatically generated from ./jit-interp-opcodes.ops - DO NOT EDIT */
     2  
     3  /*
     4   * jit-interp-opcode.c - Information about interpreter specific JIT opcodes.
     5   *
     6   * Copyright (C) 2004  Southern Storm Software, Pty Ltd.
     7   *
     8   * This file is part of the libjit library.
     9   *
    10   * The libjit library is free software: you can redistribute it and/or
    11   * modify it under the terms of the GNU Lesser General Public License
    12   * as published by the Free Software Foundation, either version 2.1 of
    13   * the License, or (at your option) any later version.
    14   *
    15   * The libjit library is distributed in the hope that it will be useful,
    16   * but WITHOUT ANY WARRANTY; without even the implied warranty of
    17   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    18   * Lesser General Public License for more details.
    19   *
    20   * You should have received a copy of the GNU Lesser General Public
    21   * License along with the libjit library.  If not, see
    22   * <http://www.gnu.org/licenses/>.
    23   */
    24  
    25  #include "jit-internal.h"
    26  #include "jit-interp-opcode.h"
    27  #include "jit-rules.h"
    28  
    29  #if defined(JIT_BACKEND_INTERP)
    30  
    31  jit_opcode_info_t const _jit_interp_opcodes[JIT_INTERP_OP_NUM_OPCODES] = {
    32  	{"lda_0_sbyte", JIT_OPCODE_NINT_ARG},
    33  	{"lda_0_ubyte", JIT_OPCODE_NINT_ARG},
    34  	{"lda_0_short", JIT_OPCODE_NINT_ARG},
    35  	{"lda_0_ushort", JIT_OPCODE_NINT_ARG},
    36  	{"lda_0_int", JIT_OPCODE_NINT_ARG},
    37  	{"lda_0_long", JIT_OPCODE_NINT_ARG},
    38  	{"lda_0_float32", JIT_OPCODE_NINT_ARG},
    39  	{"lda_0_float64", JIT_OPCODE_NINT_ARG},
    40  	{"lda_0_nfloat", JIT_OPCODE_NINT_ARG},
    41  	{"ldaa_0", JIT_OPCODE_NINT_ARG},
    42  	{"lda_1_sbyte", JIT_OPCODE_NINT_ARG},
    43  	{"lda_1_ubyte", JIT_OPCODE_NINT_ARG},
    44  	{"lda_1_short", JIT_OPCODE_NINT_ARG},
    45  	{"lda_1_ushort", JIT_OPCODE_NINT_ARG},
    46  	{"lda_1_int", JIT_OPCODE_NINT_ARG},
    47  	{"lda_1_long", JIT_OPCODE_NINT_ARG},
    48  	{"lda_1_float32", JIT_OPCODE_NINT_ARG},
    49  	{"lda_1_float64", JIT_OPCODE_NINT_ARG},
    50  	{"lda_1_nfloat", JIT_OPCODE_NINT_ARG},
    51  	{"ldaa_1", JIT_OPCODE_NINT_ARG},
    52  	{"lda_2_sbyte", JIT_OPCODE_NINT_ARG},
    53  	{"lda_2_ubyte", JIT_OPCODE_NINT_ARG},
    54  	{"lda_2_short", JIT_OPCODE_NINT_ARG},
    55  	{"lda_2_ushort", JIT_OPCODE_NINT_ARG},
    56  	{"lda_2_int", JIT_OPCODE_NINT_ARG},
    57  	{"lda_2_long", JIT_OPCODE_NINT_ARG},
    58  	{"lda_2_float32", JIT_OPCODE_NINT_ARG},
    59  	{"lda_2_float64", JIT_OPCODE_NINT_ARG},
    60  	{"lda_2_nfloat", JIT_OPCODE_NINT_ARG},
    61  	{"ldaa_2", JIT_OPCODE_NINT_ARG},
    62  	{"sta_0_byte", JIT_OPCODE_NINT_ARG},
    63  	{"sta_0_short", JIT_OPCODE_NINT_ARG},
    64  	{"sta_0_int", JIT_OPCODE_NINT_ARG},
    65  	{"sta_0_long", JIT_OPCODE_NINT_ARG},
    66  	{"sta_0_float32", JIT_OPCODE_NINT_ARG},
    67  	{"sta_0_float64", JIT_OPCODE_NINT_ARG},
    68  	{"sta_0_nfloat", JIT_OPCODE_NINT_ARG},
    69  	{"ldl_0_sbyte", JIT_OPCODE_NINT_ARG},
    70  	{"ldl_0_ubyte", JIT_OPCODE_NINT_ARG},
    71  	{"ldl_0_short", JIT_OPCODE_NINT_ARG},
    72  	{"ldl_0_ushort", JIT_OPCODE_NINT_ARG},
    73  	{"ldl_0_int", JIT_OPCODE_NINT_ARG},
    74  	{"ldl_0_long", JIT_OPCODE_NINT_ARG},
    75  	{"ldl_0_float32", JIT_OPCODE_NINT_ARG},
    76  	{"ldl_0_float64", JIT_OPCODE_NINT_ARG},
    77  	{"ldl_0_nfloat", JIT_OPCODE_NINT_ARG},
    78  	{"ldla_0", JIT_OPCODE_NINT_ARG},
    79  	{"ldl_1_sbyte", JIT_OPCODE_NINT_ARG},
    80  	{"ldl_1_ubyte", JIT_OPCODE_NINT_ARG},
    81  	{"ldl_1_short", JIT_OPCODE_NINT_ARG},
    82  	{"ldl_1_ushort", JIT_OPCODE_NINT_ARG},
    83  	{"ldl_1_int", JIT_OPCODE_NINT_ARG},
    84  	{"ldl_1_long", JIT_OPCODE_NINT_ARG},
    85  	{"ldl_1_float32", JIT_OPCODE_NINT_ARG},
    86  	{"ldl_1_float64", JIT_OPCODE_NINT_ARG},
    87  	{"ldl_1_nfloat", JIT_OPCODE_NINT_ARG},
    88  	{"ldla_1", JIT_OPCODE_NINT_ARG},
    89  	{"ldl_2_sbyte", JIT_OPCODE_NINT_ARG},
    90  	{"ldl_2_ubyte", JIT_OPCODE_NINT_ARG},
    91  	{"ldl_2_short", JIT_OPCODE_NINT_ARG},
    92  	{"ldl_2_ushort", JIT_OPCODE_NINT_ARG},
    93  	{"ldl_2_int", JIT_OPCODE_NINT_ARG},
    94  	{"ldl_2_long", JIT_OPCODE_NINT_ARG},
    95  	{"ldl_2_float32", JIT_OPCODE_NINT_ARG},
    96  	{"ldl_2_float64", JIT_OPCODE_NINT_ARG},
    97  	{"ldl_2_nfloat", JIT_OPCODE_NINT_ARG},
    98  	{"ldla_2", JIT_OPCODE_NINT_ARG},
    99  	{"stl_0_byte", JIT_OPCODE_NINT_ARG},
   100  	{"stl_0_short", JIT_OPCODE_NINT_ARG},
   101  	{"stl_0_int", JIT_OPCODE_NINT_ARG},
   102  	{"stl_0_long", JIT_OPCODE_NINT_ARG},
   103  	{"stl_0_float32", JIT_OPCODE_NINT_ARG},
   104  	{"stl_0_float64", JIT_OPCODE_NINT_ARG},
   105  	{"stl_0_nfloat", JIT_OPCODE_NINT_ARG},
   106  	{"ldc_0_int", JIT_OPCODE_NINT_ARG},
   107  	{"ldc_1_int", JIT_OPCODE_NINT_ARG},
   108  	{"ldc_2_int", JIT_OPCODE_NINT_ARG},
   109  	{"ldc_0_long", JIT_OPCODE_CONST_LONG},
   110  	{"ldc_1_long", JIT_OPCODE_CONST_LONG},
   111  	{"ldc_2_long", JIT_OPCODE_CONST_LONG},
   112  	{"ldc_0_float32", JIT_OPCODE_CONST_FLOAT32},
   113  	{"ldc_1_float32", JIT_OPCODE_CONST_FLOAT32},
   114  	{"ldc_2_float32", JIT_OPCODE_CONST_FLOAT32},
   115  	{"ldc_0_float64", JIT_OPCODE_CONST_FLOAT64},
   116  	{"ldc_1_float64", JIT_OPCODE_CONST_FLOAT64},
   117  	{"ldc_2_float64", JIT_OPCODE_CONST_FLOAT64},
   118  	{"ldc_0_nfloat", JIT_OPCODE_CONST_NFLOAT},
   119  	{"ldc_1_nfloat", JIT_OPCODE_CONST_NFLOAT},
   120  	{"ldc_2_nfloat", JIT_OPCODE_CONST_NFLOAT},
   121  	{"ldr_0_int", 0},
   122  	{"ldr_0_long", 0},
   123  	{"ldr_0_float32", 0},
   124  	{"ldr_0_float64", 0},
   125  	{"ldr_0_nfloat", 0},
   126  	{"pop", 0},
   127  	{"pop_2", 0},
   128  	{"pop_3", 0},
   129  	{"end_marker", 0}
   130  };
   131  
   132  #endif /* defined(JIT_BACKEND_INTERP) */