Changeset 4004
- Timestamp:
- 10/13/08 11:32:36 (1 month ago)
- Files:
-
- trunk/tango/math/internal/Cache.d (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/tango/math/internal/Cache.d
r3999 r4004 172 172 bool preferPentium1() { return family < 6 || (family==6 && !probablyIntel); } 173 173 174 private:175 174 public: 176 175 /// Processor type (vendor-dependent). … … 178 177 uint stepping, model, family; 179 178 uint numCacheLevels = 1; 180 private:179 private: 181 180 bool probablyIntel; // true = _probably_ an Intel processor, might be faking 182 181 bool probablyAMD; // true = _probably_ an AMD processor … … 269 268 } 270 269 271 version(D_InlineAsm_X86) { 270 version(GNU) { 271 // GDC is a filthy liar. It can't actually do inline asm. 272 } else version(D_InlineAsm_X86) { 272 273 // Note that this code will also work for Itanium, after changing the 273 274 // register names in the asm code.












