Home | History | Annotate | Download | only in tests

Lines Matching full:feature

17 // - 0 if the machine provides the asked-for feature and the cpu
19 // - 1 the machine does not provide the asked-for feature or the
22 // - 2 if the asked-for feature isn't recognised (this will be the case for
23 // any feature if run on a non-s390x machine).
28 // s390x_features <feature> [<machine-model>]
200 static int go(char *feature, char *cpu)
209 if (strcmp(feature, "s390x-zarch") == 0 ) {
211 } else if (strcmp(feature, "s390x-n3") == 0 ) {
213 } else if (strcmp(feature, "s390x-stfle") == 0 ) {
215 } else if (strcmp(feature, "s390x-ldisp") == 0 ) {
217 } else if (strcmp(feature, "s390x-eimm") == 0 ) {
219 } else if (strcmp(feature, "s390x-stckf") == 0 ) {
221 } else if (strcmp(feature, "s390x-genins") == 0 ) {
223 } else if (strcmp(feature, "s390x-exrl") == 0 ) {
225 } else if (strcmp(feature, "s390x-etf3") == 0 ) {
227 } else if (strcmp(feature, "s390x-fpext") == 0 ) {
229 } else if (strcmp(feature, "s390x-dfp") == 0 ) {
231 } else if (strcmp(feature, "s390x-pfpo") == 0 ) {
234 return 2; // Unrecognised feature.
292 static int go(char *feature, char *cpu)
294 return 2; // Feature not recognised (non-s390x machine!)
308 fprintf( stderr, "usage: s390x_features <feature> [<machine-model>]\n" );