From a19227acd943f7238ceb940a0fbe065d1203632f Mon Sep 17 00:00:00 2001 From: Denis Drakhnya Date: Wed, 9 Dec 2020 10:58:53 +0200 Subject: [PATCH] target: e2k: Log msg if wd.fx is setted. --- target/e2k/helper.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/target/e2k/helper.c b/target/e2k/helper.c index 401b515207..deef8a9fda 100644 --- a/target/e2k/helper.c +++ b/target/e2k/helper.c @@ -315,6 +315,11 @@ void helper_setwd(CPUE2KState *env, uint32_t lts) env->wd.size = extract32(lts, 5, 7) * 2; env->wd.fx = extract32(lts, 4, 1) == 0; + if (env->wd.fx) { + qemu_log_mask(LOG_UNIMP, "0x%lx: wd.fx is not implemented!\n", + env->ip); + } + if (env->version >= 3) { bool dbl = extract32(lts, 3, 1); // TODO: set dbl