Re: [Qemu-devel] [PATCH] i386: Use #defines instead of magic numbers for CPUID cache information

2013-08-26 Thread li guang
在 2013-08-26一的 19:23 -0300,Eduardo Habkost写道: > This is an attempt to make the CPUID cache topology code clearer, by > replacing the magic numbers in the code with #defines, and moving all > the cache information to the same place in the file. > > I took care of comparing the assembly output of co

[Qemu-devel] [PATCH] i386: Use #defines instead of magic numbers for CPUID cache information

2013-08-26 Thread Eduardo Habkost
This is an attempt to make the CPUID cache topology code clearer, by replacing the magic numbers in the code with #defines, and moving all the cache information to the same place in the file. I took care of comparing the assembly output of compiling target-i386/cpu.c before and after applying this

[Qemu-devel] [PATCH] i386: use #defines instead of magic numbers for CPUID cache information

2012-06-28 Thread Eduardo Habkost
This is an attempt to make the CPUID cache topology code clearer, by replacing the magic number in the code with #defines, and moving all the cache information to the same place in the file. I took care of comparing the disassembled target-i386/cpu.o code before and after applying this change, to