[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] if (0 == 1) { some_code(); }
From: |
Sergey Korshunoff |
Subject: |
[Tinycc-devel] if (0 == 1) { some_code(); } |
Date: |
Sun, 24 Apr 2016 08:54:10 +0300 |
Hi!
Currently the code
/*emum for clustered_apic_mode values*/
enum{
CLUSTERED_APIC_NONE = 0,
CLUSTERED_APIC_XAPIC,
CLUSTERED_APIC_NUMAQ
};
/* pick a single cpu for clustered xapics */
if((CLUSTERED_APIC_NONE) == CLUSTERED_APIC_XAPIC){
int cpu = ffs(mask)-1;
mask = cpu_2_physical_apicid[cpu];
}
generate code for the false branch. As I remember, there was work to skip this.
Why it is not work for the above?
- [Tinycc-devel] if (0 == 1) { some_code(); },
Sergey Korshunoff <=