cachepc-qemu

Fork of AMDESE/qemu with changes for cachepc side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-qemu
Log | Files | Refs | Submodules | LICENSE | sfeed.txt

helper.h (5332B)


      1DEF_HELPER_1(bitrev, i32, i32)
      2DEF_HELPER_1(ff1, i32, i32)
      3DEF_HELPER_FLAGS_2(sats, TCG_CALL_NO_RWG_SE, i32, i32, i32)
      4DEF_HELPER_3(divuw, void, env, int, i32)
      5DEF_HELPER_3(divsw, void, env, int, s32)
      6DEF_HELPER_4(divul, void, env, int, int, i32)
      7DEF_HELPER_4(divsl, void, env, int, int, s32)
      8DEF_HELPER_4(divull, void, env, int, int, i32)
      9DEF_HELPER_4(divsll, void, env, int, int, s32)
     10DEF_HELPER_2(set_sr, void, env, i32)
     11DEF_HELPER_3(cf_movec_to, void, env, i32, i32)
     12DEF_HELPER_3(m68k_movec_to, void, env, i32, i32)
     13DEF_HELPER_2(m68k_movec_from, i32, env, i32)
     14DEF_HELPER_4(cas2w, void, env, i32, i32, i32)
     15DEF_HELPER_4(cas2l, void, env, i32, i32, i32)
     16DEF_HELPER_4(cas2l_parallel, void, env, i32, i32, i32)
     17
     18#define dh_alias_fp ptr
     19#define dh_ctype_fp FPReg *
     20
     21DEF_HELPER_3(exts32, void, env, fp, s32)
     22DEF_HELPER_3(extf32, void, env, fp, f32)
     23DEF_HELPER_3(extf64, void, env, fp, f64)
     24DEF_HELPER_2(redf32, f32, env, fp)
     25DEF_HELPER_2(redf64, f64, env, fp)
     26DEF_HELPER_2(reds32, s32, env, fp)
     27
     28DEF_HELPER_3(fsround, void, env, fp, fp)
     29DEF_HELPER_3(fdround, void, env, fp, fp)
     30DEF_HELPER_3(firound, void, env, fp, fp)
     31DEF_HELPER_3(fitrunc, void, env, fp, fp)
     32DEF_HELPER_3(fsqrt, void, env, fp, fp)
     33DEF_HELPER_3(fssqrt, void, env, fp, fp)
     34DEF_HELPER_3(fdsqrt, void, env, fp, fp)
     35DEF_HELPER_3(fabs, void, env, fp, fp)
     36DEF_HELPER_3(fsabs, void, env, fp, fp)
     37DEF_HELPER_3(fdabs, void, env, fp, fp)
     38DEF_HELPER_3(fneg, void, env, fp, fp)
     39DEF_HELPER_3(fsneg, void, env, fp, fp)
     40DEF_HELPER_3(fdneg, void, env, fp, fp)
     41DEF_HELPER_4(fadd, void, env, fp, fp, fp)
     42DEF_HELPER_4(fsadd, void, env, fp, fp, fp)
     43DEF_HELPER_4(fdadd, void, env, fp, fp, fp)
     44DEF_HELPER_4(fsub, void, env, fp, fp, fp)
     45DEF_HELPER_4(fssub, void, env, fp, fp, fp)
     46DEF_HELPER_4(fdsub, void, env, fp, fp, fp)
     47DEF_HELPER_4(fmul, void, env, fp, fp, fp)
     48DEF_HELPER_4(fsmul, void, env, fp, fp, fp)
     49DEF_HELPER_4(fdmul, void, env, fp, fp, fp)
     50DEF_HELPER_4(fsglmul, void, env, fp, fp, fp)
     51DEF_HELPER_4(fdiv, void, env, fp, fp, fp)
     52DEF_HELPER_4(fsdiv, void, env, fp, fp, fp)
     53DEF_HELPER_4(fddiv, void, env, fp, fp, fp)
     54DEF_HELPER_4(fsgldiv, void, env, fp, fp, fp)
     55DEF_HELPER_FLAGS_3(fcmp, TCG_CALL_NO_RWG, void, env, fp, fp)
     56DEF_HELPER_FLAGS_2(set_fpcr, TCG_CALL_NO_RWG, void, env, i32)
     57DEF_HELPER_FLAGS_2(ftst, TCG_CALL_NO_RWG, void, env, fp)
     58DEF_HELPER_3(fconst, void, env, fp, i32)
     59DEF_HELPER_3(fmovemx_st_predec, i32, env, i32, i32)
     60DEF_HELPER_3(fmovemx_st_postinc, i32, env, i32, i32)
     61DEF_HELPER_3(fmovemx_ld_postinc, i32, env, i32, i32)
     62DEF_HELPER_3(fmovemd_st_predec, i32, env, i32, i32)
     63DEF_HELPER_3(fmovemd_st_postinc, i32, env, i32, i32)
     64DEF_HELPER_3(fmovemd_ld_postinc, i32, env, i32, i32)
     65DEF_HELPER_4(fmod, void, env, fp, fp, fp)
     66DEF_HELPER_4(frem, void, env, fp, fp, fp)
     67DEF_HELPER_3(fgetexp, void, env, fp, fp)
     68DEF_HELPER_3(fgetman, void, env, fp, fp)
     69DEF_HELPER_4(fscale, void, env, fp, fp, fp)
     70DEF_HELPER_3(flognp1, void, env, fp, fp)
     71DEF_HELPER_3(flogn, void, env, fp, fp)
     72DEF_HELPER_3(flog10, void, env, fp, fp)
     73DEF_HELPER_3(flog2, void, env, fp, fp)
     74DEF_HELPER_3(fetox, void, env, fp, fp)
     75DEF_HELPER_3(ftwotox, void, env, fp, fp)
     76DEF_HELPER_3(ftentox, void, env, fp, fp)
     77DEF_HELPER_3(ftan, void, env, fp, fp)
     78DEF_HELPER_3(fsin, void, env, fp, fp)
     79DEF_HELPER_3(fcos, void, env, fp, fp)
     80DEF_HELPER_4(fsincos, void, env, fp, fp, fp)
     81DEF_HELPER_3(fatan, void, env, fp, fp)
     82DEF_HELPER_3(fasin, void, env, fp, fp)
     83DEF_HELPER_3(facos, void, env, fp, fp)
     84DEF_HELPER_3(fatanh, void, env, fp, fp)
     85DEF_HELPER_3(fetoxm1, void, env, fp, fp)
     86DEF_HELPER_3(ftanh, void, env, fp, fp)
     87DEF_HELPER_3(fsinh, void, env, fp, fp)
     88DEF_HELPER_3(fcosh, void, env, fp, fp)
     89
     90DEF_HELPER_3(mac_move, void, env, i32, i32)
     91DEF_HELPER_3(macmulf, i64, env, i32, i32)
     92DEF_HELPER_3(macmuls, i64, env, i32, i32)
     93DEF_HELPER_3(macmulu, i64, env, i32, i32)
     94DEF_HELPER_2(macsats, void, env, i32)
     95DEF_HELPER_2(macsatu, void, env, i32)
     96DEF_HELPER_2(macsatf, void, env, i32)
     97DEF_HELPER_2(mac_set_flags, void, env, i32)
     98DEF_HELPER_2(set_macsr, void, env, i32)
     99DEF_HELPER_2(get_macf, i32, env, i64)
    100DEF_HELPER_1(get_macs, i32, i64)
    101DEF_HELPER_1(get_macu, i32, i64)
    102DEF_HELPER_2(get_mac_extf, i32, env, i32)
    103DEF_HELPER_2(get_mac_exti, i32, env, i32)
    104DEF_HELPER_3(set_mac_extf, void, env, i32, i32)
    105DEF_HELPER_3(set_mac_exts, void, env, i32, i32)
    106DEF_HELPER_3(set_mac_extu, void, env, i32, i32)
    107
    108DEF_HELPER_2(flush_flags, void, env, i32)
    109DEF_HELPER_2(set_ccr, void, env, i32)
    110DEF_HELPER_FLAGS_1(get_ccr, TCG_CALL_NO_WG_SE, i32, env)
    111DEF_HELPER_2(raise_exception, void, env, i32)
    112
    113DEF_HELPER_FLAGS_3(bfffo_reg, TCG_CALL_NO_RWG_SE, i32, i32, i32, i32)
    114
    115DEF_HELPER_FLAGS_4(bfexts_mem, TCG_CALL_NO_WG, i32, env, i32, s32, i32)
    116DEF_HELPER_FLAGS_4(bfextu_mem, TCG_CALL_NO_WG, i64, env, i32, s32, i32)
    117DEF_HELPER_FLAGS_5(bfins_mem, TCG_CALL_NO_WG, i32, env, i32, i32, s32, i32)
    118DEF_HELPER_FLAGS_4(bfchg_mem, TCG_CALL_NO_WG, i32, env, i32, s32, i32)
    119DEF_HELPER_FLAGS_4(bfclr_mem, TCG_CALL_NO_WG, i32, env, i32, s32, i32)
    120DEF_HELPER_FLAGS_4(bfset_mem, TCG_CALL_NO_WG, i32, env, i32, s32, i32)
    121DEF_HELPER_FLAGS_4(bfffo_mem, TCG_CALL_NO_WG, i64, env, i32, s32, i32)
    122
    123DEF_HELPER_3(chk, void, env, s32, s32)
    124DEF_HELPER_4(chk2, void, env, s32, s32, s32)
    125
    126#if defined(CONFIG_SOFTMMU)
    127DEF_HELPER_3(ptest, void, env, i32, i32)
    128DEF_HELPER_3(pflush, void, env, i32, i32)
    129DEF_HELPER_FLAGS_1(reset, TCG_CALL_NO_RWG, void, env)
    130#endif