On 07/21/13 14:37, Jiri Denemark wrote:
Until now CPU features inherited from a specified CPU model could
only
be overridden with 'disable' policy. With this patch, any explicitly
specified feature always overrides the same feature inherited from a CPU
model regardless on the specified policy.
The CPU in x86-exact-force-Haswell.xml would previously be incompatible
with x86-host-SandyBridge.xml CPU even though x86-host-SandyBridge.xml
provides all features required by x86-exact-force-Haswell.xml.
---
src/cpu/cpu_x86.c | 5 +++++
tests/cputest.c | 1 +
tests/cputestdata/x86-exact-force-Haswell.xml | 15 +++++++++++++++
tests/cputestdata/x86-host-SandyBridge.xml | 6 ++++++
4 files changed, 27 insertions(+)
create mode 100644 tests/cputestdata/x86-exact-force-Haswell.xml
create mode 100644 tests/cputestdata/x86-host-SandyBridge.xml
ACK.
Peter