translate.c (a6e55a82e9b4b9f85f46e93a4f540ac0ec72c3ad) translate.c (b4b8d58e5622d9e4df5a877c827c6a304cde5e98)
1/*
2 * S/390 translation
3 *
4 * Copyright (c) 2009 Ulrich Hecht
5 * Copyright (c) 2010 Alexander Graf
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

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

2218
2219 gen_helper_purge(tcg_env);
2220 gen_set_label(lab);
2221
2222 return DISAS_NEXT;
2223}
2224#endif
2225
1/*
2 * S/390 translation
3 *
4 * Copyright (c) 2009 Ulrich Hecht
5 * Copyright (c) 2010 Alexander Graf
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

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

2218
2219 gen_helper_purge(tcg_env);
2220 gen_set_label(lab);
2221
2222 return DISAS_NEXT;
2223}
2224#endif
2225
2226static DisasJumpType op_cvb(DisasContext *s, DisasOps *o)
2227{
2228 TCGv_i64 t = tcg_temp_new_i64();
2229 tcg_gen_qemu_ld_i64(t, o->addr1, get_mem_index(s), MO_TEUQ);
2230 gen_helper_cvb(tcg_env, tcg_constant_i32(get_field(s, r1)), t);
2231 return DISAS_NEXT;
2232}
2233
2234static DisasJumpType op_cvbg(DisasContext *s, DisasOps *o)
2235{
2236 TCGv_i128 t = tcg_temp_new_i128();
2237 tcg_gen_qemu_ld_i128(t, o->addr1, get_mem_index(s), MO_TE | MO_128);
2238 gen_helper_cvbg(o->out, tcg_env, t);
2239 return DISAS_NEXT;
2240}
2241
2226static DisasJumpType op_cvd(DisasContext *s, DisasOps *o)
2227{
2228 TCGv_i64 t1 = tcg_temp_new_i64();
2229 TCGv_i32 t2 = tcg_temp_new_i32();
2230 tcg_gen_extrl_i64_i32(t2, o->in1);
2231 gen_helper_cvd(t1, t2);
2232 tcg_gen_qemu_st_i64(t1, o->in2, get_mem_index(s), MO_TEUQ);
2233 return DISAS_NEXT;

--- 4349 unchanged lines hidden ---
2242static DisasJumpType op_cvd(DisasContext *s, DisasOps *o)
2243{
2244 TCGv_i64 t1 = tcg_temp_new_i64();
2245 TCGv_i32 t2 = tcg_temp_new_i32();
2246 tcg_gen_extrl_i64_i32(t2, o->in1);
2247 gen_helper_cvd(t1, t2);
2248 tcg_gen_qemu_st_i64(t1, o->in2, get_mem_index(s), MO_TEUQ);
2249 return DISAS_NEXT;

--- 4349 unchanged lines hidden ---