rename tGPRi as tBMIi according to latest intel manual

This commit is contained in:
MITSUNARI Shigeo 2013-08-24 06:33:53 +09:00
parent 0ec12db3f1
commit 756c8fa335
2 changed files with 6 additions and 4 deletions

View file

@ -44,8 +44,8 @@ void putCPUinfo()
{ Cpu::tAVX, "avx" },
{ Cpu::tFMA, "fma" },
{ Cpu::tAVX2, "avx2" },
{ Cpu::tGPR1, "gpr-group1" },
{ Cpu::tGPR2, "gpr-group2" },
{ Cpu::tBMI1, "bmi1" },
{ Cpu::tBMI2, "bmi2" },
{ Cpu::tLZCNT, "lzcnt" },
};
for (size_t i = 0; i < NUM_OF_ARRAY(tbl); i++) {

View file

@ -148,8 +148,10 @@ public:
tSSE4a = 1 << 18,
tRDTSCP = 1 << 19,
tAVX2 = 1 << 20,
tGPR1 = 1 << 21, // andn, bextr, blsi, blsmsk, blsr, tzcnt
tGPR2 = 1 << 22, // bzhi, mulx, pdep, pext, rorx, sarx, shlx, shrx
tBMI1 = 1 << 21, // andn, bextr, blsi, blsmsk, blsr, tzcnt
tBMI2 = 1 << 22, // bzhi, mulx, pdep, pext, rorx, sarx, shlx, shrx
tGPR1 = tBMI1, // backward compatibility
tGPR2 = tBMI2, // backward compatibility
tLZCNT = 1 << 23,
tINTEL = 1 << 24,