target: e2k: Log msg if wd.fx is setted.

This commit is contained in:
Denis Drakhnia 2020-12-09 10:58:53 +02:00 committed by Alibek Omarov
parent 80fb7750f9
commit dba6891e25
1 changed files with 5 additions and 0 deletions

View File

@ -322,6 +322,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