From 47e7e4addea712cb536ec8f1c86fd176b25ce47c Mon Sep 17 00:00:00 2001 From: Stanislav Shwartsman Date: Fri, 18 Jul 2014 16:01:11 +0000 Subject: [PATCH] bugfix in VFPCLASSPD implementation --- bochs/cpu/avx512_pfp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bochs/cpu/avx512_pfp.cc b/bochs/cpu/avx512_pfp.cc index 41da845e5..5886782bd 100644 --- a/bochs/cpu/avx512_pfp.cc +++ b/bochs/cpu/avx512_pfp.cc @@ -794,7 +794,7 @@ BX_INSF_TYPE BX_CPP_AttrRegparmN(1) BX_CPU_C::VFPCLASSPD_MASK_KGbWpdIbR(bxInstru for (unsigned n=0, mask = 0x1; n < num_elements; n++, mask <<= 1) { if (opmask & mask) { - if (float64_fpclass(op.vmm32u(n), selector, daz)) result |= mask; + if (float64_fpclass(op.vmm64u(n), selector, daz)) result |= mask; } }