translate.c (c9b459aab8c5775a21dd913fc8820b736181e7be) translate.c (b8e31b3cc6315bc5c6ec686c363c088c4fb1d0ea)
1/*
2 SPARC translation
3
4 Copyright (C) 2003 Thomas M. Ogrisegg <tom@fnord.at>
5 Copyright (C) 2003-2005 Fabrice Bellard
6
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Lesser General Public

--- 3415 unchanged lines hidden (view full) ---

3424 tcg_temp_free_ptr(r_tickptr);
3425 tcg_temp_free_i32(r_const);
3426 gen_store_gpr(dc, rd, cpu_dst);
3427 }
3428 break;
3429 case 0x19: /* System tick compare */
3430 gen_store_gpr(dc, rd, cpu_stick_cmpr);
3431 break;
1/*
2 SPARC translation
3
4 Copyright (C) 2003 Thomas M. Ogrisegg <tom@fnord.at>
5 Copyright (C) 2003-2005 Fabrice Bellard
6
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Lesser General Public

--- 3415 unchanged lines hidden (view full) ---

3424 tcg_temp_free_ptr(r_tickptr);
3425 tcg_temp_free_i32(r_const);
3426 gen_store_gpr(dc, rd, cpu_dst);
3427 }
3428 break;
3429 case 0x19: /* System tick compare */
3430 gen_store_gpr(dc, rd, cpu_stick_cmpr);
3431 break;
3432 case 0x1a: /* UltraSPARC-T1 Strand status */
3433 /* XXX HYPV check maybe not enough, UA2005 & UA2007 describe
3434 * this ASR as impl. dep
3435 */
3436 CHECK_IU_FEATURE(dc, HYPV);
3437 {
3438 TCGv t = gen_dest_gpr(dc, rd);
3439 tcg_gen_movi_tl(t, 1UL);
3440 gen_store_gpr(dc, rd, t);
3441 }
3442 break;
3432 case 0x10: /* Performance Control */
3433 case 0x11: /* Performance Instrumentation Counter */
3434 case 0x12: /* Dispatch Control */
3435 case 0x14: /* Softint set, WO */
3436 case 0x15: /* Softint clear, WO */
3437#endif
3438 default:
3439 goto illegal_insn;

--- 2499 unchanged lines hidden ---
3443 case 0x10: /* Performance Control */
3444 case 0x11: /* Performance Instrumentation Counter */
3445 case 0x12: /* Dispatch Control */
3446 case 0x14: /* Softint set, WO */
3447 case 0x15: /* Softint clear, WO */
3448#endif
3449 default:
3450 goto illegal_insn;

--- 2499 unchanged lines hidden ---