2 * MIPS emulation for QEMU - Release 6 translation routines
4 * Copyright (c) 2020 Philippe Mathieu-Daudé
6 * SPDX-License-Identifier: LGPL-2.1-or-later
8 * This code is licensed under the LGPL v2.1 or later.
11 #include "qemu/osdep.h"
12 #include "translate.h"
14 /* Include the auto-generated decoders. */
15 #include "decode-rel6.c.inc"
17 bool trans_REMOVED(DisasContext
*ctx
, arg_REMOVED
*a
)
19 gen_reserved_instruction(ctx
);
24 static bool trans_LSA(DisasContext
*ctx
, arg_r
*a
)
26 return gen_lsa(ctx
, a
->rd
, a
->rt
, a
->rs
, a
->sa
);
29 static bool trans_DLSA(DisasContext
*ctx
, arg_r
*a
)
31 if (TARGET_LONG_BITS
!= 64) {
34 return gen_dlsa(ctx
, a
->rd
, a
->rt
, a
->rs
, a
->sa
);