]> xenbits.xensource.com Git - qemu-xen.git/commit
target/i386: Correct implementation for FCS, FIP, FDS and FDP
authorZiqiao Kong <ziqiaokong@gmail.com>
Sun, 30 May 2021 15:01:14 +0000 (23:01 +0800)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 13 Jul 2021 15:13:19 +0000 (08:13 -0700)
commit84abdd7d271c2df69a9d394be093efd885da7a4c
tree1e852ab71fde9fd8bb38c7e4c72ff839831b25ef
parentbbdda9b74f289328e9ee7be28bb472350dc84028
target/i386: Correct implementation for FCS, FIP, FDS and FDP

Update FCS:FIP and FDS:FDP according to the Intel Manual Vol.1 8.1.8.
Note that CPUID.(EAX=07H,ECX=0H):EBX[bit 13] is not implemented by
design in this patch and will be added along with TCG features flag
in a separate patch later.

Signed-off-by: Ziqiao Kong <ziqiaokong@gmail.com>
Message-Id: <20210530150112.74411-2-ziqiaokong@gmail.com>
[rth: Push FDS/FDP handling down into mod != 3 case; free last_addr.]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/i386/cpu.h
target/i386/tcg/fpu_helper.c
target/i386/tcg/translate.c