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 (4139B)


      1DEF_HELPER_2(exception, noreturn, env, i32)
      2DEF_HELPER_3(exception_cause, noreturn, env, i32, i32)
      3DEF_HELPER_4(exception_cause_vaddr, noreturn, env, i32, i32, i32)
      4DEF_HELPER_3(debug_exception, noreturn, env, i32, i32)
      5
      6DEF_HELPER_1(sync_windowbase, void, env)
      7DEF_HELPER_4(entry, void, env, i32, i32, i32)
      8DEF_HELPER_2(test_ill_retw, void, env, i32)
      9DEF_HELPER_2(test_underflow_retw, void, env, i32)
     10DEF_HELPER_2(retw, void, env, i32)
     11DEF_HELPER_3(window_check, noreturn, env, i32, i32)
     12DEF_HELPER_1(restore_owb, void, env)
     13DEF_HELPER_2(movsp, void, env, i32)
     14#ifndef CONFIG_USER_ONLY
     15DEF_HELPER_1(simcall, void, env)
     16#endif
     17
     18#ifndef CONFIG_USER_ONLY
     19DEF_HELPER_3(waiti, void, env, i32, i32)
     20DEF_HELPER_1(update_ccount, void, env)
     21DEF_HELPER_2(wsr_ccount, void, env, i32)
     22DEF_HELPER_2(update_ccompare, void, env, i32)
     23DEF_HELPER_1(check_interrupts, void, env)
     24DEF_HELPER_2(intset, void, env, i32)
     25DEF_HELPER_2(intclear, void, env, i32)
     26DEF_HELPER_3(check_atomctl, void, env, i32, i32)
     27DEF_HELPER_4(check_exclusive, void, env, i32, i32, i32)
     28DEF_HELPER_2(wsr_memctl, void, env, i32)
     29
     30DEF_HELPER_2(itlb_hit_test, void, env, i32)
     31DEF_HELPER_2(wsr_rasid, void, env, i32)
     32DEF_HELPER_FLAGS_3(rtlb0, TCG_CALL_NO_RWG_SE, i32, env, i32, i32)
     33DEF_HELPER_FLAGS_3(rtlb1, TCG_CALL_NO_RWG_SE, i32, env, i32, i32)
     34DEF_HELPER_3(itlb, void, env, i32, i32)
     35DEF_HELPER_3(ptlb, i32, env, i32, i32)
     36DEF_HELPER_4(wtlb, void, env, i32, i32, i32)
     37DEF_HELPER_2(wsr_mpuenb, void, env, i32)
     38DEF_HELPER_3(wptlb, void, env, i32, i32)
     39DEF_HELPER_FLAGS_2(rptlb0, TCG_CALL_NO_RWG_SE, i32, env, i32)
     40DEF_HELPER_FLAGS_2(rptlb1, TCG_CALL_NO_RWG_SE, i32, env, i32)
     41DEF_HELPER_2(pptlb, i32, env, i32)
     42
     43DEF_HELPER_2(wsr_ibreakenable, void, env, i32)
     44DEF_HELPER_3(wsr_ibreaka, void, env, i32, i32)
     45DEF_HELPER_3(wsr_dbreaka, void, env, i32, i32)
     46DEF_HELPER_3(wsr_dbreakc, void, env, i32, i32)
     47#endif
     48
     49DEF_HELPER_2(wur_fpu2k_fcr, void, env, i32)
     50DEF_HELPER_FLAGS_1(abs_s, TCG_CALL_NO_RWG_SE, f32, f32)
     51DEF_HELPER_FLAGS_1(neg_s, TCG_CALL_NO_RWG_SE, f32, f32)
     52DEF_HELPER_3(fpu2k_add_s, f32, env, f32, f32)
     53DEF_HELPER_3(fpu2k_sub_s, f32, env, f32, f32)
     54DEF_HELPER_3(fpu2k_mul_s, f32, env, f32, f32)
     55DEF_HELPER_4(fpu2k_madd_s, f32, env, f32, f32, f32)
     56DEF_HELPER_4(fpu2k_msub_s, f32, env, f32, f32, f32)
     57DEF_HELPER_4(ftoi_s, i32, env, f32, i32, i32)
     58DEF_HELPER_4(ftoui_s, i32, env, f32, i32, i32)
     59DEF_HELPER_3(itof_s, f32, env, i32, i32)
     60DEF_HELPER_3(uitof_s, f32, env, i32, i32)
     61DEF_HELPER_2(cvtd_s, f64, env, f32)
     62
     63DEF_HELPER_3(un_s,  i32, env, f32, f32)
     64DEF_HELPER_3(oeq_s, i32, env, f32, f32)
     65DEF_HELPER_3(ueq_s, i32, env, f32, f32)
     66DEF_HELPER_3(olt_s, i32, env, f32, f32)
     67DEF_HELPER_3(ult_s, i32, env, f32, f32)
     68DEF_HELPER_3(ole_s, i32, env, f32, f32)
     69DEF_HELPER_3(ule_s, i32, env, f32, f32)
     70
     71DEF_HELPER_2(wur_fpu_fcr, void, env, i32)
     72DEF_HELPER_1(rur_fpu_fsr, i32, env)
     73DEF_HELPER_2(wur_fpu_fsr, void, env, i32)
     74DEF_HELPER_FLAGS_1(abs_d, TCG_CALL_NO_RWG_SE, f64, f64)
     75DEF_HELPER_FLAGS_1(neg_d, TCG_CALL_NO_RWG_SE, f64, f64)
     76DEF_HELPER_3(add_d, f64, env, f64, f64)
     77DEF_HELPER_3(add_s, f32, env, f32, f32)
     78DEF_HELPER_3(sub_d, f64, env, f64, f64)
     79DEF_HELPER_3(sub_s, f32, env, f32, f32)
     80DEF_HELPER_3(mul_d, f64, env, f64, f64)
     81DEF_HELPER_3(mul_s, f32, env, f32, f32)
     82DEF_HELPER_4(madd_d, f64, env, f64, f64, f64)
     83DEF_HELPER_4(madd_s, f32, env, f32, f32, f32)
     84DEF_HELPER_4(msub_d, f64, env, f64, f64, f64)
     85DEF_HELPER_4(msub_s, f32, env, f32, f32, f32)
     86DEF_HELPER_3(mkdadj_d, f64, env, f64, f64)
     87DEF_HELPER_3(mkdadj_s, f32, env, f32, f32)
     88DEF_HELPER_2(mksadj_d, f64, env, f64)
     89DEF_HELPER_2(mksadj_s, f32, env, f32)
     90DEF_HELPER_4(ftoi_d, i32, env, f64, i32, i32)
     91DEF_HELPER_4(ftoui_d, i32, env, f64, i32, i32)
     92DEF_HELPER_3(itof_d, f64, env, i32, i32)
     93DEF_HELPER_3(uitof_d, f64, env, i32, i32)
     94DEF_HELPER_2(cvts_d, f32, env, f64)
     95
     96DEF_HELPER_3(un_d,  i32, env, f64, f64)
     97DEF_HELPER_3(oeq_d, i32, env, f64, f64)
     98DEF_HELPER_3(ueq_d, i32, env, f64, f64)
     99DEF_HELPER_3(olt_d, i32, env, f64, f64)
    100DEF_HELPER_3(ult_d, i32, env, f64, f64)
    101DEF_HELPER_3(ole_d, i32, env, f64, f64)
    102DEF_HELPER_3(ule_d, i32, env, f64, f64)
    103
    104DEF_HELPER_2(rer, i32, env, i32)
    105DEF_HELPER_3(wer, void, env, i32, i32)