On 12/18/2013 12:49 PM, Tom Musta wrote:
> +static void gen_ftsqrt(DisasContext *ctx)
> +{
> +TCGv_i32 bf;
> +if (unlikely(!ctx->fpu_enabled)) {
> +gen_exception(ctx, POWERPC_EXCP_FPU);
> +return;
> +}
> +/* NIP cannot be restored if the memory exception comes from a
This patch adds the Floating Point Test for Square Root instruction
which was introduced in Power ISA 2.06.
Signed-off-by: Tom Musta
---
target-ppc/fpu_helper.c | 31 +++
target-ppc/helper.h |1 +
target-ppc/translate.c | 14 ++
3 files change