mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-15 09:33:39 +00:00
Sort the cpu and features table, so that the alpha backend doesn't fail EVERY
compile with an assertion that the tables are not sorted! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23591 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a3638c0f1f
commit
080a4b1637
@ -30,8 +30,8 @@ static const SubtargetFeatureKV AlphaSubTypeKV[] = {
|
|||||||
{ "ev56" , "Select the Alpha EV56 processor", 0 },
|
{ "ev56" , "Select the Alpha EV56 processor", 0 },
|
||||||
{ "ev6" , "Select the Alpha EV6 processor", AlphaFeatureFIX },
|
{ "ev6" , "Select the Alpha EV6 processor", AlphaFeatureFIX },
|
||||||
{ "ev67" , "Select the Alpha EV67 processor", AlphaFeatureFIX | AlphaFeatureCIX },
|
{ "ev67" , "Select the Alpha EV67 processor", AlphaFeatureFIX | AlphaFeatureCIX },
|
||||||
|
{ "generic", "Select instructions for a generic Alpha processor (EV56)", 0 },
|
||||||
{ "pca56" , "Select the Alpha PCA56 processor", 0 },
|
{ "pca56" , "Select the Alpha PCA56 processor", 0 },
|
||||||
{ "generic", "Select instructions for a generic Alpha processor (EV56)", 0 }
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/// Length of AlphaSubTypeKV.
|
/// Length of AlphaSubTypeKV.
|
||||||
@ -40,8 +40,8 @@ static const unsigned AlphaSubTypeKVSize = sizeof(AlphaSubTypeKV)
|
|||||||
|
|
||||||
/// Sorted (by key) array of values for CPU features.
|
/// Sorted (by key) array of values for CPU features.
|
||||||
static SubtargetFeatureKV AlphaFeatureKV[] = {
|
static SubtargetFeatureKV AlphaFeatureKV[] = {
|
||||||
|
{ "CIX", "Should CIX extentions be used" , AlphaFeatureCIX },
|
||||||
{ "FIX" , "Should FIX extentions be used" , AlphaFeatureFIX },
|
{ "FIX" , "Should FIX extentions be used" , AlphaFeatureFIX },
|
||||||
{ "CIX", "Should CIX extentions be used" , AlphaFeatureCIX }
|
|
||||||
};
|
};
|
||||||
/// Length of AlphaFeatureKV.
|
/// Length of AlphaFeatureKV.
|
||||||
static const unsigned AlphaFeatureKVSize = sizeof(AlphaFeatureKV)
|
static const unsigned AlphaFeatureKVSize = sizeof(AlphaFeatureKV)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user