From 6a4fda3358ca5a21e17d553074f74d512745c4f6 Mon Sep 17 00:00:00 2001 From: Tom Musta Date: Tue, 7 Jan 2014 10:05:53 -0600 Subject: target-ppc: Add ISA 2.06 divweu[o] Instructions This patch addes the Unsigned Divide Word Extended instructions which were introduced in Power ISA 2.06B. Signed-off-by: Tom Musta Reviewed-by: Richard Henderson Signed-off-by: Alexander Graf --- target-ppc/helper.h | 1 + 1 file changed, 1 insertion(+) (limited to 'target-ppc/helper.h') diff --git a/target-ppc/helper.h b/target-ppc/helper.h index a09a6181b4..52e49f1f0e 100644 --- a/target-ppc/helper.h +++ b/target-ppc/helper.h @@ -34,6 +34,7 @@ DEF_HELPER_3(mulldo, i64, env, i64, i64) DEF_HELPER_4(divdeu, i64, env, i64, i64, i32) DEF_HELPER_4(divde, i64, env, i64, i64, i32) #endif +DEF_HELPER_4(divweu, tl, env, tl, tl, i32) DEF_HELPER_FLAGS_1(cntlzw, TCG_CALL_NO_RWG_SE, tl, tl) DEF_HELPER_FLAGS_1(popcntb, TCG_CALL_NO_RWG_SE, tl, tl) -- cgit v1.2.3