[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/3] [x86] Clean up vendor identification
From: |
Paul Brook |
Subject: |
Re: [Qemu-devel] [PATCH 1/3] [x86] Clean up vendor identification |
Date: |
Mon, 11 Aug 2008 14:04:32 +0100 |
User-agent: |
KMail/1.9.9 |
> > +#define CPUID_VENDOR_AMD_3 0x444d4163 /* "cAMD" */
>
> if you add "-Wno-multichar" in C flags, you can use:
>
> #define CPUID_VENDOR_INTEL_1 'Genu'
I recommend against doing this. The meaning of multi-character constants is
implementation defined, and the gcc definition has changed at least once.
Paul
Re: [Qemu-devel] [PATCH 1/3] [x86] Clean up vendor identification,
Paul Brook <=
Re: [Qemu-devel] [PATCH 1/3] [x86] Clean up vendor identification, M. Warner Losh, 2008/08/11