Home | History | Annotate | Line # | Download | only in cris
cpuv32.c revision 1.1
      1  1.1  christos /* Misc. support for CPU family crisv32f.
      2  1.1  christos 
      3  1.1  christos THIS FILE IS MACHINE GENERATED WITH CGEN.
      4  1.1  christos 
      5  1.1  christos Copyright 1996-2014 Free Software Foundation, Inc.
      6  1.1  christos 
      7  1.1  christos This file is part of the GNU simulators.
      8  1.1  christos 
      9  1.1  christos    This file is free software; you can redistribute it and/or modify
     10  1.1  christos    it under the terms of the GNU General Public License as published by
     11  1.1  christos    the Free Software Foundation; either version 3, or (at your option)
     12  1.1  christos    any later version.
     13  1.1  christos 
     14  1.1  christos    It is distributed in the hope that it will be useful, but WITHOUT
     15  1.1  christos    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
     16  1.1  christos    or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
     17  1.1  christos    License for more details.
     18  1.1  christos 
     19  1.1  christos    You should have received a copy of the GNU General Public License along
     20  1.1  christos    with this program; if not, see <http://www.gnu.org/licenses/>.
     21  1.1  christos 
     22  1.1  christos */
     23  1.1  christos 
     24  1.1  christos #define WANT_CPU crisv32f
     25  1.1  christos #define WANT_CPU_CRISV32F
     26  1.1  christos 
     27  1.1  christos #include "sim-main.h"
     28  1.1  christos #include "cgen-ops.h"
     29  1.1  christos 
     30  1.1  christos /* Get the value of h-v32-v32.  */
     31  1.1  christos 
     32  1.1  christos BI
     33  1.1  christos crisv32f_h_v32_v32_get (SIM_CPU *current_cpu)
     34  1.1  christos {
     35  1.1  christos   return GET_H_V32_V32 ();
     36  1.1  christos }
     37  1.1  christos 
     38  1.1  christos /* Set a value for h-v32-v32.  */
     39  1.1  christos 
     40  1.1  christos void
     41  1.1  christos crisv32f_h_v32_v32_set (SIM_CPU *current_cpu, BI newval)
     42  1.1  christos {
     43  1.1  christos   SET_H_V32_V32 (newval);
     44  1.1  christos }
     45  1.1  christos 
     46  1.1  christos /* Get the value of h-pc.  */
     47  1.1  christos 
     48  1.1  christos USI
     49  1.1  christos crisv32f_h_pc_get (SIM_CPU *current_cpu)
     50  1.1  christos {
     51  1.1  christos   return CPU (h_pc);
     52  1.1  christos }
     53  1.1  christos 
     54  1.1  christos /* Set a value for h-pc.  */
     55  1.1  christos 
     56  1.1  christos void
     57  1.1  christos crisv32f_h_pc_set (SIM_CPU *current_cpu, USI newval)
     58  1.1  christos {
     59  1.1  christos   SET_H_PC (newval);
     60  1.1  christos }
     61  1.1  christos 
     62  1.1  christos /* Get the value of h-gr.  */
     63  1.1  christos 
     64  1.1  christos SI
     65  1.1  christos crisv32f_h_gr_get (SIM_CPU *current_cpu, UINT regno)
     66  1.1  christos {
     67  1.1  christos   return GET_H_GR (regno);
     68  1.1  christos }
     69  1.1  christos 
     70  1.1  christos /* Set a value for h-gr.  */
     71  1.1  christos 
     72  1.1  christos void
     73  1.1  christos crisv32f_h_gr_set (SIM_CPU *current_cpu, UINT regno, SI newval)
     74  1.1  christos {
     75  1.1  christos   SET_H_GR (regno, newval);
     76  1.1  christos }
     77  1.1  christos 
     78  1.1  christos /* Get the value of h-gr-acr.  */
     79  1.1  christos 
     80  1.1  christos SI
     81  1.1  christos crisv32f_h_gr_acr_get (SIM_CPU *current_cpu, UINT regno)
     82  1.1  christos {
     83  1.1  christos   return CPU (h_gr_acr[regno]);
     84  1.1  christos }
     85  1.1  christos 
     86  1.1  christos /* Set a value for h-gr-acr.  */
     87  1.1  christos 
     88  1.1  christos void
     89  1.1  christos crisv32f_h_gr_acr_set (SIM_CPU *current_cpu, UINT regno, SI newval)
     90  1.1  christos {
     91  1.1  christos   CPU (h_gr_acr[regno]) = newval;
     92  1.1  christos }
     93  1.1  christos 
     94  1.1  christos /* Get the value of h-raw-gr-acr.  */
     95  1.1  christos 
     96  1.1  christos SI
     97  1.1  christos crisv32f_h_raw_gr_acr_get (SIM_CPU *current_cpu, UINT regno)
     98  1.1  christos {
     99  1.1  christos   return GET_H_RAW_GR_ACR (regno);
    100  1.1  christos }
    101  1.1  christos 
    102  1.1  christos /* Set a value for h-raw-gr-acr.  */
    103  1.1  christos 
    104  1.1  christos void
    105  1.1  christos crisv32f_h_raw_gr_acr_set (SIM_CPU *current_cpu, UINT regno, SI newval)
    106  1.1  christos {
    107  1.1  christos   SET_H_RAW_GR_ACR (regno, newval);
    108  1.1  christos }
    109  1.1  christos 
    110  1.1  christos /* Get the value of h-sr.  */
    111  1.1  christos 
    112  1.1  christos SI
    113  1.1  christos crisv32f_h_sr_get (SIM_CPU *current_cpu, UINT regno)
    114  1.1  christos {
    115  1.1  christos   return GET_H_SR (regno);
    116  1.1  christos }
    117  1.1  christos 
    118  1.1  christos /* Set a value for h-sr.  */
    119  1.1  christos 
    120  1.1  christos void
    121  1.1  christos crisv32f_h_sr_set (SIM_CPU *current_cpu, UINT regno, SI newval)
    122  1.1  christos {
    123  1.1  christos   SET_H_SR (regno, newval);
    124  1.1  christos }
    125  1.1  christos 
    126  1.1  christos /* Get the value of h-sr-v32.  */
    127  1.1  christos 
    128  1.1  christos SI
    129  1.1  christos crisv32f_h_sr_v32_get (SIM_CPU *current_cpu, UINT regno)
    130  1.1  christos {
    131  1.1  christos   return GET_H_SR_V32 (regno);
    132  1.1  christos }
    133  1.1  christos 
    134  1.1  christos /* Set a value for h-sr-v32.  */
    135  1.1  christos 
    136  1.1  christos void
    137  1.1  christos crisv32f_h_sr_v32_set (SIM_CPU *current_cpu, UINT regno, SI newval)
    138  1.1  christos {
    139  1.1  christos   SET_H_SR_V32 (regno, newval);
    140  1.1  christos }
    141  1.1  christos 
    142  1.1  christos /* Get the value of h-supr.  */
    143  1.1  christos 
    144  1.1  christos SI
    145  1.1  christos crisv32f_h_supr_get (SIM_CPU *current_cpu, UINT regno)
    146  1.1  christos {
    147  1.1  christos   return GET_H_SUPR (regno);
    148  1.1  christos }
    149  1.1  christos 
    150  1.1  christos /* Set a value for h-supr.  */
    151  1.1  christos 
    152  1.1  christos void
    153  1.1  christos crisv32f_h_supr_set (SIM_CPU *current_cpu, UINT regno, SI newval)
    154  1.1  christos {
    155  1.1  christos   SET_H_SUPR (regno, newval);
    156  1.1  christos }
    157  1.1  christos 
    158  1.1  christos /* Get the value of h-cbit.  */
    159  1.1  christos 
    160  1.1  christos BI
    161  1.1  christos crisv32f_h_cbit_get (SIM_CPU *current_cpu)
    162  1.1  christos {
    163  1.1  christos   return CPU (h_cbit);
    164  1.1  christos }
    165  1.1  christos 
    166  1.1  christos /* Set a value for h-cbit.  */
    167  1.1  christos 
    168  1.1  christos void
    169  1.1  christos crisv32f_h_cbit_set (SIM_CPU *current_cpu, BI newval)
    170  1.1  christos {
    171  1.1  christos   CPU (h_cbit) = newval;
    172  1.1  christos }
    173  1.1  christos 
    174  1.1  christos /* Get the value of h-cbit-move.  */
    175  1.1  christos 
    176  1.1  christos BI
    177  1.1  christos crisv32f_h_cbit_move_get (SIM_CPU *current_cpu)
    178  1.1  christos {
    179  1.1  christos   return GET_H_CBIT_MOVE ();
    180  1.1  christos }
    181  1.1  christos 
    182  1.1  christos /* Set a value for h-cbit-move.  */
    183  1.1  christos 
    184  1.1  christos void
    185  1.1  christos crisv32f_h_cbit_move_set (SIM_CPU *current_cpu, BI newval)
    186  1.1  christos {
    187  1.1  christos   SET_H_CBIT_MOVE (newval);
    188  1.1  christos }
    189  1.1  christos 
    190  1.1  christos /* Get the value of h-cbit-move-v32.  */
    191  1.1  christos 
    192  1.1  christos BI
    193  1.1  christos crisv32f_h_cbit_move_v32_get (SIM_CPU *current_cpu)
    194  1.1  christos {
    195  1.1  christos   return GET_H_CBIT_MOVE_V32 ();
    196  1.1  christos }
    197  1.1  christos 
    198  1.1  christos /* Set a value for h-cbit-move-v32.  */
    199  1.1  christos 
    200  1.1  christos void
    201  1.1  christos crisv32f_h_cbit_move_v32_set (SIM_CPU *current_cpu, BI newval)
    202  1.1  christos {
    203  1.1  christos   SET_H_CBIT_MOVE_V32 (newval);
    204  1.1  christos }
    205  1.1  christos 
    206  1.1  christos /* Get the value of h-vbit.  */
    207  1.1  christos 
    208  1.1  christos BI
    209  1.1  christos crisv32f_h_vbit_get (SIM_CPU *current_cpu)
    210  1.1  christos {
    211  1.1  christos   return CPU (h_vbit);
    212  1.1  christos }
    213  1.1  christos 
    214  1.1  christos /* Set a value for h-vbit.  */
    215  1.1  christos 
    216  1.1  christos void
    217  1.1  christos crisv32f_h_vbit_set (SIM_CPU *current_cpu, BI newval)
    218  1.1  christos {
    219  1.1  christos   CPU (h_vbit) = newval;
    220  1.1  christos }
    221  1.1  christos 
    222  1.1  christos /* Get the value of h-vbit-move.  */
    223  1.1  christos 
    224  1.1  christos BI
    225  1.1  christos crisv32f_h_vbit_move_get (SIM_CPU *current_cpu)
    226  1.1  christos {
    227  1.1  christos   return GET_H_VBIT_MOVE ();
    228  1.1  christos }
    229  1.1  christos 
    230  1.1  christos /* Set a value for h-vbit-move.  */
    231  1.1  christos 
    232  1.1  christos void
    233  1.1  christos crisv32f_h_vbit_move_set (SIM_CPU *current_cpu, BI newval)
    234  1.1  christos {
    235  1.1  christos   SET_H_VBIT_MOVE (newval);
    236  1.1  christos }
    237  1.1  christos 
    238  1.1  christos /* Get the value of h-vbit-move-v32.  */
    239  1.1  christos 
    240  1.1  christos BI
    241  1.1  christos crisv32f_h_vbit_move_v32_get (SIM_CPU *current_cpu)
    242  1.1  christos {
    243  1.1  christos   return GET_H_VBIT_MOVE_V32 ();
    244  1.1  christos }
    245  1.1  christos 
    246  1.1  christos /* Set a value for h-vbit-move-v32.  */
    247  1.1  christos 
    248  1.1  christos void
    249  1.1  christos crisv32f_h_vbit_move_v32_set (SIM_CPU *current_cpu, BI newval)
    250  1.1  christos {
    251  1.1  christos   SET_H_VBIT_MOVE_V32 (newval);
    252  1.1  christos }
    253  1.1  christos 
    254  1.1  christos /* Get the value of h-zbit.  */
    255  1.1  christos 
    256  1.1  christos BI
    257  1.1  christos crisv32f_h_zbit_get (SIM_CPU *current_cpu)
    258  1.1  christos {
    259  1.1  christos   return CPU (h_zbit);
    260  1.1  christos }
    261  1.1  christos 
    262  1.1  christos /* Set a value for h-zbit.  */
    263  1.1  christos 
    264  1.1  christos void
    265  1.1  christos crisv32f_h_zbit_set (SIM_CPU *current_cpu, BI newval)
    266  1.1  christos {
    267  1.1  christos   CPU (h_zbit) = newval;
    268  1.1  christos }
    269  1.1  christos 
    270  1.1  christos /* Get the value of h-zbit-move.  */
    271  1.1  christos 
    272  1.1  christos BI
    273  1.1  christos crisv32f_h_zbit_move_get (SIM_CPU *current_cpu)
    274  1.1  christos {
    275  1.1  christos   return GET_H_ZBIT_MOVE ();
    276  1.1  christos }
    277  1.1  christos 
    278  1.1  christos /* Set a value for h-zbit-move.  */
    279  1.1  christos 
    280  1.1  christos void
    281  1.1  christos crisv32f_h_zbit_move_set (SIM_CPU *current_cpu, BI newval)
    282  1.1  christos {
    283  1.1  christos   SET_H_ZBIT_MOVE (newval);
    284  1.1  christos }
    285  1.1  christos 
    286  1.1  christos /* Get the value of h-zbit-move-v32.  */
    287  1.1  christos 
    288  1.1  christos BI
    289  1.1  christos crisv32f_h_zbit_move_v32_get (SIM_CPU *current_cpu)
    290  1.1  christos {
    291  1.1  christos   return GET_H_ZBIT_MOVE_V32 ();
    292  1.1  christos }
    293  1.1  christos 
    294  1.1  christos /* Set a value for h-zbit-move-v32.  */
    295  1.1  christos 
    296  1.1  christos void
    297  1.1  christos crisv32f_h_zbit_move_v32_set (SIM_CPU *current_cpu, BI newval)
    298  1.1  christos {
    299  1.1  christos   SET_H_ZBIT_MOVE_V32 (newval);
    300  1.1  christos }
    301  1.1  christos 
    302  1.1  christos /* Get the value of h-nbit.  */
    303  1.1  christos 
    304  1.1  christos BI
    305  1.1  christos crisv32f_h_nbit_get (SIM_CPU *current_cpu)
    306  1.1  christos {
    307  1.1  christos   return CPU (h_nbit);
    308  1.1  christos }
    309  1.1  christos 
    310  1.1  christos /* Set a value for h-nbit.  */
    311  1.1  christos 
    312  1.1  christos void
    313  1.1  christos crisv32f_h_nbit_set (SIM_CPU *current_cpu, BI newval)
    314  1.1  christos {
    315  1.1  christos   CPU (h_nbit) = newval;
    316  1.1  christos }
    317  1.1  christos 
    318  1.1  christos /* Get the value of h-nbit-move.  */
    319  1.1  christos 
    320  1.1  christos BI
    321  1.1  christos crisv32f_h_nbit_move_get (SIM_CPU *current_cpu)
    322  1.1  christos {
    323  1.1  christos   return GET_H_NBIT_MOVE ();
    324  1.1  christos }
    325  1.1  christos 
    326  1.1  christos /* Set a value for h-nbit-move.  */
    327  1.1  christos 
    328  1.1  christos void
    329  1.1  christos crisv32f_h_nbit_move_set (SIM_CPU *current_cpu, BI newval)
    330  1.1  christos {
    331  1.1  christos   SET_H_NBIT_MOVE (newval);
    332  1.1  christos }
    333  1.1  christos 
    334  1.1  christos /* Get the value of h-nbit-move-v32.  */
    335  1.1  christos 
    336  1.1  christos BI
    337  1.1  christos crisv32f_h_nbit_move_v32_get (SIM_CPU *current_cpu)
    338  1.1  christos {
    339  1.1  christos   return GET_H_NBIT_MOVE_V32 ();
    340  1.1  christos }
    341  1.1  christos 
    342  1.1  christos /* Set a value for h-nbit-move-v32.  */
    343  1.1  christos 
    344  1.1  christos void
    345  1.1  christos crisv32f_h_nbit_move_v32_set (SIM_CPU *current_cpu, BI newval)
    346  1.1  christos {
    347  1.1  christos   SET_H_NBIT_MOVE_V32 (newval);
    348  1.1  christos }
    349  1.1  christos 
    350  1.1  christos /* Get the value of h-xbit.  */
    351  1.1  christos 
    352  1.1  christos BI
    353  1.1  christos crisv32f_h_xbit_get (SIM_CPU *current_cpu)
    354  1.1  christos {
    355  1.1  christos   return CPU (h_xbit);
    356  1.1  christos }
    357  1.1  christos 
    358  1.1  christos /* Set a value for h-xbit.  */
    359  1.1  christos 
    360  1.1  christos void
    361  1.1  christos crisv32f_h_xbit_set (SIM_CPU *current_cpu, BI newval)
    362  1.1  christos {
    363  1.1  christos   CPU (h_xbit) = newval;
    364  1.1  christos }
    365  1.1  christos 
    366  1.1  christos /* Get the value of h-ibit.  */
    367  1.1  christos 
    368  1.1  christos BI
    369  1.1  christos crisv32f_h_ibit_get (SIM_CPU *current_cpu)
    370  1.1  christos {
    371  1.1  christos   return GET_H_IBIT ();
    372  1.1  christos }
    373  1.1  christos 
    374  1.1  christos /* Set a value for h-ibit.  */
    375  1.1  christos 
    376  1.1  christos void
    377  1.1  christos crisv32f_h_ibit_set (SIM_CPU *current_cpu, BI newval)
    378  1.1  christos {
    379  1.1  christos   SET_H_IBIT (newval);
    380  1.1  christos }
    381  1.1  christos 
    382  1.1  christos /* Get the value of h-pbit.  */
    383  1.1  christos 
    384  1.1  christos BI
    385  1.1  christos crisv32f_h_pbit_get (SIM_CPU *current_cpu)
    386  1.1  christos {
    387  1.1  christos   return CPU (h_pbit);
    388  1.1  christos }
    389  1.1  christos 
    390  1.1  christos /* Set a value for h-pbit.  */
    391  1.1  christos 
    392  1.1  christos void
    393  1.1  christos crisv32f_h_pbit_set (SIM_CPU *current_cpu, BI newval)
    394  1.1  christos {
    395  1.1  christos   CPU (h_pbit) = newval;
    396  1.1  christos }
    397  1.1  christos 
    398  1.1  christos /* Get the value of h-rbit.  */
    399  1.1  christos 
    400  1.1  christos BI
    401  1.1  christos crisv32f_h_rbit_get (SIM_CPU *current_cpu)
    402  1.1  christos {
    403  1.1  christos   return CPU (h_rbit);
    404  1.1  christos }
    405  1.1  christos 
    406  1.1  christos /* Set a value for h-rbit.  */
    407  1.1  christos 
    408  1.1  christos void
    409  1.1  christos crisv32f_h_rbit_set (SIM_CPU *current_cpu, BI newval)
    410  1.1  christos {
    411  1.1  christos   CPU (h_rbit) = newval;
    412  1.1  christos }
    413  1.1  christos 
    414  1.1  christos /* Get the value of h-ubit.  */
    415  1.1  christos 
    416  1.1  christos BI
    417  1.1  christos crisv32f_h_ubit_get (SIM_CPU *current_cpu)
    418  1.1  christos {
    419  1.1  christos   return GET_H_UBIT ();
    420  1.1  christos }
    421  1.1  christos 
    422  1.1  christos /* Set a value for h-ubit.  */
    423  1.1  christos 
    424  1.1  christos void
    425  1.1  christos crisv32f_h_ubit_set (SIM_CPU *current_cpu, BI newval)
    426  1.1  christos {
    427  1.1  christos   SET_H_UBIT (newval);
    428  1.1  christos }
    429  1.1  christos 
    430  1.1  christos /* Get the value of h-gbit.  */
    431  1.1  christos 
    432  1.1  christos BI
    433  1.1  christos crisv32f_h_gbit_get (SIM_CPU *current_cpu)
    434  1.1  christos {
    435  1.1  christos   return CPU (h_gbit);
    436  1.1  christos }
    437  1.1  christos 
    438  1.1  christos /* Set a value for h-gbit.  */
    439  1.1  christos 
    440  1.1  christos void
    441  1.1  christos crisv32f_h_gbit_set (SIM_CPU *current_cpu, BI newval)
    442  1.1  christos {
    443  1.1  christos   CPU (h_gbit) = newval;
    444  1.1  christos }
    445  1.1  christos 
    446  1.1  christos /* Get the value of h-kernel-sp.  */
    447  1.1  christos 
    448  1.1  christos SI
    449  1.1  christos crisv32f_h_kernel_sp_get (SIM_CPU *current_cpu)
    450  1.1  christos {
    451  1.1  christos   return CPU (h_kernel_sp);
    452  1.1  christos }
    453  1.1  christos 
    454  1.1  christos /* Set a value for h-kernel-sp.  */
    455  1.1  christos 
    456  1.1  christos void
    457  1.1  christos crisv32f_h_kernel_sp_set (SIM_CPU *current_cpu, SI newval)
    458  1.1  christos {
    459  1.1  christos   CPU (h_kernel_sp) = newval;
    460  1.1  christos }
    461  1.1  christos 
    462  1.1  christos /* Get the value of h-ubit-v32.  */
    463  1.1  christos 
    464  1.1  christos BI
    465  1.1  christos crisv32f_h_ubit_v32_get (SIM_CPU *current_cpu)
    466  1.1  christos {
    467  1.1  christos   return CPU (h_ubit_v32);
    468  1.1  christos }
    469  1.1  christos 
    470  1.1  christos /* Set a value for h-ubit-v32.  */
    471  1.1  christos 
    472  1.1  christos void
    473  1.1  christos crisv32f_h_ubit_v32_set (SIM_CPU *current_cpu, BI newval)
    474  1.1  christos {
    475  1.1  christos   SET_H_UBIT_V32 (newval);
    476  1.1  christos }
    477  1.1  christos 
    478  1.1  christos /* Get the value of h-ibit-v32.  */
    479  1.1  christos 
    480  1.1  christos BI
    481  1.1  christos crisv32f_h_ibit_v32_get (SIM_CPU *current_cpu)
    482  1.1  christos {
    483  1.1  christos   return CPU (h_ibit_v32);
    484  1.1  christos }
    485  1.1  christos 
    486  1.1  christos /* Set a value for h-ibit-v32.  */
    487  1.1  christos 
    488  1.1  christos void
    489  1.1  christos crisv32f_h_ibit_v32_set (SIM_CPU *current_cpu, BI newval)
    490  1.1  christos {
    491  1.1  christos   SET_H_IBIT_V32 (newval);
    492  1.1  christos }
    493  1.1  christos 
    494  1.1  christos /* Get the value of h-mbit.  */
    495  1.1  christos 
    496  1.1  christos BI
    497  1.1  christos crisv32f_h_mbit_get (SIM_CPU *current_cpu)
    498  1.1  christos {
    499  1.1  christos   return CPU (h_mbit);
    500  1.1  christos }
    501  1.1  christos 
    502  1.1  christos /* Set a value for h-mbit.  */
    503  1.1  christos 
    504  1.1  christos void
    505  1.1  christos crisv32f_h_mbit_set (SIM_CPU *current_cpu, BI newval)
    506  1.1  christos {
    507  1.1  christos   SET_H_MBIT (newval);
    508  1.1  christos }
    509  1.1  christos 
    510  1.1  christos /* Get the value of h-qbit.  */
    511  1.1  christos 
    512  1.1  christos BI
    513  1.1  christos crisv32f_h_qbit_get (SIM_CPU *current_cpu)
    514  1.1  christos {
    515  1.1  christos   return CPU (h_qbit);
    516  1.1  christos }
    517  1.1  christos 
    518  1.1  christos /* Set a value for h-qbit.  */
    519  1.1  christos 
    520  1.1  christos void
    521  1.1  christos crisv32f_h_qbit_set (SIM_CPU *current_cpu, BI newval)
    522  1.1  christos {
    523  1.1  christos   SET_H_QBIT (newval);
    524  1.1  christos }
    525  1.1  christos 
    526  1.1  christos /* Get the value of h-sbit.  */
    527  1.1  christos 
    528  1.1  christos BI
    529  1.1  christos crisv32f_h_sbit_get (SIM_CPU *current_cpu)
    530  1.1  christos {
    531  1.1  christos   return CPU (h_sbit);
    532  1.1  christos }
    533  1.1  christos 
    534  1.1  christos /* Set a value for h-sbit.  */
    535  1.1  christos 
    536  1.1  christos void
    537  1.1  christos crisv32f_h_sbit_set (SIM_CPU *current_cpu, BI newval)
    538  1.1  christos {
    539  1.1  christos   SET_H_SBIT (newval);
    540  1.1  christos }
    541  1.1  christos 
    542  1.1  christos /* Get the value of h-insn-prefixed-p.  */
    543  1.1  christos 
    544  1.1  christos BI
    545  1.1  christos crisv32f_h_insn_prefixed_p_get (SIM_CPU *current_cpu)
    546  1.1  christos {
    547  1.1  christos   return GET_H_INSN_PREFIXED_P ();
    548  1.1  christos }
    549  1.1  christos 
    550  1.1  christos /* Set a value for h-insn-prefixed-p.  */
    551  1.1  christos 
    552  1.1  christos void
    553  1.1  christos crisv32f_h_insn_prefixed_p_set (SIM_CPU *current_cpu, BI newval)
    554  1.1  christos {
    555  1.1  christos   SET_H_INSN_PREFIXED_P (newval);
    556  1.1  christos }
    557  1.1  christos 
    558  1.1  christos /* Get the value of h-insn-prefixed-p-v32.  */
    559  1.1  christos 
    560  1.1  christos BI
    561  1.1  christos crisv32f_h_insn_prefixed_p_v32_get (SIM_CPU *current_cpu)
    562  1.1  christos {
    563  1.1  christos   return GET_H_INSN_PREFIXED_P_V32 ();
    564  1.1  christos }
    565  1.1  christos 
    566  1.1  christos /* Set a value for h-insn-prefixed-p-v32.  */
    567  1.1  christos 
    568  1.1  christos void
    569  1.1  christos crisv32f_h_insn_prefixed_p_v32_set (SIM_CPU *current_cpu, BI newval)
    570  1.1  christos {
    571  1.1  christos   SET_H_INSN_PREFIXED_P_V32 (newval);
    572  1.1  christos }
    573  1.1  christos 
    574  1.1  christos /* Get the value of h-prefixreg-v32.  */
    575  1.1  christos 
    576  1.1  christos SI
    577  1.1  christos crisv32f_h_prefixreg_v32_get (SIM_CPU *current_cpu)
    578  1.1  christos {
    579  1.1  christos   return GET_H_PREFIXREG_V32 ();
    580  1.1  christos }
    581  1.1  christos 
    582  1.1  christos /* Set a value for h-prefixreg-v32.  */
    583  1.1  christos 
    584  1.1  christos void
    585  1.1  christos crisv32f_h_prefixreg_v32_set (SIM_CPU *current_cpu, SI newval)
    586  1.1  christos {
    587  1.1  christos   SET_H_PREFIXREG_V32 (newval);
    588  1.1  christos }
    589  1.1  christos 
    590  1.1  christos /* Record trace results for INSN.  */
    591  1.1  christos 
    592  1.1  christos void
    593  1.1  christos crisv32f_record_trace_results (SIM_CPU *current_cpu, CGEN_INSN *insn,
    594  1.1  christos 			    int *indices, TRACE_RECORD *tr)
    595  1.1  christos {
    596  1.1  christos }
    597