qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

target-alpha: Use ctpop helper

Signed-off-by: Richard Henderson <rth@twiddle.net>

+1 -8
-2
target/alpha/helper.h
··· 3 3 4 4 DEF_HELPER_FLAGS_3(check_overflow, TCG_CALL_NO_WG, void, env, i64, i64) 5 5 6 - DEF_HELPER_FLAGS_1(ctpop, TCG_CALL_NO_RWG_SE, i64, i64) 7 - 8 6 DEF_HELPER_FLAGS_2(zap, TCG_CALL_NO_RWG_SE, i64, i64, i64) 9 7 DEF_HELPER_FLAGS_2(zapnot, TCG_CALL_NO_RWG_SE, i64, i64, i64) 10 8
-5
target/alpha/int_helper.c
··· 24 24 #include "qemu/host-utils.h" 25 25 26 26 27 - uint64_t helper_ctpop(uint64_t arg) 28 - { 29 - return ctpop64(arg); 30 - } 31 - 32 27 uint64_t helper_zapnot(uint64_t val, uint64_t mskb) 33 28 { 34 29 uint64_t mask;
+1 -1
target/alpha/translate.c
··· 2541 2541 REQUIRE_TB_FLAG(TB_FLAGS_AMASK_CIX); 2542 2542 REQUIRE_REG_31(ra); 2543 2543 REQUIRE_NO_LIT; 2544 - gen_helper_ctpop(vc, vb); 2544 + tcg_gen_ctpop_i64(vc, vb); 2545 2545 break; 2546 2546 case 0x31: 2547 2547 /* PERR */