From 0592f74a75ab695efd48a151219667adc0fa7cc4 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 23 Jan 2013 18:09:43 -0800 Subject: target-i386: Implement PDEP, PEXT Signed-off-by: Richard Henderson --- target-i386/helper.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'target-i386/helper.h') diff --git a/target-i386/helper.h b/target-i386/helper.h index d750754742..81e0fbdd6d 100644 --- a/target-i386/helper.h +++ b/target-i386/helper.h @@ -194,9 +194,12 @@ DEF_HELPER_3(fsave, void, env, tl, int) DEF_HELPER_3(frstor, void, env, tl, int) DEF_HELPER_3(fxsave, void, env, tl, int) DEF_HELPER_3(fxrstor, void, env, tl, int) + DEF_HELPER_1(bsf, tl, tl) DEF_HELPER_1(bsr, tl, tl) DEF_HELPER_2(lzcnt, tl, tl, int) +DEF_HELPER_FLAGS_2(pdep, TCG_CALL_NO_RWG_SE, tl, tl, tl) +DEF_HELPER_FLAGS_2(pext, TCG_CALL_NO_RWG_SE, tl, tl, tl) /* MMX/SSE */ -- cgit v1.2.3