Revision 213fb478

b/target-cris/translate.c
2979 2979
{
2980 2980
	cris_cc_mask(dc, 0);
2981 2981

  
2982
	if (dc->op2 == 15) /* ignore halt.  */
2982
	if (dc->op2 == 15) {
2983
		t_gen_mov_env_TN(halted, tcg_const_tl(1));
2984
		tcg_gen_movi_tl(env_pc, dc->pc + 2);
2985
		t_gen_raise_exception(EXCP_HLT);
2983 2986
		return 2;
2987
	}
2984 2988

  
2985 2989
	switch (dc->op2 & 7) {
2986 2990
		case 2:

Also available in: Unified diff