Home
last modified time | relevance | path

Searched refs:cc_op (Results 1 – 16 of 16) sorted by relevance

/external/valgrind/main/VEX/priv/
Dguest_arm_helpers.c111 UInt armg_calculate_flag_n ( UInt cc_op, UInt cc_dep1, in armg_calculate_flag_n() argument
115 NOTE_N_EVAL(cc_op); in armg_calculate_flag_n()
118 switch (cc_op) { in armg_calculate_flag_n()
182 cc_op, cc_dep1, cc_dep2, cc_dep3 ); in armg_calculate_flag_n()
191 UInt armg_calculate_flag_z ( UInt cc_op, UInt cc_dep1, in armg_calculate_flag_z() argument
195 NOTE_Z_EVAL(cc_op); in armg_calculate_flag_z()
198 switch (cc_op) { in armg_calculate_flag_z()
263 cc_op, cc_dep1, cc_dep2, cc_dep3 ); in armg_calculate_flag_z()
272 UInt armg_calculate_flag_c ( UInt cc_op, UInt cc_dep1, in armg_calculate_flag_c() argument
276 NOTE_C_EVAL(cc_op); in armg_calculate_flag_c()
[all …]
Dguest_arm64_helpers.c115 ULong arm64g_calculate_flag_n ( ULong cc_op, ULong cc_dep1, in arm64g_calculate_flag_n() argument
118 switch (cc_op) { in arm64g_calculate_flag_n()
224 cc_op, cc_dep1, cc_dep2, cc_dep3 ); in arm64g_calculate_flag_n()
233 ULong arm64g_calculate_flag_z ( ULong cc_op, ULong cc_dep1, in arm64g_calculate_flag_z() argument
236 switch (cc_op) { in arm64g_calculate_flag_z()
343 cc_op, cc_dep1, cc_dep2, cc_dep3 ); in arm64g_calculate_flag_z()
352 ULong arm64g_calculate_flag_c ( ULong cc_op, ULong cc_dep1, in arm64g_calculate_flag_c() argument
355 switch (cc_op) { in arm64g_calculate_flag_c()
452 cc_op, cc_dep1, cc_dep2, cc_dep3 ); in arm64g_calculate_flag_c()
462 ULong arm64g_calculate_flag_v ( ULong cc_op, ULong cc_dep1, in arm64g_calculate_flag_v() argument
[all …]
Dguest_x86_helpers.c494 UInt x86g_calculate_eflags_all_WRK ( UInt cc_op, in x86g_calculate_eflags_all_WRK() argument
499 switch (cc_op) { in x86g_calculate_eflags_all_WRK()
567 cc_op, cc_dep1_formal, cc_dep2_formal, cc_ndep_formal ); in x86g_calculate_eflags_all_WRK()
575 UInt x86g_calculate_eflags_all ( UInt cc_op, in x86g_calculate_eflags_all() argument
586 x86g_calculate_eflags_all_WRK ( cc_op, cc_dep1, cc_dep2, cc_ndep ); in x86g_calculate_eflags_all()
593 UInt x86g_calculate_eflags_c ( UInt cc_op, in x86g_calculate_eflags_c() argument
601 tabc_fast[cc_op]++; in x86g_calculate_eflags_c()
606 switch (cc_op) { in x86g_calculate_eflags_c()
628 tabc_fast[cc_op]--; in x86g_calculate_eflags_c()
629 tabc_slow[cc_op]++; in x86g_calculate_eflags_c()
[all …]
Dguest_amd64_helpers.c640 ULong amd64g_calculate_rflags_all_WRK ( ULong cc_op, in amd64g_calculate_rflags_all_WRK() argument
645 switch (cc_op) { in amd64g_calculate_rflags_all_WRK()
740 cc_op, cc_dep1_formal, cc_dep2_formal, cc_ndep_formal ); in amd64g_calculate_rflags_all_WRK()
748 ULong amd64g_calculate_rflags_all ( ULong cc_op, in amd64g_calculate_rflags_all() argument
759 amd64g_calculate_rflags_all_WRK ( cc_op, cc_dep1, cc_dep2, cc_ndep ); in amd64g_calculate_rflags_all()
765 ULong amd64g_calculate_rflags_c ( ULong cc_op, in amd64g_calculate_rflags_c() argument
773 tabc_fast[cc_op]++; in amd64g_calculate_rflags_c()
778 switch (cc_op) { in amd64g_calculate_rflags_c()
803 tabc_fast[cc_op]--; in amd64g_calculate_rflags_c()
804 tabc_slow[cc_op]++; in amd64g_calculate_rflags_c()
[all …]
Dguest_arm_defs.h85 UInt armg_calculate_flags_nzcv ( UInt cc_op, UInt cc_dep1,
91 UInt armg_calculate_flag_c ( UInt cc_op, UInt cc_dep1,
97 UInt armg_calculate_flag_v ( UInt cc_op, UInt cc_dep1,
Dguest_s390_helpers.c1479 s390_calculate_cc(ULong cc_op, ULong cc_dep1, ULong cc_dep2, ULong cc_ndep) in s390_calculate_cc() argument
1484 switch (cc_op) { in s390_calculate_cc()
1846 ULong cond, cc_op; in guest_s390x_spechelper() local
1859 cc_op = cc_op_expr->Iex.Const.con->Ico.U64; in guest_s390x_spechelper()
1873 if (cc_op == S390_CC_OP_SIGNED_COMPARE) { in guest_s390x_spechelper()
1909 if (cc_op == S390_CC_OP_UNSIGNED_COMPARE) { in guest_s390x_spechelper()
1945 if (cc_op == S390_CC_OP_LOAD_AND_TEST) { in guest_s390x_spechelper()
1986 if (cc_op == S390_CC_OP_BITWISE) { in guest_s390x_spechelper()
2017 if (cc_op == S390_CC_OP_INSERT_CHAR_MASK_32) { in guest_s390x_spechelper()
2093 if (cc_op == S390_CC_OP_TEST_UNDER_MASK_8) { in guest_s390x_spechelper()
[all …]
Dguest_arm64_defs.h83 ULong arm64g_calculate_flags_nzcv ( ULong cc_op, ULong cc_dep1,
89 ULong arm64g_calculate_flag_c ( ULong cc_op, ULong cc_dep1,
Dguest_x86_defs.h90 UInt cc_op, UInt cc_dep1, UInt cc_dep2, UInt cc_ndep
95 UInt cc_op, UInt cc_dep1, UInt cc_dep2, UInt cc_ndep
100 UInt cc_op,
Dguest_amd64_defs.h90 ULong cc_op,
95 ULong cc_op,
101 ULong cc_op,
Dguest_s390_defs.h242 UInt s390_calculate_cc(ULong cc_op, ULong cc_dep1, ULong cc_dep2,
Dguest_arm64_toIR.c1392 void setFlags_D1_D2_ND ( UInt cc_op, in setFlags_D1_D2_ND() argument
1398 vassert(cc_op >= ARM64G_CC_OP_COPY && cc_op < ARM64G_CC_OP_NUMBER); in setFlags_D1_D2_ND()
1399 stmt( IRStmt_Put( OFFB_CC_OP, mkU64(cc_op) )); in setFlags_D1_D2_ND()
1422 UInt cc_op = ARM64G_CC_OP_NUMBER; in setFlags_ADD_SUB() local
1423 /**/ if ( isSUB && is64) { cc_op = ARM64G_CC_OP_SUB64; } in setFlags_ADD_SUB()
1424 else if ( isSUB && !is64) { cc_op = ARM64G_CC_OP_SUB32; } in setFlags_ADD_SUB()
1425 else if (!isSUB && is64) { cc_op = ARM64G_CC_OP_ADD64; } in setFlags_ADD_SUB()
1426 else if (!isSUB && !is64) { cc_op = ARM64G_CC_OP_ADD32; } in setFlags_ADD_SUB()
1428 setFlags_D1_D2_ND(cc_op, argL64, argR64, z64); in setFlags_ADD_SUB()
1449 UInt cc_op = ARM64G_CC_OP_NUMBER; in setFlags_ADC_SBC() local
[all …]
Dguest_arm_toIR.c1312 void setFlags_D1_D2_ND ( UInt cc_op, IRTemp t_dep1, in setFlags_D1_D2_ND() argument
1319 vassert(cc_op >= ARMG_CC_OP_COPY && cc_op < ARMG_CC_OP_NUMBER); in setFlags_D1_D2_ND()
1322 stmt( IRStmt_Put( OFFB_CC_OP, mkU32(cc_op) )); in setFlags_D1_D2_ND()
1333 mkU32(cc_op), in setFlags_D1_D2_ND()
1356 static void setFlags_D1_D2 ( UInt cc_op, IRTemp t_dep1, in setFlags_D1_D2() argument
1362 setFlags_D1_D2_ND( cc_op, t_dep1, t_dep2, z32, guardT ); in setFlags_D1_D2()
1368 static void setFlags_D1_ND ( UInt cc_op, IRTemp t_dep1, in setFlags_D1_ND() argument
1374 setFlags_D1_D2_ND( cc_op, t_dep1, z32, t_ndep, guardT ); in setFlags_D1_ND()
1380 static void setFlags_D1 ( UInt cc_op, IRTemp t_dep1, in setFlags_D1() argument
1385 setFlags_D1_D2_ND( cc_op, t_dep1, z32, z32, guardT ); in setFlags_D1()
/external/qemu/target-i386/
Dtranslate.c114 CCOp cc_op; /* current CC operation */ member
223 if (s->cc_op == op) { in set_cc_op()
228 dead = cc_op_live[s->cc_op] & ~cc_op_live[op]; in set_cc_op()
236 s->cc_op = op; in set_cc_op()
245 tcg_gen_movi_i32(cpu_cc_op, s->cc_op); in gen_update_cc_op()
909 if (s->cc_op == CC_OP_EFLAGS) { in gen_compute_eflags()
924 switch (s->cc_op) { in gen_compute_eflags_c()
927 size = s->cc_op - CC_OP_SUBB; in gen_compute_eflags_c()
937 size = s->cc_op - CC_OP_ADDB; in gen_compute_eflags_c()
947 size = s->cc_op - CC_OP_SBBB; in gen_compute_eflags_c()
[all …]
Dcpu.h747 uint32_t cc_op; member
1059 #define CC_OP (env->cc_op)
Dhelper.c778 if ((unsigned)env->cc_op < CC_OP_NB) in cpu_dump_state()
779 snprintf(cc_op_name, sizeof(cc_op_name), "%s", cc_op_str[env->cc_op]); in cpu_dump_state()
781 snprintf(cc_op_name, sizeof(cc_op_name), "[%d]", env->cc_op); in cpu_dump_state()
/external/qemu/
Dcpu-exec.c268 env->cc_op = CC_OP_FLAGS; in cpu_exec()
553 cpu_m68k_flush_flags(env, env->cc_op); in cpu_exec()
554 env->cc_op = CC_OP_FLAGS; in cpu_exec()
652 cpu_m68k_flush_flags(env, env->cc_op); in cpu_exec()
653 env->cc_op = CC_OP_FLAGS; in cpu_exec()