branch-impl.c.inc (731B)
1 /* 2 * Power ISA decode for branch instructions 3 * 4 * Copyright IBM Corp. 2021 5 * 6 * Authors: 7 * Daniel Henrique Barboza <danielhb413@gmail.com> 8 * 9 * This work is licensed under the terms of the GNU GPL, version 2 or later. 10 * See the COPYING file in the top-level directory. 11 */ 12 13 #if defined(TARGET_PPC64) && !defined(CONFIG_USER_ONLY) 14 15 static bool trans_RFEBB(DisasContext *ctx, arg_XL_s *arg) 16 { 17 REQUIRE_INSNS_FLAGS2(ctx, ISA207S); 18 19 gen_icount_io_start(ctx); 20 gen_update_cfar(ctx, ctx->cia); 21 gen_helper_rfebb(cpu_env, cpu_gpr[arg->s]); 22 23 ctx->base.is_jmp = DISAS_CHAIN; 24 25 return true; 26 } 27 #else 28 static bool trans_RFEBB(DisasContext *ctx, arg_XL_s *arg) 29 { 30 gen_invalid(ctx); 31 return true; 32 } 33 #endif